I am trying to integrate zend framework 2 with Mongo DB , can someone please provide the steps or any links to do so.
Query: Can integration be done without using Doctrine 2?
I am trying to integrate zend framework 2 with Mongo DB , can someone please provide the steps or any links to do so.
Query: Can integration be done without using Doctrine 2?
The pre-requisite is that you'll need to install the PECL MongoDB driver:
NOTE: This assumes you are using Zend Server CE. If not, the
mongo.ini
file will need to be created in the directory that your distribution designates as the extension directory:Once you've gotten that all setup, you can following the tutorial from the PHP manual.