<?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 05:33:51 -0600</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Zend Developer Zone: Junction -- a new persistance layer for PHP 5]]></title>
      <guid>http://www.phpdeveloper.org/news/8791</guid>
      <link>http://www.phpdeveloper.org/news/8791</link>
      <description><![CDATA[<p>
On the Zend Developer Zone today, there's a <a href="http://devzone.zend.com/article/2594-Junction----a-new-persistance-layer-for-PHP-5">new post</a> about a new project that's been launched - an object persistence layer for PHP, <a href="http://junctionphp.com/">Junction</a>.
</p>
<blockquote>
The goal is to automate basic query construction, decouple the application from the database, and allow for faster development. With Junction you write a simple data object (the only requirement is that it have getters and setters) and a mapping file, following that you can start interacting with the database.
</blockquote>
<p>
<a href="http://junctionphp.com/">The project</a> is completely open source (under the MIT license) and is operating under the "release early, release often" mentality. You can grab this most recent download <a href="http://junction.googlecode.com/files/Junction.tgz">directly from their site</a>.
</p>]]></description>
      <pubDate>Fri, 05 Oct 2007 07:59:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Alexander Netkachev's Blog: Installing Propel object persistence layer for Web application]]></title>
      <guid>http://www.phpdeveloper.org/news/6280</guid>
      <link>http://www.phpdeveloper.org/news/6280</link>
      <description><![CDATA[<p>
In his <a href="http://www.alexatnet.com/Blog/Index/2006-09-14/installing-propel-object-persistence-layer-for-web-application">latest entry</a>, <i>Alexander Netkachev</i> explains how to install the <a href="http://propel.phpdb.org/trac/">Propel</a> object persistence layer and it's needed packages into your PHP application.
</p>
<blockquote>
<p>
Object persistence layer provides the developers with the API that allows them to operate with data of the application in object-oriented manner. The developers can use known OOP methods for searching for and restoring the objects from the database. Something like this you can find on the main page of the Propel project and in the Wikipedia article about ORM technology.
</p>
<p>
These enthusiastic words roused my interest in the technology and I promised myself I would spend some time on testing a software for generating object persistence classes. And I ready to try the Propel library, because it is used by the Symphony framework, which I plan to test in a couple of weeks.
</p>
</blockquote>
<p>
He <a href="http://www.alexatnet.com/Blog/Index/2006-09-14/installing-propel-object-persistence-layer-for-web-application">starts with a little background information</a> about why he's chosen to go with Propel and the process he followed to get things up and running smoothly. He links to the software you'll need (Propel, Creole, and Phing) and gives the install structure and environment variables you'll need to set. Finally, he gives an example .bat file to help perform the install automatically, reducing the problems that could happen when done manually.
</p>]]></description>
      <pubDate>Fri, 15 Sep 2006 07:29:05 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[SitePoint PHP Blog: CouchDb: document oriented persistence]]></title>
      <guid>http://www.phpdeveloper.org/news/6218</guid>
      <link>http://www.phpdeveloper.org/news/6218</link>
      <description><![CDATA[<p>
<i>Harry Fuecks</i> <a href="http://www.sitepoint.com/blogs/2006/09/07/couchdb-document-oriented-persistence/">mentions an interesting project</a> today on the SitePoint Blog - <a href="http://couchdb.com/">CouchDb</a> - a stand-alone document store, accessible via XML REST.
</p>
<blockquote>
<p>
Firing up the CouchDb server on Windows is a breeze-follow the README. PHP-wise, you need the new <a href="http://pecl.php.net/package/pecl_http/">http extension</a> which is most easily done on Win32 by grabbing the most recent PHP 5 release (5.1.6) and the corresponding collection of PECL modules.
</p>
<p>
The interface between CouchDb and PHP is <a href="http://en.wikipedia.org/wiki/Representational_State_Transfer">REST</a> - XML + HTTP - you can also point your browser directly at the CouchDb server (default - localhost:8080) and get around with a little help from the <a href="http://www.couchdbwiki.com/index.php?title=HTTP_REST_API">CouchDb wiki</a>.
</p>
</blockquote>
<p>
So, if it's Just Another Database, why should we pay attention? <i>Harry</i> notes (with a code example) that it's more about how it stores the information and not just that it does. His example takes in a POST request from a form and pushes it (raw data) into the CouchDb functions. He also <a href="http://www.sitepoint.com/blogs/2006/09/07/couchdb-document-oriented-persistence/">gives an example</a> of where this would be handy - in a wiki (like <a href="http://wiki.splitbrain.org/">Dokuwiki</a>) where the files are currently stored on the filesystem instead of in a database.
</p>]]></description>
      <pubDate>Thu, 07 Sep 2006 07:49:40 -0500</pubDate>
    </item>
  </channel>
</rss>
