Recommend this page to a friend!
  Classes of wim niemans  >  SIREN PHP Templating Library  >  >  Download  
Role: Documentation
Content type: text/plain
Description: short readme
Class: SIREN PHP Templating Library
Template engine featuring recursion and nesting
Author: By
Last change:
Date: 3 months ago
Size: 443 bytes


Class file image Download
SIREN is a base PHP library to do templating in one go.  
It has a simple, sufficient API, performs recursive replacement, and uses an intuitive syntax. That's all you need.  

    syntax: {var} where var  is [text]{var}[text]  
                  where text is '-._[\w\d\]'

SIREN features a (key, value) array of variables and exercises PCRE patterns to parse text. The library supports recursion, including files and processing of blocks.  

For more information send a message to info at phpclasses dot org.