XSmarty: a better way to setup Smarty
PHP
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Smarty
templates
.gitignore
.htaccess
LICENSE
README.md
index.php
style.css

README.md

XSmarty

Smarty is a popular PHP templating engine. Although Smarty is very powerful, it is often used in a non-optimal manner. This is the reason a lot of people hate Smarty. This project is not meant to prove them wrong, but just to show how one could setup Smarty.

Currently, XSmarty contains a smart method of implementing body classes, without using external variables from your controller. Smarty can be used in a MVC project, so hopefully this will get you started. In the future, I will implement view helpers, to ensure clean separation of concerns.