Birkaç yıl önce, biz onu "easier" değil-geliştiricilerin için (or, at least, not-PHP developpers) onların HTML düzeni istediğini entegre etmek olduğunu söyleyerek, Smarty kullanıyorlardı.
Şey: yerine PHP temellerini öğrenmek zorunda, onlar Smarty öğrenmek zorunda - ve ben eklemek gereken pek o kadar iyi bilgi vermedi.
Now, Smarty is quite old, not well maintained nor anything... And Zend Framework expects people to use PHP in their views...
ZF dayalı proje görüşlerine Smarty kullanma anlamına gelecektir:
- Developpers would have to learn Smarty -- and not only PHP+HTML
- Eğer Smarty bilmek bile, müteahhit düzgün kullanmak için yeterince iyi bilecek?
- Ve arkadaşları, ya da insanlar hakkında gelecekte ne işe edeceğiz?
- Eğer şablonları Smarty kullanabilirsiniz bile, tam güç veya ZF kullanmak mümkün olacaktır: ZF ile bütünleştirerek ile ilgili sorunlar? Pluging, yardımcıları, protezler, ve bütün bu?
An additionnal reason many of us said "use smarty", in the past, was to help with the separation of content and presentation ; but, as you are already using MVC in your ZF-based application, there's no need for smarty to do that : if you are following the ZF's guidelines, you are already separating those, even if not using Smarty.
Well, in the end, I would rather not use Smarty :
- Bu eski ve bakımlı değil
- Bu (MVC) ile proje ZF-tabanlı gerçekten yararlı değil
- Bu projeye entegre etmek zor olabilir.