Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Push style templating systems

by metaperl (Curate)
on Aug 17, 2009 at 13:30 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://789161]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-04-20 16:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found