For years I have disliked all the templating engines for PHP. IMNSHO the whole concept of templating engines for PHP does not make sense. In order to have a flexible templating engine it must have a flexible scripting language. Why in earth you would want to write a scripting language parser with a scripting language such as PHP.
Friends don’t let friends use templating engines.
Today I found Savant. After spending a good hour reading the docs I started to realise it is a templating engine I could use. It has a no-nonsense aproach. It uses PHP as the template language, but still provides a nice interface to separate business-logic from display-logic (something I should pay more attention sometimes). As a promise to myself, I will investigate more on Savant. Perhaps first use vanavesi.com as a testbed and initial testing.
Because you still want to separate your business logic from your display logic.
TweetTagged with: Php