in reply to Re^3: RFC - Template::Empty
in thread RFC - Template::Empty
In TT and Template::Alloy - you can call into perl to manipulate your data - but the language has enough flexibility that you don't have to.In terms of separation of concerns where do you think data manipulation should be done:
In Seamstress, the answer is clear and my code backs it up. Data manipulation, in any way shape or form belongs in the MODEL
your comments about sticking template code in the database almost gave me a heart attack.. What you call "flexibility" I call "confusion of concerns
Taking a presentation tool and involving it in data manipulation... it is bound to fall short. At one point, TT was released and didnt even have numeric comparison... essential for data manipulation.
| I have beheld the tarball of 22.1 on ftp.gnu.org with my own eyes. How can you say that there is no God in the Church of Emacs? -- David Kastrup |
|
| Enforce strict model-view separation in template engines via HTML::Seamstress | The car is in the cdr, not the cdr in the car |
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: can you say separation of concerns? probably not :)
by Rhandom (Curate) on Feb 25, 2008 at 22:05 UTC |