[Nitro] Nitro templating question

James Britt james_b at neurogami.com
Fri Jan 6 23:03:33 EST 2006


Bryan Soto wrote:
> I think the closest thing to Rails layouts would be the Page tag. The 
> best place to take a look at it might be in the skin.rb file in src 
> subdirectories of flare or spark. Even a gen app xxx will create one, so 
> you can take a look at it in the nitro/proto directory.


What I've found in skin.rb is a bunch of disconnected HTML embedded as 
raw strings in Ruby code.  For anything but the most trivial page layout 
that is a nightmare to design and maintain.



James
-- 

http://www.ruby-doc.org       - Ruby Help & Documentation
http://www.artima.com/rubycs/ - Ruby Code & Style: Writers wanted
http://www.rubystuff.com      - The Ruby Store for Ruby Stuff
http://www.jamesbritt.com     - Playing with Better Toys
http://www.30secondrule.com   - Building Better Tools



More information about the Nitro-general mailing list