BlackCatDevelopment / BlackCatCMS

BlackCat CMS is a PHP5, HTML5 content management system
https://blackcat-cms.org
Other
11 stars 9 forks source link

Open discussion: Move from Dwoo to Twig? #56

Open webbird opened 11 years ago

webbird commented 11 years ago

Dwoo is a great Template Engine, but it seems to be not supported anymore. Twig, on the other hand, is positioned very well as part of the Symfony PHP Framework. So the question is: Should we move from Dwoo to Twig (or another TE), or just stay with Dwoo as it works very well and fix bugs by ourselves?

Twig homepage: http://twig.sensiolabs.org/ Dwoo homepage: http://dwoo.org/

creativecat commented 11 years ago

I would currently stay on dwoo. I guess the replacement will be not such a big deal but I don't see a huge improvement on Twig. Do you know something about speed or better caching? The documentation about Twig seems to be better. Also handling of arrays seems to be better... As we probably will to separate Core and Modules Twig might be a deal as it is published on github.

webbird commented 11 years ago

As there are no other opinions yet, I'd suggest to stay with Dwoo, as it does all we need and is quite stable. Also, it is very easy to extend. Maybe we can add a template helper class later and a lib_twig module for those who'd like to use it instead of Dwoo.

creativecat commented 2 years ago

We can reopen this discussion ;-) A driver for Twig in BC is already created...