Hi,

I just read the thread yesterday and so just to summarize. A  
standardized template system is supposed to cover the following needs:

1) Make it possible for untrusted people to contribute templates
2) Make it possible for people without PHP installed to reasonably  
preview the templates
3) Additionally it was mentioned that standardizing on one template  
system will reduce the risk of fragmentation as has been witnessed  
due to the situation we have with Propel and Doctrine on the ORM front.

===

My personal commentary to this topic is that I have a hard time  
really seeing 2) in practice, since previewing requires pulling in a  
layout with (multiple) module outputs as well as CSS and Javascript.  
As such I do not really see how this previewing is supposed to work  
out in practice without the person in question having to assemble  
most of this manually. That being said a tag driven template engine  
does make it easier to ignore the logic. However I think this  
advantage is mitigated by the fact that any decent HTML editor has  
good PHP support (including greying out  or even folding the PHP,  
which means all you need is a decent coding style in your templates)  
and that PHP is easy to learn and well documented and many designers  
already have a basic understanding of PHP.

The other points however seem very valid to me. Though since I do not  
see 1) as so frequently needed that 3) will be much less of an issue  
than the ORM situation. As a result I think its sufficient if people  
work on providing solid plugins to solve this challenge. For those of  
us that need this functionality but that can cache the output, they  
might want to look at using pecl runkit's sandboxing to still be able  
to use PHP as the template engine, without jeopardizing security when  
allowing untrusted people to upload templates.

regards,
Lukas

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-devs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to