I am looking for an efficient, fast & most importantly, secure template engine that I can integrate it with my CMS.
This engine will process user-submitted templates and generate the output (similar to Shopify user-provided template).
While researching, I've found Twig (with the Sandbox option), and, very interesting, the actual engine used on Shopify http://code.google.com/p/php-liquid/
Do you have any experience with this type of system? I was thinking of building one from scratch, but I can better spend the time developing unique features.
PS: The engine should be in PHP. Thanks!