Forums / Developer / Template Language

Template Language

Author Message

Christian Rytter

Monday 05 April 2004 1:57:25 am

Hi.

I have always been wondering why you choose to invent your own template language? The language reminds me a lot of the usual HTML/XML languages, and it defintely relates to the XSLT (XML Stylesheets).

So, my question is: Why didnt you just choose to create a variation of XSLT? That way, you would just use the namespace feature in XML, making it <ez:some-func/>. This is much - much easier to use for many of us, since the current template language has some shortcommings, when it comes to readability (I can never see the difference between {} and ().

Finally, if the language was purely XML based, you would be able to use a simple XML library for the template compiler. Lastly, the XML library would complain, if you have made any tags that are not closed, or the like. And many editors would automatically be able to apply syntax highlighting.

Kind Regards,

Christian Rytter

Björn [email protected]

Tuesday 06 April 2004 9:44:50 am

I bet this will come with ez 4....

For now just accept it, eZ is aware of this

Many have already complained

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

Bruce Morrison

Tuesday 06 April 2004 4:23:06 pm

eZ 4 ...now there's a rumour ;)

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

Christian Rytter

Wednesday 07 April 2004 1:13:19 am

Who ever said it was a complaint? :-)

Alex Jones

Wednesday 07 April 2004 7:14:06 am

Ack! rumours of eZ 4 already...I finally feel comfortable with 3! ;) Actually, I would happily re-learn the system if it used XSLT, though I'm sure a lot of people would not be happy at the new learning curve.

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>