Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

ajt (2546)

  (email not shown publicly)

UK based. Perl, XML/HTTP, SAP, Debian hacker.

  • PerlMonks: ajt []
  • Local LUG: AdamTrickett []
  • Debian Administration: ajt []
  • LinkedIn: drajt []

Journal of ajt (2546)

Friday January 27, 2006
01:58 PM

Old Templating Engine

[ #28497 ]

What seems like aeons ago I wrote a simple templating engine in Perl. It's a bit crufty in places but it does it's job. At the moment for the first time, someone other than me is using it the way I intended, and it's given me fresh impetus to re-package it up as a module and put it on CPAN.

What I need to figure out is a neat form of plug-in technology, so that different HTTP clients and XML/HTML tool-kits can be seamlessly supported.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • Expect to go unnoticed. The field is really, really crowded.

    • Indeed. I'm not actually interested in the templating side per se, rather developing a module that does automatic plug-ins.

      I don't like most of the templating engine out there. Most of them are just fundamentally flawed in their design. They are not templating systems at all, they are formating engines. One "formatter" per page, but drawing on dynamic content - multiple possible versions of the same page. I want a single template for every page, but each page being static, only one version of the page.


      -- "It's not magic, it's work..."
      • Yeah, I dislike almost all of them as well. I have a rant about that percolating in the back of my head; one day I’ll write it.

        • Somebody needs to deflate some egos...

          -- "It's not magic, it's work..."
        • Can someone tell me _wrong_ with Text::Template? I have to admit I've not used it, yet, but it seems like such a good idea.

          I've used TT, but every time I do, I feel like I've abandoned Perl for something else...

          Next time I want to do something that needs it, I'm trying Text::Template. Fortunately, it's the easiest to try, small, self-contained and easy-to-install.