[Nitro] gen and parts

James Britt james.britt at gmail.com
Mon Aug 7 09:47:10 EDT 2006


Jonathan Buch wrote:
> Hi,
> 
> 
>>If not I'm thinking of implementing it myself, since I want parts
>>with a public/ dir and this would've to be copied into the main apps
>>public/ dir.
> 
> 
> Wouldn't it make more sense,  just to use a common path for parts?
> I mean, parts aren't there to get modified (normally) by the standard  
> user.  Using parts would just work like `require 'parts/CMS'`, so there is  
> actually no real need to copy anything.

If my part has some HTML files in parts/public/, will they been seen by 
Nitro and/or the front-end Web server?  Likewise for any images or 
javascript that would be in subdirectories of public/.

-- 
James Britt



More information about the Nitro-general mailing list