<?xml version="1.0" encoding="UTF-8"?><rss version="0.92">
<channel>
	<title>Jonathan H. Wage</title>
	<link>http://www.jwage.com</link>
	<description>Doctrine, Symfony, PHP</description>
	<lastBuildDate>Wed, 25 Aug 2010 13:25:57 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	<!-- generator="WordPress/3.0" -->

	<item>
		<title>Blending the Doctrine ORM and MongoDB ODM</title>
		<description><![CDATA[Since the start of the [Doctrine MongoDB Object Document Mapper](http://www.doctrine-project.org/projects/mongodb_odm) project people have asked how it can be integrated with the [ORM](http://www.doctrine-project.org/projects/orm). This blog post demonstrates how you can integrate the two transparently, maintaining a clean domain model. This example will have a `Product` that is stored in MongoDB and the `Order` stored in a [...]]]></description>
		<link>http://www.jwage.com/2010/08/25/blending-the-doctrine-orm-and-mongodb-odm/</link>
			</item>
	<item>
		<title>New Doctrine MongoDB ODM Documentation</title>
		<description><![CDATA[Yesterday I added a few new chapters to the [Doctrine MongoDB ODM Documentation](http://www.doctrine-project.org/projects/mongodb_odm/1.0/docs/en): * [Capped Collections](http://www.doctrine-project.org/projects/mongodb_odm/1.0/docs/reference/capped-collections/en) * [Indexes](http://www.doctrine-project.org/projects/mongodb_odm/1.0/docs/reference/indexes/en) * [Geospatial Queries](http://www.doctrine-project.org/projects/mongodb_odm/1.0/docs/reference/geospatial-queries/en) * [Storing Trees/Hierarchical Data](http://www.doctrine-project.org/projects/mongodb_odm/1.0/docs/reference/trees/en) I hope it is helpful to someone!]]></description>
		<link>http://www.jwage.com/2010/08/19/new-doctrine-mongodb-odm-documentation/</link>
			</item>
	<item>
		<title>Doctrine Annotations Library</title>
		<description><![CDATA[The Doctrine Annotations library was born from a need in the Doctrine2 ORM to allow the mapping information to be specified inside the doc-blocks of classes, properties and methods. The library is independent and can be used in your own libraries to implement doc block annotations. ## Setup and Configuration To use the annotations library [...]]]></description>
		<link>http://www.jwage.com/2010/08/02/doctrine-annotations-library/</link>
			</item>
	<item>
		<title>Array dereferencing in PHP trunk</title>
		<description><![CDATA[Today I was reading an [article](http://schlueters.de/blog/archives/138-Features-in-PHP-trunk-Array-dereferencing.html) about array dereferencing in PHP trunk. It is an awesome new feature added to PHP! Imagine you had some code like this: [php] class Foo { public function bar() { } } function func() { return new Foo(); } Previous to this addition in PHP you had to do [...]]]></description>
		<link>http://www.jwage.com/2010/07/31/array-dereferencing-in-php-trunk/</link>
			</item>
	<item>
		<title>Doctrine MongoDB ODM Schema Migrations</title>
		<description><![CDATA[[MongoDB](http://www.mongodb.org) is a schema-less database so as your domain model changes in Doctrine, you&#8217;ll have newer documents with different fields than older documents. Since we don&#8217;t have a way to rename a field internally in MongoDB, [yet](http://jira.mongodb.org/browse/SERVER-394), the only other option is to fetch all the documents and rename it in your application and update [...]]]></description>
		<link>http://www.jwage.com/2010/07/30/doctrine-mongodb-odm-schema-migrations/</link>
			</item>
	<item>
		<title>Inheritance and Mapped Super Classes in Doctrine</title>
		<description><![CDATA[[Single Collection Inheritance](http://www.doctrine-project.org/projects/mongodb_odm/1.0/docs/reference/inheritance-mapping/en#single-collection-inheritance) in the [Doctrine MongoDB ODM](http://www.doctrine-project.org/projects/mongodb_odm) allows you to map multiple classes in an inheritance hierarchy to a single collection in [MongoDB](http://www.mongodb.org). An example might be in a CMS where you have several different content types like the base Node, Page and BlogPost which all extends an abstract ContentType class. First define the [...]]]></description>
		<link>http://www.jwage.com/2010/07/28/inheritance-and-mapped-super-classes-in-doctrine/</link>
			</item>
	<item>
		<title>Setting Entity/Document references without hitting the database</title>
		<description><![CDATA[In [Doctrine 1](http://www.doctrine-project.org/projects/orm/1.2/docs/en) when you want to specify a reference you have two options, you can set the foreign key manually: [php] $user->setProfileId($profileId); $user->save(); The problem here is that the profile_id is set in the object but the reference to a Profile instance is not set. The next option is to actually set the object [...]]]></description>
		<link>http://www.jwage.com/2010/07/28/setting-entitydocument-references-without-hitting-the-database/</link>
			</item>
	<item>
		<title>Storing Files with MongoDB GridFS</title>
		<description><![CDATA[The [PHP MongoDB](http://www.php.net/mongo) extension provides a nice and convenient way to store files in chunks of data with the [MongoDB GridFS](http://us.php.net/manual/en/class.mongogridfs.php). It uses two database collections, one to store the metadata for the file, and another to store the contents of the file. The contents are stored in chunks to avoid going over the maximum [...]]]></description>
		<link>http://www.jwage.com/2010/07/27/storing-files-with-mongodb-gridfs/</link>
			</item>
	<item>
		<title>Multiple levels of Embedded Documents in MongoDB</title>
		<description><![CDATA[One of the greatest things about [MongoDB](http://www.mongodb.org) is the fact that it is schema-less. It makes for a very flexible domain model persistence layer. For example it is possible to have multiple levels of embedded documents. A useful example might be where you have many profiles and each profile has many addresses. In the [Doctrine](http://www.doctrine-project.org) [...]]]></description>
		<link>http://www.jwage.com/2010/07/27/multiple-levels-of-embedded-documents-in-mongodb/</link>
			</item>
	<item>
		<title>Using YQL to get geo location information for an IP address</title>
		<description><![CDATA[Post demonstrating the simple PHP YQL Geo Locator library.]]></description>
		<link>http://www.jwage.com/2010/07/27/using-yql-to-get-geo-location-information-for-an-ip-address/</link>
			</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced)

Served from: www.jwage.com @ 2010-09-07 05:50:50 -->