News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Josh Adell's Blog:
Neo4j for PHP
June 17, 2011 @ 10:05:26

Josh Adell has written up a new post for his blog showing some of his experience connecting PHP to Neo4j, a graph database (and open source project). It helps to solve a problem of related datasets and the difficulties that traditional RDBMS have with them.

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.

Graph databases, like Neo4j, handle these sorts of needs perfectly. There wasn't an official PHP interface for it, so he decided to create his own 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.

0 comments voice your opinion now!
neo4j database graph tutorial rest relationship path


blog comments powered by Disqus

Similar Posts

Pádraic Brady's Blog: Complex Views with the Zend Framework - Part 3: Composite View Pattern

NetTuts.com: Expressive Tests with Hamcrest

Jonathan Snook's Blog: Elemental: Conditional Content with CakePHP

DevSnippets.com: Getting Started with CodeIgniter and How to Create All Those Great Apps

Rami Alnawas: How to unit test code with Phalcon MVC Models


Community Events





Don't see your event here?
Let us know!


language laravel interview voicesoftheelephpant series tool composer introduction library security podcast community symfony framework install opinion update release version package

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework