Re: Compiling config files & alternative config files format

From: Date: Tue, 03 Dec 2002 08:38:11 +0000
Subject: Re: Compiling config files & alternative config files format
References: 1  Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-365@lists.php.net to get a copy of this message
Hi Bertrand, not all people do install PHP with expat XML parser and there are some web space providers which don't use it too. So you would need to implement your own XML parser which is definitly too slow (http://sourceforge.net/projects/phpxd for example is really great). I don't think it's a good idea to use XML exclusively but perhaps as an alternative format. So the developer could choose if he want's XML or Plaintext. André "Bertrand Dunogier" <bdunogier@wanadoo.fr> schrieb im Newsbeitrag news:138-739107871.20021202234025@wanadoo.fr... > Hi here, > > I was wondering about 2 points: > 1. why aren't the config files compiled as PHP scripts ? (sorry if > they are :p) > 2. why didn't you use a XML like format for these files ? It would > have been easier to write scripts to manipulate these files or even > use any existing XML editor. I know XML parsing is usually slower than > plain text parsing, but see 1... :) > > Bertrand >

« previous php.smarty.dev (#365) next »