Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

metaperl

by metaperl (Curate)
on Oct 11, 2000 at 17:32 UTC ( [id://36219]=user: print w/replies, xml ) Need Help??

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 ftp.gnu.org with my own eyes. How can you say that there is no God in the Church of Emacs? -- David Kastrup
[tag://array]
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?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2024-12-12 14:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which IDE have you been most impressed by?













    Results (65 votes). Check out past polls.