[Rails] rubyonrails w/ amrita

David Heinemeier Hansson david at loudthinking.com
Wed Oct 13 08:32:21 GMT 2004


> What I'm wondering is whether rubyonrails could be used with amrita
> ( http://amrita.sourceforge.jp/index.html ) instead?  Is this a 
> no-brainer, or
> would I have to put some effort into it?  Would it be 
> possible/reasonable
> to request that rails support amrita as an alternative templating 
> engine?

There are no plans to support Amrita-style templates, but a new 
template-style will be introduced in the next version based on Jim 
Weirich's Builder class. This will allow you to programatically 
generate views. Especially useful for RSS, but also useful for regular 
views in a programmer-driven design.

See more on: http://www.codepaste.org/view/paste/263

P.S.: If anyone would like to examine what it takes to get Amrita 
templates in Rails, by all means do. Personally, I find that model 
quite unappealing and the extra indirection certainly does make it 
harder to fit into Rails than it was with Builder. But with enough 
effort, I am sure it could be done.
--
David Heinemeier Hansson,
http://www.rubyonrails.org/  -- Web-application framework for Ruby
http://www.instiki.org/      -- A No-Step-Three Wiki in Ruby
http://macromates.com/       -- TextMate: Code and markup editor for OS 
X
http://www.basecamphq.com/   -- Web-based Project Management
http://www.loudthinking.com/ -- Broadcasting Brain
http://www.nextangle.com/    -- Development & Consulting Services



More information about the Rails mailing list