Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Push style templating systems

by metaperl (Curate)
on Aug 17, 2009 at 13:30 UTC ( #789161=note: print w/replies, xml ) Need Help??


in reply to Push style templating systems

Cindy appears to offer strong separation of code from Perl.

Replies are listed 'Best First'.
Re^2: Push style templating systems
by ElDiabolo (Initiate) on May 15, 2010 at 22:11 UTC

    Actually Cindys web engine Cindy::Apache2 (requires mod_perl) is language independent. It takes XML data that can be produced by an apache request handler (static, php, ...) and moves them into a template.

    How to move the data is specified in a content injection sheet. This has a <source xpath> action <target xpath> syntax to describe data movements.

    This may even qualify as strict separation. I'll check if my module (Cindy, see also http://www.heute-morgen.de/site/10_About.shtml) is actually Parr strict.

      I am not shure if I must consider the content injection sheet part of the view. If so I enforce only the most important Parr rule (Do not modify the model). The others can be violated because I use XPath as my mini language.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://789161]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2017-04-26 02:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (467 votes). Check out past polls.