Re: [SMARTY-DEV] Re: Compiling config files & alternative config files format

From: Date: Tue, 03 Dec 2002 08:51:11 +0000
Subject: Re: [SMARTY-DEV] Re: Compiling config files & alternative config files format
References: 1 2  Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-366@lists.php.net to get a copy of this message
AR> not all people do install PHP with expat XML parser and there are some AR> web space providers which don't use it too. So you would need to implement AR> your own XML parser which is definitly too slow AR> (http://sourceforge.net/projects/phpxd AR> for example is really great). AR> I don't think it's a good idea to use XML exclusively but perhaps as an AR> alternative format. AR> So the developer could choose if he want's XML or Plaintext. Yes, it's what i think too. Many hosts run expat, and when you run a professionnal projet, you can choose the modules you're using. Since Config_File.class.php does not look complex, it might be easy to write an alternative config file parser that could load the config vars from an XML file. A SQL datasource could be handy too :) I'm waiting for a comment from Andrei or Monte regarding the caching. Bertrand

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