in reply to Why a mini-language? (was Re^3: RFC: Templating without a System)
in thread RFC: Templating without a System
So, while a mini-language may not make sense for you, it makes a great deal of sense in these shops.
Ack, thanks for pointing that out. There are also those shops in which they don't want to know or do anything beyond the design and layout, and consider inserting loops or conditionals or even variable templates as being "not their job".
Also, I find that having a mini-language keeps me honest about MVC. About the time it starts getting hard to write in TT, I realize that I'm actually writing control or model code, and that code belongs away from the view code. So, I rip that out and put it in Perl or SQL where it belongs.
Then you are using the restrictions of the mini-language to discipline yourself? It's a good thing to put up fences which thou shalt not pass, but it's better to have them "inside".
I love perl particularly for what is said in the perlmodlib manpage note at the end: "It would prefer that you stayed out of its living room because you weren't invited, not because it has a shotgun."
greets,
--shmem
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Why a mini-language? (was Re^3: RFC: Templating without a System)
by merlyn (Sage) on Jul 01, 2006 at 15:16 UTC | |
by shmem (Chancellor) on Jul 01, 2006 at 23:38 UTC |