开发者

Frameworks using Smarty [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 10 years ago. 开发者_开发百科

Is there any PHP framework that uses Smarty as template engine?


thinphp framework uses Smarty as template, also zoop framework, MODx not entirely a framework but also uses Smarty. Rain framework uses something very similar to smarty.


You can: Integrating Smarty with the Zend Framework


MvcSkel framework has Smarty integration: https://github.com/ysubach/mvcskel#readme If any questions, ask me - I am one of MvcSkel authors.


You can find Smarty in several CMS systems (CMSMadeSimple is one that comes to mind, and XOOPS), but not much out there in plain MVC frameworks. That goes for any template engine. That makes sense... you can bolt any template engine onto any of them, so why force the developer to choose a template engine, or maybe they just want PHP?

Also, Smarty has been somewhat idle in development up until the recent version 3 release, so who knows what will be cropping up. Template inheritance was a nice addition.


I do not believe that smarty is used as a template engine in any of modern php frameworks mainly because it was developed and matured before most of them.

There are many ways to integrate it with many of the popular ones though.


Symfony2 supports several template engines one of them being Smarty through the SmartyBundle plugin.


Phraw micro framework uses Smarty as suggested template engine: phraw.dav-muz.net


I realize this question is over a year old but client requirements forced me to write a Smarty plugin for Lithium PHP.

It's not "out of the box" but it is tightly integrated with the frameworks core features. https://github.com/joseym/li3_smarty

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜