You’ve probably never heard of my template engine…
http://outline.mindplay.dk
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.
My engine has been around for a some years, so it’s reasonably mature, and has been used in production on some large sites, but never gained much traction in terms of users. I’m not exactly sure why, but I suspect a lot of people glance it and, because they’ve seen the enormous codebases powering the mainstream template engines, they assume that it can’t possibly do much. In actuality, it does pretty much everything the major engines do.
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 