stpl: Template engine based on replacing tags

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (9)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2014-02-03 (1 year ago) RSS 2.0 feedNot enough user ratingsTotal: 156 All time: 267 This week: 64Up
Version License JavaScript version Categories  
stpl 1.0MIT/X Consortium ...1.0Templates
Description Author  

This object implements a template engine based on replacing tags.

It can search for tags with variable names enclosed within two sets of curly braces and replaces them with assigned variable values.

The object supports escaping tags using an additional set of curly braces, conditional variable replacement, iteration through a list of values, can use the dot notation for object values, including sub-templates, filters for variable values, etc..

Picture of Jonathan Gotti
Name: Jonathan Gotti <contact>
Classes: 7 packages by
Country: France France
Age: 38
All time rank: 262 in France France
Week rank: 49 Down3 in France France Down
Innovation award
Innovation award
Nominee: 4x

Winner: 2x

  Files folder image Files  
File Role Description
Files folder imagelib (2 files)
Files folder imagetests (3 files)
Accessible without login Plain text file gruntfile.js Conf. Configuration script
Accessible without login Plain text file LICENCE.TXT Doc. Documentation
Accessible without login Plain text file package.json Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  lib  
File Role Description
  Plain text file stpl.js Class Class source
  Plain text file stpl.min.js Class Class source

  Files folder image Files  /  tests  
File Role Description
  Accessible without login Plain text file qunit-1.11.0.css Doc. Documentation
  Accessible without login Plain text file qunit-1.11.0.js Test Unit test script
  Accessible without login HTML file test-stepl.html Doc. test

 Version Control Unique User Downloads Download Rankings  
 100%Total:156All time:267
 This week:0This week:64Up