<?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, 15 May 2008 22:46:01 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Raphael Stolt's Blog: Creating Zend Framework snippets for TextMate]]></title>
      <guid>http://www.phpdeveloper.org/news/9677</guid>
      <link>http://www.phpdeveloper.org/news/9677</link>
      <description><![CDATA[<p>
<i>Raphael Stolt</i> has <a href="http://raphaelstolt.blogspot.com/2008/02/creating-zend-framework-snippets-for.html">posted  a new entry</a> to his blog that talks about combining two things that many developers out there already use - the Zend Framework and the TextMate editor. He shows hos to make some useful code snippets that can be customized to whatever you might need.
</p>
<blockquote>
To reduce the typing effort for the most common tasks in creating a Zend Framework based application, which are creating action controllers including their hosted actions and creating new models for accessing the underlying database, I spent some minutes to figure out how to create and add these valuable snippets to the default PHP bundle.
</blockquote>
<p>
The contents of the examples snippets are included - one to set up a controller, one to add an action to it and an third that will automatically set a table name property.
</p>]]></description>
      <pubDate>Thu, 21 Feb 2008 09:39:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Lee Blue's Blog: How To Sort A Zend_Db_Table_Rowset]]></title>
      <guid>http://www.phpdeveloper.org/news/9638</guid>
      <link>http://www.phpdeveloper.org/news/9638</link>
      <description><![CDATA[<p>
<i>Lee Blue</i> has <a href="http://www.refreshinglyblue.com/2008/02/14/how-to-sort-a-zend_db_table_rowset/">posted a handy tip</a> for users of the Zend Framework, specifically when sorting the results from a query to tables linked in a Zend_Db_Table setup.
</p>
<blockquote>
So you figured out how to define the <a href="http://framework.zend.com/manual/en/zend.db.table.relationships.html">relationships between your Zend_Db_Tables</a> and you have issued a call to findDependentRowset(). You get your Rowset back but you need to sort the results by one of the columns in the dependent table. How do you do that?
</blockquote>
<p>
Unfortunately, he's found out that you just simply can't - well, not without a custom function (until the 1.5 release of the framework rolls around). He shows his table set up and some sample database classes to relate to the tables (and link between them). The magic comes in with his DU_Utils class that takes in the data and sorts it based on the given column name in the given direction.
</p>]]></description>
      <pubDate>Thu, 14 Feb 2008 17:11:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: Creating Data Tables With PEAR Structures_DataGrid]]></title>
      <guid>http://www.phpdeveloper.org/news/9510</guid>
      <link>http://www.phpdeveloper.org/news/9510</link>
      <description><![CDATA[<p>
<i>Cal Evans</i> has <a href="http://devzone.zend.com/article/3019-Creating-Data-Tables-With-PEAR-Structures_DataGrid">posted a tutorial</a> on the Zend Developer Zone (posted today) about using the <a href="http://pear.php.net/package/Structures_DataGrid">PEAR Structures_DataGrid package</a> to create quick and easy data tables.
</p>
<blockquote>
In this article, I'll be introducing you to the Structures_DataGrid package, showing you how it can be used to display structured data in tabular form. I'll be showing you how to hook it up to various data sources (including a CSV file, an RSS feed and an Excel spreadsheet), and how to format the resulting output so it's as pretty (or as ugly) as you want it to be.
</blockquote>
<p>
They <a href="http://devzone.zend.com/article/3019-Creating-Data-Tables-With-PEAR-Structures_DataGrid">talk about</a> what you'll need to get started (the different packages for different kinds of data) and some sample code to help you down the path to more attractive tables. There's even a bit touching on some of the more advanced features like exporting to Excel, pagination and data sorting.
</p>]]></description>
      <pubDate>Mon, 28 Jan 2008 16:19:30 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHP-Coding-Practices.com: How Table Migrations In CakePHP 1.2 Can Save Your Life]]></title>
      <guid>http://www.phpdeveloper.org/news/8174</guid>
      <link>http://www.phpdeveloper.org/news/8174</link>
      <description><![CDATA[<p>
On PHP-Coding-Practices.com, <i>Tim Koschuetzki</i> has <a href="http://php-coding-practices.com/cakephp-specific/how-table-migrations-in-cakephp-12-can-save-your-life/">posted a new tutorial</a> that just might save your life - well, at least the life of your CakePHP application - using table migrations.
</p>
<blockquote>
Migrations are a wonderful technique to keep your database in sync with your code. When working on a project as a team, migrations can save your life. Please join me and get a quick introduction to migrations in CakePHP and become a happier coder.
</blockquote>
<p>
He <a href="http://php-coding-practices.com/cakephp-specific/how-table-migrations-in-cakephp-12-can-save-your-life/">starts by explaining</a> what migrations are (yml files that contain database construction/destruction information), how to execute them in your application, and how to construct your own.
</p>]]></description>
      <pubDate>Tue, 03 Jul 2007 14:36:07 -0500</pubDate>
    </item>
  </channel>
</rss>
