Complexity VS Readability
I've been coding MuCMS for two years now, from the start i use Smarty Template Engine, i thought it was cool at that time to code a MVC style CMS B).
Years have passed and i realized that what fustrates me the most with smary was i had to know an additional language alogn with php to maintain this CMS. I've been coding hp for more thant 3 years now and i feel quite comfortable with it. What ican do through php, i do. I think it is better to know one thing very well rather than spreading too thin.
Why add another not so vital layer on top if it is not necessary? I am thing seriously to rewrite the template (no smarty at all) in php, the gains are interesting : no more intermediate step to render the web page, you hard code the html in php, with some habits it is easily doable, the site will load a little faster.
Since it is a solo project, i don"t need to separate logic from design, what's more a CMS like Wordpress is not based on Smarty.
What do you think of going 100% ?
Posté le 2011-05-29 23:05:03