mustache.php

Software Screenshot:
mustache.php
Software Details:
Version: 2.9.0 updated
Upload Date: 1 Oct 15
Distribution Type: Freeware
Downloads: 44

Rating: 2.0/5 (Total Votes: 1)

Mustache is a framework-agnostic logic-less templating language. It enforces separation of view logic from template files.

Due to its structure, the template doesn't even allow or makes it possible to embed logic in a template.

Mustache is also available in:

JavaScript - download mustache.js here
Ruby - download Mustache here.
Python - download pystache here.
Erlang - download mustache.erl here.
PHP - download mustache.php here.
Perl - download Mustache Template here.
Go - download mustache.go here.
Lua - download hige here.
ooc - download Mustang here.
C++ - download plustache here.
ActionScript 3 - download mustache.as here.
Java - download mustache.java here.
node.js - download Mu here.

What is new in this release:

  • Added template inheritance, via the BLOCKS pragma.
  • Added a pragmas option to the Mustache_Engine constructor for enabling default pragmas.
  • A couple of performance improvements.
  • Code cleanup.
  • Check coding standards on CI.
  • Fixed whitespace bug in nested partials.
  • Allow omitting the filters on closing section tags, for example, {{# a | b }}{{/ a }} is now valid.

What is new in version 2.8.0:

  • Added template inheritance, via the BLOCKS pragma.
  • Added a pragmas option to the Mustache_Engine constructor for enabling default pragmas.
  • A couple of performance improvements.
  • Code cleanup.
  • Check coding standards on CI.
  • Fixed whitespace bug in nested partials.
  • Allow omitting the filters on closing section tags, for example, {{# a | b }}{{/ a }} is now valid.

What is new in version 2.4.0:

  • Improve tokenizer and parser performance and memory usage.
  • Allow passing entity flags for htmlspecialchars().
  • Fixed filesystem loader to work with stream wrappers.

What is new in version 2.3.1:

  • Fixed tokenizing when using `mbstring.func_overload.
  • Fixed default value for Mustache_Engine::render context passthrough.

What is new in version 2.3.0:

  • Added a `bin/build_bootstrap.php` script for creating a single-file Mustache library include.
  • Improved catchability of Mustache exceptions (more granular types + all exceptions now implement Mustache_Exception interface).
  • Added a Inline and Cascading template loaders, which are pure awesome.
  • Simplifies compiled PHP code for templates without section tags.
  • Fixed compiled templates' PSR-2 compliance.
  • Speed up value resolution by 33% for primitives, 25% for methods and properties, and 10% for lambdas.
  • Fixed default/overloading of partials in Engine constructor.

Requirements:

  • PHP 5.2.4 or higher

Limitations:

  • Sections don't respect delimiter changes -- delimiters example currently fails with an "unclosed section" exception.
  • Test coverage is incomplete.

Similar Software

Other Software of Developer Mustache Development Tool

pystache
pystache

5 Jun 15

Mustache
Mustache

20 Jul 15

mustache.erl
mustache.erl

1 Oct 15

mustache.java
mustache.java

1 Oct 15

Comments to mustache.php

Comments not found
Add Comment
Turn on images!