[mongodb-user] Mongo & CodeIgniter

194 views
Skip to first unread message

Juan Ignacio Borda

unread,
May 19, 2010, 12:06:11 PM5/19/10
to mongod...@googlegroups.com
Does have anyone experience working with mongo in this framework or
another? can anyone recommend a framework?
Juan

--
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To post to this group, send email to mongod...@googlegroups.com.
To unsubscribe from this group, send email to mongodb-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/mongodb-user?hl=en.

juanignacioborda.vcf

Jonathan Wage

unread,
May 19, 2010, 1:05:03 PM5/19/10
to mongod...@googlegroups.com
Hi,

I know some people who are using the Doctrine ODM with Symfony and Zend Framework. It is so new and early though that not much has been written about it yet.


- Jon
--
Jonathan H. Wage (+1 415 992 5468)
Open Source Software Developer & Evangelist
sensiolabs.com | jwage.com | doctrine-project.org | symfony-project.org

You should follow me on Twitter: http://www.twitter.com/jwage

You can contact Jonathan about Doctrine, Symfony and Open-Source or for training, consulting, application development, or business related questions at jonath...@sensio.com

Mitch Pirtle

unread,
May 19, 2010, 2:19:30 PM5/19/10
to mongod...@googlegroups.com
Assuming you're talking about PHP frameworks, beyond Zend, Code
Igniter and Symfony there are a few that have MongoDB support natively
or through contributed database drivers:

Lithium - http://lithify.me/
Kohana - MangoDB http://wiki.github.com/Wouterrr/MangoDB/

I'm a huge fan of Lithium and have also created MongoDB support for
the Joomla CMS. There's also support for fields and views for Drupal7,
among other things.

-- Mitch

On Wed, May 19, 2010 at 12:06 PM, Juan Ignacio Borda
<juanigna...@gmail.com> wrote:

Mitch Pirtle

unread,
May 19, 2010, 2:20:35 PM5/19/10
to mongod...@googlegroups.com
Also forgot to point you here, the PHP language center in the MongoDB wiki:

http://www.mongodb.org/display/DOCS/PHP+Language+Center

Should be useful to you.

-- Mitch

Juan Ignacio Borda

unread,
May 20, 2010, 10:55:46 AM5/20/10
to mongod...@googlegroups.com
Thank you very much.
juanignacioborda.vcf

Shaun Kruger

unread,
May 20, 2010, 11:11:50 AM5/20/10
to mongod...@googlegroups.com
I find that mongoDB is easy enough to use with codeigniter. I would
recommend implementing a library that handles your mongoDB connection.
http://codeigniter.com/user_guide/general/creating_libraries.html

I find that codeigniter is enough framework to organize my code without
forcing me into too many unhelpful constructs.

Shaun

Wouter

unread,
May 20, 2010, 11:48:56 AM5/20/10
to mongodb-user
You should take a look at my MongoDB modules for Kohana (http://
wiki.github.com/Wouterrr/).

Kohana started as a fork of CI, so if you're familiar with CI, you
might recognize some similar concepts. If you decide to write your own
library for CI, this might be a good starting point. Also, it's much
lighter than Doctrine.

Someone should do a comparison of MongoDB libraries once :-).

On May 20, 5:11 pm, Shaun Kruger <skru...@fastinfra.com> wrote:
> I find that mongoDB is easy enough to use with codeigniter.  I would
> recommend implementing a library that handles your mongoDB connection.http://codeigniter.com/user_guide/general/creating_libraries.html

Suissa

unread,
May 20, 2010, 12:32:07 PM5/20/10
to mongod...@googlegroups.com

Juan Ignacio Borda

unread,
May 20, 2010, 1:14:00 PM5/20/10
to mongod...@googlegroups.com
There is a CI library for mongo but the problem i'm facing is that when i create a model the framework try to connect using the defaul dbdriver which is not mongo, since mongo doesn't hav a driver.
juanignacioborda.vcf

Mitch Pirtle

unread,
May 20, 2010, 1:50:51 PM5/20/10
to mongod...@googlegroups.com
On Thu, May 20, 2010 at 11:48 AM, Wouter <wieg...@gmail.com> wrote:
> You should take a look at my MongoDB modules for Kohana (http://
> wiki.github.com/Wouterrr/).
>
> Kohana started as a fork of CI, so if you're familiar with CI, you
> might recognize some similar concepts. If you decide to write your own
> library for CI, this might be a good starting point. Also, it's much
> lighter than Doctrine.
>
> Someone should do a comparison of MongoDB libraries once :-).

Excellent idea, Wouter! I'm excited to see your comparison. :-)

-- Mitch

Suissa

unread,
May 20, 2010, 1:56:58 PM5/20/10
to mongod...@googlegroups.com
For that i wanna create one using the php driver, its easy to use.

Wouter

unread,
May 20, 2010, 8:40:40 PM5/20/10
to mongodb-user
> > Someone should do a comparison of MongoDB libraries once :-).
>
> Excellent idea, Wouter! I'm excited to see your comparison. :-)

I can't do it. I'm biased because I wrote a library myself. You should
do it :-).

Mitch Pirtle

unread,
May 20, 2010, 11:24:51 PM5/20/10
to mongod...@googlegroups.com
On Thu, May 20, 2010 at 8:40 PM, Wouter <wieg...@gmail.com> wrote:
>> > Someone should do a comparison of MongoDB libraries once :-).
>>
>> Excellent idea, Wouter! I'm excited to see your comparison. :-)
>
> I can't do it. I'm biased because I wrote a library myself. You should
> do it :-).

I'm getting sucked into Lithium, so I might be as biased as you. Maybe
we could do a Siskel & Ebert style session, and end it with a true
nerd-style slap fight.

-- Mitch
Reply all
Reply to author
Forward
0 new messages