开发者

PHP templating systems [closed]

开发者 https://www.devze.com 2023-03-29 01:49 出处:网络
As it currently stands, this question is not a good fit fo开发者_JAVA技巧r our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely so
As it currently stands, this question is not a good fit fo开发者_JAVA技巧r 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 11 years ago.

I currently use Smarty 2.26 for all my sites, I am planning to to a PHP 5 template system

There are quite a few options Smarty3 Dwoo Twig and more

I am looking for something light weight and speed is important, there are many blogs out there that equally rated all of the 3 above.

Which framework should I stick with.


If you've built your site around smarty 2 then it's probably worth moving to smarty 3, that way you won't have as big a job to change your code. Also smarty 3 has lots of new speed improvements so it's definetly a strong contender.


Well, if you want speed and light weight, php IS a templating engine. So why bother with a cumbersome templating engine on top of it?

0

精彩评论

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

关注公众号