Re: Re: Ideal PHP framework [was: DataObject with ITX]

From: Date: Wed, 16 Apr 2003 07:20:29 +0000
Subject: Re: Re: Ideal PHP framework [was: DataObject with ITX]
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-4872@lists.php.net to get a copy of this message
<rocha@i-node.com.br> wrote : > Citando Mike Hall <mike.hall@batchelor.edu.au>: > >> At the moment I am using command line XSLT tools like xsltproc, but this >> could all be done via a web interface down the track. >> >> Como le parece? Tiene algo que ver con lo que Uds estan probando de >> hacer? > Sounds like music!! I've done some test with XML/XSLT at the console sometime > ago and i think it is a hell of toll to save development time. But... > >> >> If anyone is interested, let me know, I'd like to get involved in a >> PEAR/PHP project after having used it for maybe three years now. > >> From what i understand, we can do something almost similar already within >> PEAR. > With MDB we can go from a XML schema to database tables and then with > DataObjects we create the classes to work with them. The problem is that > DataObjects does care about MDB, it uses DB. So something should be done here > first. And DataObjects also read the database to get the info to create the > classes, it could be using the MDB XML schema too. Need to ask Alan Knowles IF > that is hard to do? Maybe as an run time option? > > I think we have lot's of good stuff already in PEAR, and i feel too a > need to have somekind of glue to make a useful framework from them > ( Dont want to start THAT framework thread again, i do not think PEAR should > have a PHP framework package, i dont think it is possible to do that either > with the current PEAR policy). But if we at least have some minimum > coordination > between packages that framework could be created sinergetically, every package > doing its job independently but sharing a small set of logic to permit > integration into a larger context. (Its nigth and i am just dreaming...;) > > Having a XML/XSLT to create tables and the php classes interest me a lot, > but need to know a little more of your work to understand how that can become > a PEAR package ( or help that dreaming). I think you can give XML_Transformer a try. It is so much easier and more powerful than XSLT. Based on an XML file, it can act as a Chef d'Orchestre for all your needs. This way, you can keep your XML but also use templates, have QuickForm generate the form elements, have Table generate your tables, etc. Bertrand Mansion Mamasam

« previous php.pear.general (#4872) next »