CodeIgniter Forums
Has anyone used the mongoQB? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Has anyone used the mongoQB? (/showthread.php?tid=56236)



Has anyone used the mongoQB? - El Forum - 12-04-2012

[eluser]Marcelo Wanderley[/eluser]
Anyone have any experience with integration with CodeIgniter MongoDB?

I watched a lib called MongoQB found very interesting, but could not integrate.


hugs,


Has anyone used the mongoQB? - El Forum - 12-04-2012

[eluser]Aken[/eluser]
We've used this one, no problems with it: https://github.com/alexbilbie/codeigniter-mongodb-library


Has anyone used the mongoQB? - El Forum - 12-05-2012

[eluser]Marcelo Wanderley[/eluser]
Lab Technician,

I would use this lib, but I contacted Alex Bilbie and he said not to use that more Lib. He said to use the new Lib MongoQB he is writing.

Commented that this updated and is in constant bug fixes.

Only, I could not integrate with codeigniter.

  What do you think we see together?

Hugs.


Has anyone used the mongoQB? - El Forum - 12-05-2012

[eluser]Aken[/eluser]
You'll need to modify the library a bit to be compatible with CI's traditional library loading.

Or, just use it manually with traditional PHP (using require(), $mongo = new \MongoDb\Builder, etc.).


Has anyone used the mongoQB? - El Forum - 12-05-2012

[eluser]Marcelo Wanderley[/eluser]
to use the traditional way you need to create a file inside the folder and import the file Lib Build?

Could show how to do?


Thank you.



Has anyone used the mongoQB? - El Forum - 12-05-2012

[eluser]Unknown[/eluser]
I used the mongodb native driver from php.net. Then I created a model class to wrap round calls to create Mongo objects. Very simple.


Has anyone used the mongoQB? - El Forum - 12-06-2012

[eluser]Marcelo Wanderley[/eluser]
Summer Student

I'm a little beginner, would you show an example of how I can do?

Will I be able to use all functions of the table Builder similar to active record?

Could you help again?

Thank you.


Has anyone used the mongoQB? - El Forum - 12-11-2012

[eluser]ramirors[/eluser]
Also ask your server provider if your server has mongo drivers....webfaction doesnt, site5 does.