4 ms·
Why does everybody hate Smarty? Explain please.
by mihasya 18y ago
Why does everybody hate Smarty? Explain please.
- shaunxcode 18y agoThe trade off between wasted processing and elegance is not high enough for most people. I could see it being nice if you are giving access to "non-developers" to modify the views/templates of your system and want to make sure they only have access to a given subset of functionality.
- mihasya 18y agoSmarty compiles its templates, so only the first execution takes the processing hit. If you have APC, the hit is also very small.
- ErrantX 18y agoSmarty is simply obfusication. As the other reply suggests it adds no ease for non programmers to make changes. It doesn't add human readability. Ultimatley PHP short syntax is just simpler (especially if your using an MVC framework or similar).
- mihasya 18y agoYou're ignoring quite a few features of Smarty, and I disagree with you on human readability. The other reply also wasn't saying anything about ease. It was about control, which is also important once your team reaches a certain size/level of skill diversity.