Bittarman/zf-d2-odm — pull request #2 by PvlsGnnks (2012-04-03 18:03:11+00:00)
Title: Added the functionality to connect to a remote mongodb instance

Hi,

I just added the functionality to connect to a remote mongodb instance.
This is done via the function getMongoObject() in the ODM.php file in your library, which creates a DSN and returns a mongo object.

In case nothing is passed to this function, a DSN to the local mongodb instance is created, otherwise to a remote mongodo instance.

The returned mongo object is then passed as an argument to the DocumentManager::create() function.

For more details see the code and comments in it.

Regards
Pavlos