[Nitro] Singletons

George Moschovitis george.moschovitis at gmail.com
Sun Feb 4 07:17:01 EST 2007

Dear devs,

I am considering making some Nitro::Server and Nitro::Dispatcher singletons.
Plus try to remove extraneous refs to these classes from all over the place
(I will probably only keep the refs from Context). For example I will remove
Dispatcher#server. This will simplify the code plus give you easy access to
the Dispatcher and Server from everywhere. (kind of like Context.current etc
is very helpful to access the context from your methods).

any comments?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/nitro-general/attachments/20070204/73445002/attachment.html 

More information about the Nitro-general mailing list