[Nitro] [PATCH] Patch bundle, many psql and tc fixes

Fabian Buch fabian at fabian-buch.de
Wed Oct 4 08:09:43 EDT 2006

Am 04.10.2006 um 10:59 schrieb George Moschovitis:
> - can you please explain to me where is local_net? useful?

Manveru uses this on his business homepage app. Users behind his  
local network (intranet) have more rights; not by logging in, but  
only by noticing it's comming from inside his network they can see  
and edit more than the usual visitor.

This method doesn't hurt and it's easy to use for cases like above.

> Btw, we must find a way to add non-essential/extra functionality to
> nitro. Something similar to Rails plugins. I do not think it is the
> right thing that we  include stuff like the navbar helper to the main
> distribution. Anyone has any ideas how we can achive this?

Parts could be used for this. Parts are till now mainly used for  
whole nitro apps to plug in, but could also be used for pure helper  
For example with my new auth part or localization part (bot not yet  
released, but will as open source soon) I include appropriate helpers.
For helper-only Parts, just don't define a Nitro::Server.map and by  
requiring this part its helper can be used just like other helpers.  
Navbar could be put into such a helper. I can take care of this after  
I finished some of the above parts, so you can leave it out of the  
Nitro main distro.

I think this navbar came through Riffraffs Google Summer of Code  
stuff which has more of such goodies that could be turned into Parts  
and don't have to go into the Nitro main distribution.


Nitro Q&A: http://oxyliquit.de/
Blog: http://blog.fabian-buch.de

More information about the Nitro-general mailing list