News Feed
Jobs Feed
Sections

Recent Jobs

News Archive
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



Similar Posts

Ifeghali's Blog: Adding FK support to MDB2_Schema_Writer

Greg Murray's Blog: jMaki supports PHP!

David Coallier's Blog: Simple DBAL, PHP5, Light, Fast, Simple.

Lukas Smith\'s Blog: MDB2 2.0.0RC1 rapidly approaching

Ilia Alshanetsky's Blog: httpOnly cookie flag support in PHP 5.2


Community Events







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


releases job conference zendframework ajax zend application developer package PHP5 PEAR security release database code book example mysql cakephp framework

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