An open API service indexing awesome lists of open source software.

https://github.com/vseventer/xsmarty

XSmarty: a better way to setup Smarty
https://github.com/vseventer/xsmarty

Last synced: about 2 months ago
JSON representation

XSmarty: a better way to setup Smarty

Awesome Lists containing this project

README

          

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.