Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: Push style templating systems

by metaperl (Curate)
on Mar 24, 2008 at 18:37 UTC ( #675954=note: print w/replies, xml ) Need Help??


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

you list only StringTemplate but not HTML::Template. Why?
I guess because HTML::Template::Expr raises the entanglement index. But pure HTML::Template is definitely push-style. Added.
Or put the question the other way round (assuming that Rhandom is right, that the point of your list, at least with the Perl part is "no mini-language")
When I opened this mode, I stated my purpose. It was to record push-style systems. I don't know why you would figure that Rhandom would know more about my purposes than the ones I stated.
Why do you endorse/mention/include StringTemplate, though it has a mini-language?
Because it meets the criteria for strict separation... I'm starting to see that push-style is not what he used as a term. He did use pull-style when referring to tt/mason-esque systems, but he never used to the term pull style to refer to systems like XMLC, etc.

Replies are listed 'Best First'.
Re^3: Push style templating systems
by pKai (Priest) on Mar 25, 2008 at 01:20 UTC

    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?

      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.

Re^3: Push style templating systems
by metaperl (Curate) on Mar 24, 2008 at 19:04 UTC
    Actually he does use the term "push strategy" in Definition 8 in Section 7.1

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://675954]
help
Chatterbox?
[shmem]: Discipulus: has that been in the CB? or in a PM node proper? for the latter case, can you provide the ID?
[Discipulus]: you seriously can use their in this way in eng?
[Corion]: Meh. $effin_bad_system has an interface breakdown and then loads events in parallel with events overtaking one another instead of being processed sequentially
[shmem]: Discipulus: dunno, but we do all the time ^^
[choroba]: Discipulus I was taught so by a Londoner
[shmem]: Corion: very clear case of missing sequence number
[Corion]: shmem: Yeah. I guess they have a sequence number but distribute the events across threads or machines or whatever.
[karlgoethebier]: choroba: another chapter of "Learning English At The Monastry"?
[shmem]: Corion, well then... next issue, sequence number not a shared resource :P
[Discipulus]: shmem i'm searching it.. but failing i was sure was in Re: Let's Make PerlMonks Great Again! -- suggestions and dreams

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (14)
As of 2017-05-23 08:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?