RE: [PEAR-DEV] TableInfo (was:Package Proposal : DB_Dump)

From: Date: Sun, 01 Jun 2003 11:54:56 +0000
Subject: RE: [PEAR-DEV] TableInfo (was:Package Proposal : DB_Dump)
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-16878@lists.php.net to get a copy of this message
> From: Bertrand Mansion [mailto:bmansion@mamasam.com] > Sent: Sunday, June 01, 2003 1:44 PM > > <smith@backendmedia.com> wrote : > > > MDB already has a portion of these things available and hopefully with > > the next version of MDB things will become more flexible, as currently > > things are very focused on maximum portability. So maybe MDB might > > become a worthwhile alternative for this project. > > > > Anyways tableinfo can certainly be improved to make it possible to > > support enough features/data structures to make it worthwhile for a > > large number of people. It doesn't have to solve every possible > > situation where you might want a dump, it just needs to solve enough so > > that there is an added value over phpMyAdmin. Maybe even the same > > functionality as phpMyAdmin with PEAR CS would be a value added because > > iirc the phpMyAdmin code is very nasty(?) > > A clean support for tableInfo in MDB will probably be the reason for many > users to start using MDB instead of DB. I think a standard tableInfo array > or object structure as to be defined some day. I don't know much of MDB > yet, > how does it support this feature ? Do you use XML ? Well there are several methods that serve this purpose like listDatabases, listSequences, listIndexes etc. However they are by no means complete yet. Regarding XML: The Manager is responsible for this and currently it’s a bit nasty due to endlessly long method that make the manager hard to maintain and very inflexible. Also XML based handling is very fixed on the MDB datatypes and is therefore too limited for people not using the MDB schema format. But that is the main area which I am addressing this coming month. This work is mainly motivated by porting DataObject to MDB. Regards, Lukas

« previous php.pear.dev (#16878) next »