Re: Feature Request: add HTML 4.01 support into DOMXML extension?

From: Date: Wed, 05 Dec 2001 19:01:23 +0000
Subject: Re: Feature Request: add HTML 4.01 support into DOMXML extension?
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-72670@lists.php.net to get a copy of this message
On Wed, 05 Dec 2001, Lauri Liinat wrote: > > hi, > > has anybody ever thought about supporting HTML 4.01 in > the DOMXML extension as Gnome libxml supports it anyway? > > should be a relatively simple addon, yet extremely useful for > processing layout templates and finally killing the long thread > of discussion on the brain-dead text-substituting templating > engines. i think the text-substituting way of templating sucks > because you basically invent a new way to mark up things, > which is nonsense since html itself already is a markup language. > now when you use your little text-substituting engine a bit in practice, > you will eventually find that you need more than just text-substitutions > and then you start inventing a whole new scripting language for rolling > loops, etc, which is extra idiotic as php itself already is a scripting > language, letting you do all that, and more. the only thing you have > gained at the end is a relatively dumb monster which is slower, > non-standard, lets you do less and does it all worse, no matter > whether it is written in PHP, C or assembly. if i wanted to do > any text substitutions, i would do that with <?= $var ?> and > if i wanted to roll out a table row, i would do that with > <? while(...) { ?><tr> ..... </tr><? }?>, simple as that. > there's no point in using a home-brewn scripting language > to do those tasks, is there? all the constructs are already part > of the php language... Are you done? *Plonk*. -Andrei * Ethernet n.: something used to catch the etherbunny. *

« previous php.dev (#72670) next »