<?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>Sun, 19 May 2013 11:12:10 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[DZone.com: Development Setup for Neo4j and PHP: Part 2]]></title>
      <guid>http://www.phpdeveloper.org/news/18310</guid>
      <link>http://www.phpdeveloper.org/news/18310</link>
      <description><![CDATA[<p>
On DZone.com today they've <a href="http://architects.dzone.com/articles/development-setup-neo4j-and-0">posted the second part</a> of their series looking at using the Neo4j database from your PHP applications.
</p>
<blockquote>
This is Part 2 of a series on setting up a development environment for building projects using the graph database <a href="http://neo4j.org/">Neo4j</a> and PHP. In <a href="http://blog.everymansoftware.com/2011/11/development-setup-for-neo4j-and-php.html">Part 1</a> of this series, we set up unit test and development databases. In this part, we'll build a skeleton project that includes unit tests, and a minimalistic user interface.
</blockquote>
<p>
The post <a href="http://architects.dzone.com/articles/development-setup-neo4j-and-0">includes the code</a> to create the testing harness, a bootstrap file and a basic test to handle the checks on deletion of an "Actor". The rest of the post shows how to use the connection to find an Actor based on input from the user via a form.
</p>]]></description>
      <pubDate>Thu, 02 Aug 2012 10:11:10 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Josh Adell's Blog: Path finding with Neo4j]]></title>
      <guid>http://www.phpdeveloper.org/news/16530</guid>
      <link>http://www.phpdeveloper.org/news/16530</link>
      <description><![CDATA[<p>
In a follow up to his previous post on <a href="http://phpdeveloper.org/news/16485">using Neo4j with PHP</a>, <i>Josh Adell</i> looks in a bit more detail about how to <a href="http://blog.everymansoftware.com/2011/06/path-finding-with-neo4j.html">find paths in the data</a> via a REST interface to the database.
</p>
<blockquote>
The thing that makes graphing databases useful is the ability to find relationship paths from one node to another. There are many algorithms for finding paths efficiently, depending on the use case.
</blockquote>
<p>
He includes some code showing the REST request (made via <a href="https://github.com/jadell/Neo4jPHP">this client</a>) to fetch <a href="http://1.bp.blogspot.com/-qteFgW-vvPE/TgK3beUyk_I/AAAAAAAAAA8/cstHGsCaLEU/s1600/street_graph.png">these street-based relationships</a>. He then creates a little sample script that provides driving directions from one intersection to another with a "findPathsTo" call. He modifies it a bit later on to use the <a href="http://en.wikipedia.org/wiki/Dijkstra%27s_algorithm">Dijkstra algorithm</a>.
</p>]]></description>
      <pubDate>Tue, 28 Jun 2011 12:38:01 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Josh Adell's Blog: Neo4j for PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/16485</guid>
      <link>http://www.phpdeveloper.org/news/16485</link>
      <description><![CDATA[<p>
<i>Josh Adell</i> has written up a new post for his blog showing some of his experience <a href="http://blog.everymansoftware.com/2011/06/neo4j-for-php.html">connecting PHP to Neo4j</a>, a graph database (and <a href="http://github.com/neo4j">open source project</a>). It helps to solve a problem of related datasets and the difficulties that traditional RDBMS have with them.
</p>
<blockquote>
Lately, I've been playing around with the graph database Neo4j and its application to certain classes of problems. Graph databases are meant to solve problems in domains where data relationships can be multiple levels deep. [...] As you continue to add degrees, the query becomes increasingly unwieldy, harder to maintain, and less performant.
</blockquote>
<p>
Graph databases, like Neo4j, handle these sorts of needs perfectly. There wasn't an official PHP interface for it, so he decided to <a href="http://github.com/jadell/Neo4jPHP">create his own</a> that worked with the REST interface the database provides. He includes a few code snippets showing how to connect and make a few requests - setting properties on objects, relating objects to one another and making queries that follow the paths from user to user and return them as a simple array.
</p>]]></description>
      <pubDate>Fri, 17 Jun 2011 10:05:26 -0500</pubDate>
    </item>
  </channel>
</rss>
