You’ve probably never heard of my template engine…
Might be worth checking out - I have been using Yii for about a month now, and I plan to integrate my template engine as soon as I can find the time.
Highlights: tiny footprint, super fast, has all the common templating features (compiled templates, modifiers, multi-level caching, blocks, dynamic inserts, etc.), and it’s easy to learn - it borrows from PHP syntax, but makes it much shorter, making for templates that are more legible than plain PHP.
I am also hoping to add Yii-specific plugins to wrap CHtml, making form construction shorter and more legible.
Or rather, it doesn’t have to - it just leverages existing PHP functionality to do most of the work. The truth is that PHP itself is an excellent template engine, and already has most of the features that template engines re-implement on top of it - it just doesn’t have the most practical/prettiest/shortest syntax when it comes to view (HTML) rendering. It didn’t make sense to me to implement a full template engine on top of another template engine (PHP), and so I came up with Outline. I am comfortable with plain PHP templates, and have been using them for years - I just wanted a thin layer that would shorten the syntax and simplify using some of the PHP-features that are especially useful for templating.
Well, see for yourself and let me know what you think