Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^3: Push style templating systems

by pKai (Priest)
on Mar 25, 2008 at 01:20 UTC ( #676017=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Push style templating systems
in thread Push style templating systems

Thanks for clearing that up, at least somewhat ;-)

Citing Terence Parr
The trick is to provide sufficient power in a template engine without providing constructs that allow separation violation.

It is my understanding that he shows that "push" (his Definition 8) is sufficiently strict to ensure separation. But for the template engine user's convenience you can add things while separation is still enforced.

He designed StringTemplate accordingly, but StringTemplate isn't pure-push then, isn't it?


Comment on Re^3: Push style templating systems
Select or Download Code
Re^4: Push style templating systems
by metaperl (Curate) on Mar 25, 2008 at 14:05 UTC
    He designed StringTemplate accordingly, but StringTemplate isn't pure-push then, isn't it?
    I don't know what pure push is. If I had to guess, I would say that the 5 rules implied by strict separation, listed after Definition 7, define pure push. And as far as I can see, StringTemplate doesnt break any of those rules.

    I know Seamstress doesnt.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://676017]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2014-09-19 22:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (149 votes), past polls