coen-hyde / Shanty-Mongo

Shanty Mongo is a mongodb library for the Zend Framework. Its intention is to make working with mongodb documents as natural and as simple as possible. In particular allowing embedded documents to also have custom document classes.
Other
200 stars 52 forks source link

Add MongoDB resource plugin #125

Closed huyi1985 closed 6 years ago

huyi1985 commented 10 years ago

Setup MongoDB connections via a .ini file, just like using Zend Framework's built-in resource plugins.

As Zend Framework said, a good way to create re-usable bootstrap resources and to offload much of your coding to discrete classes is to utilize resource plugins.

coen-hyde commented 10 years ago

Hi @huyi1985,

Thanks for this. The tests break when running on Travis as it can't connect to the mongodb in the ini file. If you can find a way around this i will merge the pull request.

Also I would advise against using this library. You will loose data when working with embedded documents.

coen-hyde commented 6 years ago

Library is retired. Sorry your pr was never merged