metaperl's user image
User since: Oct 11, 2000 at 17:32 UTC (23 years ago)
Last here: Aug 27, 2016 at 02:14 UTC (7 years ago)
Experience: 3690
Level:Curate (13)
Writeups: 593
Location:Margate, FL
User's localtime: Feb 20, 2024 at 11:59 -11
Scratchpad: View
For this user:Search nodes

Favourite Nodes

  1. Code Smarter by japhy
  2. 7 Stages of a Regex User by japhy
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 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

  1. Preserving the data munging paradigm for HTML with HTML::Seamstress
  2. You like objects for your model, objects for your controller... so your view?
  3. Higher Order Templating with HTML::Seamstress
  4. HTML::Seamstress - The strongest separation index for HTML Templating

never point the finger at tt

  1. HTML Template Entanglement - undisciplined usage of tt
  2. headache after headache after headache - minilanguage features galore to learn. no thank you.
  3. this does not look like fun to me... all those headaches for recursive display.
  4. 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?