|
Favourite Nodes
And the wrath of /TOPIC descended with terrible fury upon dpkg. And all the people marveled, saying, Behold, we too should read the /TOPIC, lest we be stricken. And all the people read the /TOPIC, and went away edified.
Favourite Websites
- My tech website
- This is the home of my various technical excursions
- My personal website
- Like Jekyll and Hyde, here's my other side
Kool Kwotes
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 |
HTML::Seamstress talk ideas
- Preserving the data munging paradigm for HTML with HTML::Seamstress
- You like objects for your model, objects for your controller... so your view?
- Higher Order Templating with HTML::Seamstress
- HTML::Seamstress - The strongest separation index for HTML Templating
never point the finger at tt
- HTML Template Entanglement - undisciplined usage of tt
- headache after headache after headache - minilanguage features galore to learn. no thank you.
- this does not look like fun to me... all those headaches for recursive display.
- nice job you just split your business logic between Perl and a 'presentation language'
cut n paste
I have to say this a lot, so I put it here for easy cut n paste:You might consider separating your business logic from your presentation code a bit more. You are doing things with Template that probably should be done in Perl. The paper Enforcing Strict Model-View Separation in Template Engines by Terence Parr is a good start. Then continue with the push-style templating node and my HTML template entanglement survey.
Want to know more about me?
- BrainKing ... I play there as Princepawn... I also play here as princepawn - muaahahahahahaha
- my perl consulting site (warning, crusty, stale, old :)
- my Pictures
- Notes on the spiritual path known as "Sant Mat" or "Surat Shabad Yoga" or "Audible Life Stream" or "Sound Current Meditation" - the Inner Light and Sound of God notebook
- LIVINGCOSMOS my mothership catch-all site.