News Feed
Sections




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

Bradley Holt:
Entity Relationships in a Document Database at ZendCon 2012 (Video & Slides)
November 19, 2012 @ 10:03:55

If you weren't able to attend this year's ZendCon conference and wanted to see Bradley Holt's talk about entity relationships and document databases, you're in luck - he's posted both the video and slides to his site. Here's his summary of the session:

Unlike relational databases, document databases like CouchDB and MongoDB do not directly support entity relationships. This talk will explore patterns of modeling one-to-many and many-to-many entity relationships in a document database. These patterns include using an embedded JSON array, relating documents using identifiers, using a list of keys, and using relationship documents. This talk will explore how these entity relationship patterns equate to how entities are joined in a relational database. We'll take a look at the relevant differences between document databases and relational databases. For example, document databases do not have tables, each document can have its own schema, there is no built-in concept of relationships between documents, views/indexes are queried directly instead of being used to optimize more generalized queries, a column within a result set can contain a mix of logical data types, and there is typically no support for transactions across document boundaries.

He also includes links to two of the tools he mentions in the talk - Doctrine CouchDB and the Doctrine MongoDB ORM.

0 comments voice your opinion now!
zendcon12 entity relationships document database video slides


blog comments powered by Disqus

Similar Posts

PHPit.net: Taking a first look at the AutoCRUD for PHP library

DZone.com: GladiusDB and Firebird: Databases for Your PHP Apps

Gonzalo Ayuso's Blog: Database connection pooling with PHP and gearman

Zend Developer Zone: Case Study w/ Zend Core for IBM with DB2 9 - 10k Active DB Connections

Anthony Ferrara: Iterators - Programming With Anthony


Community Events





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


series threedevsandamaybe community opinion podcast laravel experience introduction list framework testing install unittest symfony2 refactor developer language release interview code

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