News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Ifeghali's Blog:
Adding FK support to MDB2_Schema_Writer
August 10, 2007 @ 08:41:00

On the Planet SoC blog today, there's this look at how ifehhali added foreign key support to the MDB2_Schema_Writer as a part of his Summer of Code project to improve the PEAR::MDB2_Schema package.

MDB2_Schema_Writer is the responsible for dumping a database schema to a XML file. It walks into a database definition and outputs the correspondent XML tags.

He gives an example of checking a table (in $table) to see if it has constraints and check its validity. If everything's okay, the script pushes data into a buffer of specially formatted XML data.

0 comments voice your opinion now!
mdb2 foreignkey support mdb2schemawriter mdb2 foreignkey support mdb2schemawriter


blog comments powered by Disqus

Similar Posts

Community News: Worldwide support network for PHP user groups launches - PHP Groups

Chris Hartjes' Blog: Using CakePHP's Native Web Service Support

Bradley Holt's Blog: PHP In Google App Engine?

php|architect: How can I help you?

Maggie Nelson's Blog: PDO_OCI does not support CLOBs


Community Events





Don't see your event here?
Let us know!


tips community introduction podcast bugfix voicesoftheelephpant install symfony framework language list laravel library interview opinion series deployment release api package

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework