|
Re: Camping 1.6 (was Re: Newline problem): msg#00033lang.ruby.camping.general
I'd like to see the logic in the camping server wrapped into a class. This would allow other uses. Right now, there is no easy way to pass in database, url, and port parameters. It would be helpful to have an API like: require 'camping/server' db = { 'host' => 'localhost, 'username' => 'camping', 'password' => 'foo', 'db' => 'mysql_camping', .... } myserver = Camping::Server.new('localhost', 3301, db) myserver.run # boots the server and returns when the sever dies I wrote a rake task to launch camping apps using a Rails config file, and I had to duplicate virtually all the code in the camping server. I'm happy to write this patch, but I won't have time until later this week. What's the timeline for 1.6? -M On 11/26/06, why the lucky stiff <why-INVRFxB3SCbTr1N2uX3BwuTW4wlIGRCZ@xxxxxxxxxxxxxxxx> wrote: > On Sat, Nov 25, 2006 at 02:01:55PM +0100, Manfred Stienstra wrote: > > I think this problem was solved just after Camping 1.5 was released. > > That's true, this little problem bothered me a lot and maybe it's time for > 1.6. > Our milestones: are loading apps straight from a Gem and daemon mode[1]. > > Anything else? > > _why > > [1] http://code.whytheluckystiff.net/camping/roadmap > _______________________________________________ > Camping-list mailing list > Camping-list-GrnCvJ7WPxnNLxjTenLetw@xxxxxxxxxxxxxxxx > http://rubyforge.org/mailman/listinfo/camping-list >
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Camping 1.6 (was Re: Newline problem), why the lucky stiff |
|---|---|
| Next by Date: | Re: Camping 1.6 (was Re: Newline problem), why the lucky stiff |
| Previous by Thread: | Camping 1.6 (was Re: Newline problem), why the lucky stiff |
| Next by Thread: | Re: Camping 1.6 (was Re: Newline problem), why the lucky stiff |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |