<?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>Mon, 20 May 2013 17:15:07 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Rob Allen's Blog: Metadata from Zend_Db_Table_Abstract]]></title>
      <guid>http://www.phpdeveloper.org/news/12598</guid>
      <link>http://www.phpdeveloper.org/news/12598</link>
      <description><![CDATA[<p>
As a part of his WinPHP Challenge project <i>Rob Allen</i> has <a href="http://akrabat.com/2009/05/28/metadata-from-zend_db_table_abstract/">come up with a method</a> to combing the Zend_Db_Table component of the Zend Framework with the SuccessSQL tool to extract the table information directly from the database.
</p>
<blockquote>
Zend_Db_Table provides all this information directly which is quite useful, however the intended use-case for Zend_Db_Table is that you extend Zend_Db_Table_Abstract for each table that you want to interact with. Obviously, SuccesSQL doesn't know in advance the names of the tables, so I created a stub class that allowed me to instantiate a Zend_Db_Table dynamically.
</blockquote>
<p>
A few code snippets later and he has a working example showing a <a href="http://php.net/var_dump">var_dump</a> of the object's output - complete with full data for the two columns - ID and artist.
</p>]]></description>
      <pubDate>Mon, 01 Jun 2009 07:53:14 -0500</pubDate>
    </item>
  </channel>
</rss>
