Mold 1.0.0

A minimalist JavaScript templating system

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!
send us
an update
LICENSE TYPE:

MIT License

USER RATING:
UNRATED
  0.0/5
DEVELOPED BY:
Marijn Haverbeke
HOMEPAGE:
marijnhaverbeke.nl
LANGUAGE:
JavaScript
CATEGORY:
C: \ Development Tools \ Other Libraries
At only 200 lines of code, the library is very light-weight for a client-side library.

Mold compiles plain-text templates to functions that map JavaScript values to strings (the filling in of the template) and provides an interface for directly inserting the result of such functions into documents ('casting' the molds).

Almost all Mold's operators are concerned with plain text, but a few of them are HTML-specific, in that they refer to the nodes created by the template.

In a typical use scenario, the web application somehow gets template strings from the server (it could directly fetch text files, or the strings might be in script files), compiles them once, and then uses the resulting 'molds' to build up parts of the document.

Last updated on November 10th, 2012

Runs on: Windows / Linux / Mac OS / BSD / Solaris

requirements

#template engine #JavaScript library #template string #template #engine #library #string

Add your review!

SUBMIT