Create an Account
username: password:
 
  MemeStreams Logo

mod_perl: Choosing a Templating System

search

Lost
Picture of Lost
My Blog
My Profile
My Audience
My Sources
Send Me a Message

sponsored links

Lost's topics
Arts
Business
Games
Health and Wellness
Home and Garden
Miscellaneous
Current Events
Recreation
Local Information
Science
Society
Sports
Technology

support us

Get MemeStreams Stuff!


 
mod_perl: Choosing a Templating System
Topic: Technology 8:29 am EDT, Mar 15, 2007

Description

Everything you wanted to know about templating systems and didn't dare to ask. Well, not everything....

Introduction

Go on, admit it: you've written a templating system. It's okay, nearly everyone has at some point. You start out with something beautifully simple like $HTML =~ s/\$(\w )/${$1}/g and end up adding conditionals and loops and includes until you've created your very own unmaintainable monster.

Luckily for you, you are not the first to think it might be nice to get the HTML out of your code. Many have come before, and more than a few have put their contributions up on CPAN. At this time, there are so many templating modules on CPAN that it's almost certain you can find one that meets your needs. This document aims to be your guide to those modules, leading you down the path to the templating system of your dreams.

And, if you just went straight to CPAN in the first place and never bothered to write your own, congratulations: you're one step ahead of the rest of us.

My choice is Template Toolkit with Catalyst.

mod_perl: Choosing a Templating System



 
 
Powered By Industrial Memetics
RSS2.0