Tags: emeraldjava/mustache.php
Tags
* Add a `bin/build_bootstrap.php` script for creating a single-file … …Mustache library include. * Improve catchability of Mustache exceptions (more granular types + all exceptions now implement Mustache_Exception interface). * Add a Inline and Cascading template loaders, which are pure awesome. * Simplify compiled PHP code for templates without section tags. * Fix compiled templates' PSR-2 compliance. * Speed up value resolution by 33% for primitives, 25% for methods and properties, and 10% for lambdas. * Fix default/overloading of partials in Engine constructor (thanks @mattdeclaire!)
* Pass a section helper to lambdas (allows rendering the section fro… …m inside a callback). * Don't ask closures about their methods or properties. * Allow extending FilesystemLoader (protected instead of private methods). * Allow "empty" filesystem loader file extension. * Add a "cache_file_mode" option to set cache file permissions. * Add filters. * Implement PSR-3-compatible logging.
Mustache.php v2.0.0 * Basically, rewrite Mustache.php from the ground up. * Use a recursive descent parser for speed, flexibility, and precision. * Compile mustache templates into native PHP classes for the win. * Play nice with opcode caches. * Massive speed improvements. * Add template and partial autoloading. * Add "helpers" (template engine globals and helper functions). * Switch to PSR-1/PSR-2 coding standard. * Add Travis CI integration. * Fully compliant with Mustache spec v1.1.2.
PreviousNext