Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re: HTML::Seamstress is not a templating engine?

by pKai (Priest)
on Aug 03, 2009 at 19:44 UTC ( #785535=note: print w/replies, xml ) Need Help??

in reply to HTML::Seamstress is not a templating engine?

Also in the same chapter Parr writes:

Interestingly, by this definition of a template, XSL ... style sheets are not templates at all because style sheets specify a set of XSLT tree transformations whose emergent behavior is an XML or HTML document. XSL style sheets are programs like servlets, albeit declarative in nature rather than imperative.

And I was never absolutely sure where the real dinstinction is drawn here.

When your "traditional" templating system tends to become a Turing complete programming language, the distinction blurrs away anyway.

I like in XSLT that it won't break the tree structure of the "template" I'm working in (XML, XHTML). So typically for my taste it's a better fit. Which might only be exactly that.. a matter of taste.

The same might or might not apply to you and your HTML::Seamstress.

Replies are listed 'Best First'.
Re^2: HTML::Seamstress is not a templating engine?
by metaperl (Curate) on Aug 03, 2009 at 20:24 UTC
    The same might or might not apply to you and your HTML::Seamstress.
    Seamstress uses HTML::Tree, so well-formedness is guaranteed. it even does some auto-corrections. A colleague of mine was trying a browser hack where he tried to stick form tags inside a table and it kept rejecting his HTML.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://785535]
[Corion]: marto: I'm not sure on how to treat mail archives. I think you could either set an auto-deletion timespan or an auto-anonymisation timespan if you wanted to do it right.
[Corion]: For PM, I think we'll create a user "gdpr", who gets assigned the nodes of users who want to give up their user status here.
[marto]: can I nominate users ? :P

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (12)
As of 2018-05-22 08:30 GMT
Find Nodes?
    Voting Booth?