Re: [PHP4BETA] Can PHP do XML + XSL = HTML stuff ?

From: Date: Mon, 13 Mar 2000 16:34:35 +0000
Subject: Re: [PHP4BETA] Can PHP do XML + XSL = HTML stuff ?
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-12075@lists.php.net to get a copy of this message
Hello Jirka, On 13-Mar-00 08:18:22, you wrote: >> Any reason not to implement an XSL module for PHP? >> How difficult is it? It might even be feasible to implement it as part of >> PEAR in PHP using the XML support we have right now (or domxml?) >XSL module (or more precisely XSLT processor) is quite complicated and >power compsuming stuff of software, so it would not be good idea to >implement it directly in PHP. There are existing XSLT processors which are As I have been saying doing XML-XSL processing to serve pages at online time is a waste of performance, especially when there are much more faster and objective methods. Anyway, that doesn't mean you could not make good use of XSL transformation engine built-in PHP. It could well be used to process and generate data offline. Using PHP for offline or backend processing is often a forgot but very useful possibility. I use PHP standalone CGI executable to setup site installation like creating database structures and support files. As a matter of fact my database abstraction layer (Metabase) has the ability to parse files in a custom XML format that describes database schemas that I want to be installed. It takes a few seconds to parse and install an average database schema this way and I do it using PHP standalone CGI executable run from the shell. It has nothing to do with documents, so it could not benefit form XSL support, but it is just an example of how PHP could be used with great benefit to do install or maintenance tasks without running PHP from a Web server. I am saying this because I noticed that since PHP is only advertised as a program serve Web pages, lots of users of Metabase assume that databases schemas are supposed to be installed by running scripts from the Web server. PHP should be advertised also for doing offline jobs like this or also as cron scripts which is a very requested ability that it can be used from the beginning. Regards, Manuel Lemos Web Programming Components using PHP Classes. Look at: http://phpclasses.UpperDesign.com/?user=mlemos@acm.org -- E-mail: mlemos@acm.org URL: http://www.mlemos.e-na.net/ PGP key: http://www.mlemos.e-na.net/ManuelLemos.pgp --

« previous php.version4 (#12075) next »