<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Thu, 20 Nov 2008 03:14:52 -0600</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[David Coallier's Blog: Simple DBAL, PHP5, Light, Fast, Simple.]]></title>
      <guid>http://www.phpdeveloper.org/news/8540</guid>
      <link>http://www.phpdeveloper.org/news/8540</link>
      <description><![CDATA[<p>
<i>David Coallier</i> has <a href="http://blog.agoraproduction.com/index.php?/archives/49-Simple-DBAL,-PHP5,-Light,-Fast,-Simple..html">posted about</a> a database abstraction layer that he's been developing for PHP 5.2.x only systems and wants some opinions on his methods:
</p>
<blockquote>
I made a very light DBAL that uses PHP5.2.x only (Since many people seem to want that) and it has the exact same DSN syntax as MDB2 for now and the query method are also called the same (No API Changes). [...] The main goal of the DBAL is to have a very effective and light way of switching RDBMS but also the possibility to change your DBAL to something more "0feature complete" as such as MDB2.
</blockquote>
<p>
He <a href="http://blog.agoraproduction.com/index.php?/archives/49-Simple-DBAL,-PHP5,-Light,-Fast,-Simple..html">includes the list</a> of query method names and the types of databases that he wants it to support (as well as mentioning the fact that it would be unit tested for reliability).
</p>]]></description>
      <pubDate>Tue, 28 Aug 2007 09:32:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Ifeghali's Blog: Adding FK support to MDB2_Schema_Writer]]></title>
      <guid>http://www.phpdeveloper.org/news/8425</guid>
      <link>http://www.phpdeveloper.org/news/8425</link>
      <description><![CDATA[<p>
On the Planet SoC blog today, there's <a href="http://planet-soc.com/node/2141">this look</a> at how <i>ifehhali</i> added foreign key support to the <a href="http://cvs.php.net/viewvc.cgi/pear/MDB2_Schema/MDB2/Schema/Writer.php?view=log">MDB2_Schema_Writer</a> as a part of his Summer of Code project to improve the PEAR::MDB2_Schema package.
</p>
<blockquote>
<a href="http://cvs.php.net/viewvc.cgi/pear/MDB2_Schema/MDB2/Schema/Writer.php?view=log">MDB2_Schema_Writer</a> is the responsible for dumping a database schema to a XML file. It walks into a database definition and outputs the correspondent XML tags.
</blockquote>
<p>
He <a href="http://planet-soc.com/node/2141">gives an example</a> 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.
</p>]]></description>
      <pubDate>Fri, 10 Aug 2007 08:41:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[CodePoets.co.uk: How to use PHP and PEAR MDB2 (Tutorial)]]></title>
      <guid>http://www.phpdeveloper.org/news/8002</guid>
      <link>http://www.phpdeveloper.org/news/8002</link>
      <description><![CDATA[<p>
On CodePoets.co.uk, there's <a href="http://codepoets.co.uk/pear_mdb2_php_database_howto_quickstart">a new tutorial posted</a> by <i>David Goodwin</i> showing how to use PHP with the PEAR MDB2 component to access your database backend.
</p>
<blockquote>
While writing some <a href="http://www.palepurple.co.uk/training">PHP Training</a> materials for <a href="http://www.palepurple.co.uk/">Pale Purple</a>, I thought I'd add an updated guide on PHP and database access. I've already done one on <a href="http://codepoets.co.uk/doc/php_pear_quickstart_database_web_applications">PEAR::DB</a>, but PEAR::MDB2 is it's successor and has a slightly different API.... and as PEAR::DB is now deprecated, it's probably about time I rewrote it anyway.
</blockquote>
<p>
<i>David</i> <a href="http://codepoets.co.uk/pear_mdb2_php_database_howto_quickstart">looks at</a> what the MDB2 package is, how to install it, connecting to your database and including some error handling as well. He (thankfully) also touches on one of the most handy features of the package - the prepared statements and the security they can offer.
</p>]]></description>
      <pubDate>Thu, 07 Jun 2007 13:56:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[David Coallier's Blog: PEAR::DB is Deprecated, Got It?]]></title>
      <guid>http://www.phpdeveloper.org/news/7966</guid>
      <link>http://www.phpdeveloper.org/news/7966</link>
      <description><![CDATA[<p>
In response to several other posts lately about the <a href="http://pear.php.net/DB">PEAR::DB</a> package in PEAR (and things that could be done to improve it), <i>David Coallier</i> got a bit fed up and <a href="http://blog.agoraproduction.com/index.php?/archives/42-PEARDB-is-DEPRECATED,-GOT-IT.html">shared his opinion</a> - "PEAR::DB is deprecated, got it?"
</p>
<blockquote>
All new features are made into <a href="http://pear.php.net/MDB2">MDB2</a> and not <a href="http://pear.php.net/DB">DB</a>, the only thing that is being done on DB is security fixes. So MDB2 is first of all, faster, smaller (Because of it's driver and modularity), easier, and has more features (LOB handling, Iterator, etc) and better end-user documentation, quite solid docs indeed.
</blockquote>
<p>
Of course, <a href="http://blog.agoraproduction.com/index.php?/archives/42-PEARDB-is-DEPRECATED,-GOT-IT.html#comments">the comments</a> of the post are full of people arguing to keep it around and others that agree with <i>David</i>, especially in light of a MDB2 driver for the Zend Framework he mentions.
</p>]]></description>
      <pubDate>Mon, 04 Jun 2007 15:21:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHP.net: The PHP.net Google Summer of Code]]></title>
      <guid>http://www.phpdeveloper.org/news/7633</guid>
      <link>http://www.phpdeveloper.org/news/7633</link>
      <description><![CDATA[<p>
The PHP.net site has made the <a href="http://www.php.net/#6">official announcement</a> of the PHP projects involved with this year's Google Summer of Code:
</p>
<blockquote>
The PHP team is once again proud to participate in the <a href="http://code.google.com/soc/">Google Summer of Code</a>. Seven students will "flip bits instead of burgers" this summer:
</blockquote>
<p>
On the list this year are:
<ul>
<li><a href="http://wiki.phpdoc.info/LiveDocs">LiveDocs</a> - mentor <i>Michael Wallner</i>, student <i>Hannes Magnusson</i>
<li>The PHP Interpreter - mentor <i>Derick Rethans</i>, student <i>David Wang</i>
<li><a href="http://xdebug.org/">XDebug</a> - mentor <i>Derick Rethans</i>, student <i>Adam Harvey</i>
<li><a href="http://www.phpdoctrine.net/">Doctrine</a> - mentor <i>Lukas Smith</i>, student <i>Konsta Vesterinen</i>
<li><a href="http://www.phpunit.de/">PHPUnit</a> - mentor <i>Sebastian Bergmann</i>, student <i>Mike Lewis</i>
<li><a href="http://pear.php.net/package/MDB2_Schema/">MDB2_Schema</a> - mentor <i>Lukas Smith</i>, student <i>Igor Feghali</i>
<li><a href="http://www.jaws-project.com/">Jaws</a> - mentor <i>David Coallier</i>, student <i>Nicolas B&eacute;rard-Nault</i>
</ul>
Also, be sure to check out some of the other organizations and students participating on the <a href="http://code.google.com/soc/">Summer of Code</a> website.
</p>]]></description>
      <pubDate>Mon, 16 Apr 2007 12:41:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: Book Review - PHP Programming with PEAR]]></title>
      <guid>http://www.phpdeveloper.org/news/7214</guid>
      <link>http://www.phpdeveloper.org/news/7214</link>
      <description><![CDATA[<p>
<i>Cal Evans</i> of the Zend Developer Zone has <a href="http://devzone.zend.com/node/view/id/1644">posted a new book review</a> of one of Packt Publishing's latest PHP-related offerings - "PHP Programming with PEAR".
</p>
<blockquote>
<p>
For those who have been living under a virtual rock for a while now, <a href="http://pear.php.net/">PEAR</a> is the "PHP Extension and Application Repository". In a nutshell, it is a collection of classes, it's a framework, and it's a distribution system. Most importantly though, it's an excellent place to find the classes you need so you don't have to re-invent the wheel. (Ok, beginner's time is over, I promise).
</p>
<p>
<a href="http://www.amazon.com/gp/redirect.html?ie=UTF8&location=http%3A%2F%2Fwww.amazon.com%2FPHP-Programming-PEAR-Schmidt-Stephan%2Fdp%2F1904811795%2Fsr%3D8-1%2Fqid%3D1170352720%3Fie%3DUTF8%26s%3Dbooks&tag=postcarfrommy-20&linkCode=ur2&camp=1789&creative=9325">PHP Programming with PEAR</a>, written by Stephen Schmidt, Carsten Lucke, Stoyan Stefanov and <a href="http://www.wormus.com/aaron/">Aaron Wormus</a>, takes a look at some important <a href="http://pear.php.net/">PEAR</a> classes and how you can use them. 
</p>
</blockquote>
<p>
He <a href="http://devzone.zend.com/node/view/id/1644">mentions</a> what the book covers (which packages) and highlights some of his favorite bits, including the chapter on web services.
</p>]]></description>
      <pubDate>Fri, 02 Feb 2007 19:04:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[David Coallier's Blog: Zend Framework Without PDO]]></title>
      <guid>http://www.phpdeveloper.org/news/7064</guid>
      <link>http://www.phpdeveloper.org/news/7064</link>
      <description><![CDATA[<p>
<i>David Coallier</i> has written up <a href="http://blog.agoraproduction.com/index.php?/archives/15-Zend-Framework-Without-PDO.html">a quick post</a> on his blog today with a helpful hint on getting the Zend Framework up and running without the use of PDO for the database connection.
</p>
<blockquote>
For those who wanted to use the Zend Framework on server but didn't have all the access to install PDO or such will now be able to do so. I have a fix that now MDB2 (PHP5 Only) can be used instead of PDO.
</blockquote>
<p>
He <a href="http://blog.agoraproduction.com/index.php?/archives/15-Zend-Framework-Without-PDO.html">gives an example</a> of its usage (creating a factory object) and how to get the MDB2 adapter installed correctly to get the Zend Framework to recognize and use it.
</p>]]></description>
      <pubDate>Tue, 09 Jan 2007 15:04:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Stoyan Stefanov's Blog: Reusing an existing database connection with MDB2]]></title>
      <guid>http://www.phpdeveloper.org/news/7050</guid>
      <link>http://www.phpdeveloper.org/news/7050</link>
      <description><![CDATA[<p>
In <a href="http://www.phpied.com/reusing-an-existing-database-connection-with-mdb2/">this new blog post</a>, <i>Stoyan Stefanov</i> shares a method he's found to reuse an existing database connection with the MDB2 library.
</p>
<blockquote>
This is a follow up to a <a href="http://www.phpied.com/db-2-mdb2/#comment-44767">question</a> posted by Sam in my <a href="http://www.phpied.com/db-2-mdb2/">DB-2-MDB2 post</a>. The question was if you can reuse an exisitng database connection you've already established and not have MDB2 creating a second connection.
</blockquote>
<p>
He <a href="http://www.phpied.com/reusing-an-existing-database-connection-with-mdb2/">gives two different methods</a>, one for persistent connections and the other for non-persistent ones - including some code.
</p>]]></description>
      <pubDate>Mon, 08 Jan 2007 12:33:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Jacques Marneweck's Blog: PEAR::DB alike wrapper for PEAR::MDB2]]></title>
      <guid>http://www.phpdeveloper.org/news/7045</guid>
      <link>http://www.phpdeveloper.org/news/7045</link>
      <description><![CDATA[<p>
Users of the PEAR::DB module now have another easy choice for upgrading their code to work with another database package - MDB2. According to <a href="http://www.powertrip.co.za/blog/archives/000558.html">this post</a> from <i>Jacques Marneweck</i>, there's <a href="http://cvs.php.net/viewvc.cgi/pear/MDB2/MDB2/Wrapper/peardb.php">a wrapper</a> <i>Lukas Smith</i> created to help ease the transition.
</p>
<p>
<a href="http://cvs.php.net/viewvc.cgi/pear/MDB2/MDB2/Wrapper/peardb.php">The wrapper</a> functionality has been included in the MDB2 package for a while now, and is designed to make things simple when switching from one package to another (as seamless as possible).
</p>
<p>
You can download the latest version of MDB2 from its <a href="http://pear.php.net/package/MDB2/redirected">page on the PEAR site</a>.
</p>]]></description>
      <pubDate>Mon, 08 Jan 2007 09:02:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Jeff Moore's Blog: PDO versus MDB2]]></title>
      <guid>http://www.phpdeveloper.org/news/6975</guid>
      <link>http://www.phpdeveloper.org/news/6975</link>
      <description><![CDATA[<p>
In the constant pursuit of exploring what else is out there, <i>Jeff Moore</i> <a href="http://www.procata.com/blog/archives/2006/12/26/pdo-versus-mdb2/">took a look</a> at using PDO and MDB2 in some of his scripts and tried it out in a simple test program:
</p>
<blockquote>
I was just putting together a small test program and I thought I would try using PDO. I really haven't done anything serious with PDO, just try it a couple times. Unfortunately, this didn't work and it took me a few minutes to figure out why. Actually, I still don't know exactly why it doesn't work, but I did find a way to make it work.
</blockquote>
<p>
He <a href="http://www.procata.com/blog/archives/2006/12/26/pdo-versus-mdb2/">found PDO</a> slightly different to work with than what he was used to so he moved on to MDB2 to see how the same code would fare there. Things worked smoothly there, handling the prepared statements he wanted to use perfectly.
</p>]]></description>
      <pubDate>Wed, 27 Dec 2006 10:41:00 -0600</pubDate>
    </item>
  </channel>
</rss>
