<?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, 04 Dec 2008 13:06:14 -0600</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[PHPClasses.org: PHP Object-Relational Mapping: ORM or ROM?]]></title>
      <guid>http://www.phpdeveloper.org/news/11186</guid>
      <link>http://www.phpdeveloper.org/news/11186</link>
      <description><![CDATA[<p>
On the PHPClasses.org blog today <i>Manuel Lemos</i> has <a href="http://www.phpclasses.org/blog/post/82-PHP-ObjectRelational-Mapping-ORM-or-ROM.html">posted a look</a> at ORM - what it is and how you can use it to improve your applications.
</p>
<blockquote>
Object-Relational Mapping, usually referred as ORM, is a software development approach to treat data stored in relational (SQL) database table records as if they were objects. Basically we can create classes with variables that represent fields of a database table. To insert a table record you need to create an object of the class, assign the variable values, and call a function of the class that takes care of inserting the table record
</blockquote>
<p>
He illustrates what it is (brief code samples) and some of the approaches that developers have taken to implementing it. He suggests, however, that they should truely be called ROM (Relational Object Mapping) libraries rather than ORM due to the fact that they map an object (the database tables) back in to PHP objects. He finishes with a list of a few ORM resources and libraries including the one that helps power the PHPClasses website, <a href="http://www.metastorage.net/">Metastorage</a>.
</p>]]></description>
      <pubDate>Fri, 10 Oct 2008 12:09:37 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Developer Tutorials Blog: Getting Started with ORM in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/10616</guid>
      <link>http://www.phpdeveloper.org/news/10616</link>
      <description><![CDATA[<p>
A <a href="http://www.developertutorials.com/blog/php/getting-started-with-orm-in-php-331/">recent post</a> on the Developer Tutorials blog takes a look at a fundamental part of several of the PHP (and other language) frameworks out there - the Object Relational Mapping (ORM) layer for database access.
</p>
<blockquote>
Instead of direct database access, an ORM layer in a PHP framework can make "objects" stored in a database behave like actual objects from a programming perspective - for example, creating a new "car" stored in the database could involve a call to $car->new(). By abstracting actual database access, web development can be more productive and result in more reliable applications. Here's a quick intro to ORM in PHP.
</blockquote>
<p>
They <a href="http://www.developertutorials.com/blog/php/getting-started-with-orm-in-php-331/">talk about</a> ORM's role in how applications interface with data (abstracted out to objects) and some examples of it in current frameworks - <a href="http://www.cakephp.org">CakePHP</a> and <a href="http://www.symfony.com">Symfony</a>.
</p>]]></description>
      <pubDate>Wed, 16 Jul 2008 09:35:27 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: PHP and your domain model with Doctrine ORM]]></title>
      <guid>http://www.phpdeveloper.org/news/9535</guid>
      <link>http://www.phpdeveloper.org/news/9535</link>
      <description><![CDATA[<p>
On the Zend Developer Zone, <i>jonwage</i> has <a href="http://devzone.zend.com/article/3028-PHP-and-your-domain-model-with-Doctrine-ORM">posted about</a> an ORM (Object-Relational mapping) he came across that can help abstract out your interface with your backend database - <a href="http://www.phpdoctrine.org/">Doctrine</a>.
</p>
<blockquote>
One of its key features is the ability to optionally write database queries in an OO (object oriented) SQL-dialect called DQL inspired by Hibernates HQL. This provides developers with a powerful alternative to SQL that maintains a maximum of flexibility without requiring needless code duplication.
</blockquote>
<p>
The <a href="http://www.phpdoctrine.org/">project's page</a> gives the full details on the features it offers and has links to the <a href="http://www.phpdoctrine.org/download">latest downloads</a> so you can try it out for yourself. There's even <a href="http://www.phpdoctrine.org/blog">a blog</a> you can subscribe to to keep up to date.
</p>]]></description>
      <pubDate>Thu, 31 Jan 2008 08:40:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Sebastian Bergmann's Blog: SQL Puzzle]]></title>
      <guid>http://www.phpdeveloper.org/news/9176</guid>
      <link>http://www.phpdeveloper.org/news/9176</link>
      <description><![CDATA[<p>
<i>Sebastian Bergmann</i> has figured out <a href="http://sebastian-bergmann.de/archives/721-SQL-Puzzle.html">half of the puzzle</a> he was working on but is still a bit stuck on the second half. He knows how to mine information from Subversion, but not they queries to ask the database for the info he needs.
</p>
<blockquote>

I have written a small <a href="http://www.php.net/">PHP</a> script (the initial version of the script can be found <a href="http://shiflett.org/blog/2007/dec/php-advent-calendar-day-3">here</a>) to import the relevant data from a <a href="http://subversion.tigris.org/">Subversion</a> repository into the following tables of a relational database. [...] What I need now is two queries to ask the database
</blockquote>
<p>
There's already been <a href="http://sebastian-bergmann.de/archives/721-SQL-Puzzle.html#comments">tons of comments</a> in an effort to help him out, but it doesn't look quite like he's resolved the issue just yet.
</p>
<p>
<b>UPDATE 12.06.207</b>: Seems he's <a href="http://sebastian-bergmann.de/archives/724-BugMiner.html">found a solution</a> that'll work for him - <a href="http://www.phpunit.de/browser/svn_bug_miner">here's the script</a>.
</p>]]></description>
      <pubDate>Wed, 05 Dec 2007 08:46:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Building a Relational Content Management System in PHP/MySQL]]></title>
      <guid>http://www.phpdeveloper.org/news/4545</guid>
      <link>http://www.phpdeveloper.org/news/4545</link>
      <description><![CDATA[From DevShed today, there's <a href="http://www.devshed.com/c/a/PHP/Building-a-Relational-Content-Management-System-in-PHP-MySQL/">a new tutorial</a> that will help you create a relational content management system with PHP and MySQL.
<p>
<quote>
<i>
This article will show you how to build a simple relational content management system. What is a relational CMS you ask? Well, a relational CMS lets you create articles that have child articles.
<p>
This works similiar to other CMSes which have categories and then articles; we will just combine them together to be more relational. This also helps to create a nice search engine friendly site quickly.
</i>
</quote>
<p>
<a href="http://www.devshed.com/c/a/PHP/Building-a-Relational-Content-Management-System-in-PHP-MySQL/">The tutorial</a> starts off immediately, giving you the SQL layout to start importing into your database. It assumes you have a base-level understanding of how to use both PHP and MySQL on your platform of choice. From there, it gives you the common functions to get the system working, and follows with a "howto" on managing the articles in the system.]]></description>
      <pubDate>Thu, 22 Dec 2005 06:47:07 -0600</pubDate>
    </item>
  </channel>
</rss>
