Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 1013 Bytes

README.md

File metadata and controls

29 lines (19 loc) · 1013 Bytes
# SimpleTpl v.1.0

A lightweight PHP Template engine, designed to replace Smarty.

Project goals:

 - Warning-free and neat code
 - Small and durable solution

 - FAQ -

 Q: Why no {section}{/section} controlstructure?
 A: It has been replace with {for} and {foreach}, the behaviour
    of a given function should not be dictated by it' parameters
    but by the functionname itself.

 Q: How do i get started?
 A: Download example.php, example.tpl and SimpleTpl.class.php and
    read the code, play around with it, it's pretty self-explanatory.

    More details in getting-started.txt.

 Q: What's the license?
 A: GNU GPL v2 or MIT BSD, i reserve the right to re-release the coder and any contributions under
    a different license under my choosing. If you want this software under another license, please contact me.

 Q: Can i make money using this code?
 A: Sure, just keep my name in the credits and drop me a line if you do.