Flat Frog is a templating engine working in php allowing the most usefull functions : loops, test, switch, inclusion of files and plugin capabilities. It has compiling and caching capabilites.