|
Re: Camping 1.6 (was Re: Newline problem): msg#00034lang.ruby.camping.general
On Mon, Nov 27, 2006 at 08:20:00AM -0600, Mark Fredrickson wrote: > 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 That's a brilliant idea. Thankyou and there's no rush, just: whenever. _why
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Camping 1.6 (was Re: Newline problem), Mark Fredrickson |
|---|---|
| Next by Date: | R() in controllers, Paul van Tilburg |
| Previous by Thread: | Re: Camping 1.6 (was Re: Newline problem), Mark Fredrickson |
| Next by Thread: | R() in controllers, Paul van Tilburg |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |