[Rails] rubyonrails w/ amrita
Corey
corey_s at qwest.net
Wed Oct 13 05:15:50 GMT 2004
On Wednesday 13 October 2004 01:32 am, David Heinemeier Hansson wrote:
> > What I'm wondering is whether rubyonrails could be used with amrita
> > ( http://amrita.sourceforge.jp/index.html ) instead?
<snip>
> 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.
<snip>
Hey, this is pretty killer! I checked out his blog for more info and was very
impressed.
I'd be more than satisfied w/ Builder as opposed to erb - so when is this
next version of rails gonna be released?
> 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.
>
As I begin to feel more comfortable using ruby, and rails - I'll look into
this; I think it would be valid alternative, as I have to imagine there are
at least a few instances where amrita's clear separation of logic from
presentation would be beneficial. Plus, it would make a complete
collection of templating options:
erb - inline/embedded ruby
builder - purely programmatic
amrita - purel x/html templates w/ separate data model
Cheers,
Corey
--
"A man is none the less a slave because he is allowed to choose a new
master once in a term of years."
- Lysander Spooner,
'No Treason. No. VI, The Constitution of No Authority'
More information about the Rails
mailing list