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. * -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]