Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re: Advice Choosing a Templating System

by CountZero (Bishop)
on Mar 02, 2005 at 06:54 UTC ( #435712=note: print w/replies, xml ) Need Help??

in reply to Advice Choosing a Templating System

If you are afraid that the content/layout people might mess up with a "difficult" templating language, you could have a look at Template::Magic and its friends.

For not too difficult pages, it works a lot like SSI and can even handle loops, etc. in a straight-forward way without having to jump through too many hoops or including very un-HTML-like tags.


"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law

  • Comment on Re: Advice Choosing a Templating System

Replies are listed 'Best First'.
Re^2: Advice Choosing a Templating System
by merlyn (Sage) on Mar 02, 2005 at 12:54 UTC

      Care to elaborate?

      Is his code bad, or do you just dislike the author and think the rest of us should too?

        A little search with Google revealed that Domizio's Makefile.PL's "phone home", as Randal calls it:
        If LWP::Simple is installed, they execute a CGI on Domizio's webserver to notify him of the installation.
        Personally, I agree with Randal that this is questionable at the least, and I consider this an invasion of my privacy.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://435712]
[haukex]: Yes sorry I don't run them all the time, my POD tests are only run as author tests (and are excluded when I'm using Devel::Cover)
[Corion]: choroba: Hmm - no, I keep the snippets inline, but as my framework also has support for capturing output etc., maybe I should do the same...
[Corion]: haukex: Yes, that approach is sane, and it heals the fragility of Pod parsers in a nice way while still syntax-checking stuff
[choroba]: Unfortunately, none of it is online
[haukex]: I figured that POD tests make sense, but only as author tests
[choroba]: I mean, the slides are, but not the makefile with scripts to create them
[Corion]: haukex: I've only now arrived at that revelation ;)
[Corion]: choroba: I use spod5, which also has that support, and also implements its own kinda-make stuff
[haukex]: But that module I just linked to assumes that most verbatim blocks are runnable code, I have other modules where that's not the case, so there I just copy-and-paste the synopsis into the author tests...
[haukex]: not the most efficient, but then again, I don't have that many modules on CPAN :-)

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (10)
As of 2017-02-27 12:27 GMT
Find Nodes?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?

    Results (385 votes). Check out past polls.