[Rails] rubyonrails w/ amrita

Tobias Luetke tobias.luetke at gmail.com
Wed Oct 13 17:30:15 GMT 2004


> 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:

Well well, while i respect your preference for another templating
engine I would like to point out
that you are trying to seperate your view from your application with a
straw as datapipe. I'm pretty sure
most web programmers have been in the situation where they discovered
that they separated things so
much that it was inconvenient.

Ruby is the best scripting language out there, with erb you can use it
inline in templates. This is equivalent with what the best dedicated
template engine will offer you: total control over your data.

I suggest you to give erb a try. If you don't like the way tags are
opened you can change this to whatever style you see fit.

I'm programming an e-commerce site in ruby on rails and there isn't a
single rhtml template file which has
a erb statement longer than one line. Just in case you think that
using erb leads to programming in the templates.


More information about the Rails mailing list