PDA

View Full Version : Template Engines


rollercoaster375
2006-03-17, 13:45
I'm in the proccess of writing a Web Application, and I'm currently working on our Templating engines. I've created a grammar for marking up templates, but I haven't been able to come up with an adequate way to store and identify templates (I have a strong dislike of Single Page templates, due to their effect on the outputted XHTML). We've considered multiple options, including using an XML format for piecing smaller templates into a document (Our current solution), all the way to using XSLT.

Our criteria for solutions has been:

Keep the Data Typing from the Controller
Promotion Valid XHTML
Ease of use


Does no such solution exist?