mikjaer/simpletpl

SimpleTpl is a simple Smarty-like template engine

1.0.0 2016-05-10 14:51 UTC

This package is not auto-updated.

Last update: 2024-09-14 19:09:29 UTC


README

# 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.