Welcome Guest, Not a member yet? Register   Sign In
Has anyone used the mongoQB?
#1

[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,
#2

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

[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.
#4

[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.).
#5

[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.
#6

[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.
#7

[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.
#8

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




Theme © iAndrew 2016 - Forum software by © MyBB