Templum is an extremely lightweight, simple yet powerful, and fast templating engine for PHP. It re-uses the power of PHP itself for rendering templates, but provides additional features making it easier and more secure to write templating code. Rendering templates using Templum is very fast; it approximates native PHP rendering speed for include() statements.
>is it worthwhile to have your developers learn
>It might not be, because it will be a costly affair,
>with the developers figuring out, "How will I
>achieve this particular functionality in XXX
Yes, heaven forbid your developers learn something new. Different programming languages tend to have different ways of solving problems, and usually there's a lot to learn from each different way. I don't consider it 'costly' when developers have to figure out something new, I tend to consider it as an investment for the future.
The use of ScriptEngine as a plugin architecture looks like an okay thing to do. But mixing Java and various random scripting languages together just because developers are too lazy or because it's too 'costly' to make them learn a new language seems like a blatant abuse of the technology. In fact, to me it's even worse than a shell script parsing XML with sed and then making calls to Java programs for more advanced XML scripting. (xml-starlet might have helped here).