[development] why not just phptemplate in core?

Bèr Kessels ber at webschuur.com
Mon Jan 2 10:09:32 UTC 2006


Op maandag 02 januari 2006 07:59, schreef Neil Drumm:
> Standardizing on one templating system is okay, and I think PHP template
> is an excellent choice. But I am not sure that it is ready and I do not
> want to leave the extra layer of API in place if we do standardize on
> one templating system.

For power themes I found pure PHP themes to be the most powerfull. PHPTemplate 
makes assumptions, which is good for agile development. But its often hard to 
circumvent these assumptions in your PHPTemplate. And if so, you often have 
to build another layer on top of the phptemplate templates layer (that means 
Drupal -> engine -> your_theme -> your_logic). In that latter case a pure php 
theme is a very god alternative. (drupal -> your_theme_and_logic)

But, yes standardising is good (you can focus better, then), but only if that 
standard is flexible enough to meet all our needs. ATM we do not have that 
yet, hence I think maintaining the full range of flexibility, as examples, in 
core, is the best idea. 

Ber


More information about the development mailing list