Another mongodb Django ORM

27 views
Skip to first unread message

Mini

unread,
Sep 7, 2010, 6:10:55 AM9/7/10
to mongodb-user
Hello,

I started another mongodb Django ORM project, mongomodel at
https://code.google.com/p/mongomodel/

Even though there're many good mongodb/Django models, what I want to
focus is supporting Django Admin Site and Join.

Sure as MongoDB doesn't support Join itself, my implementation is very
poor at its design and performance. Just it works anyway.

The current version is very early stage, but I hope to help someone
who build simple Django site on MongoDB with easy.

Thanks

Waldemar Kornewald

unread,
Sep 7, 2010, 7:00:38 AM9/7/10
to mongodb-user
On Sep 7, 12:10 pm, Mini <mini...@gmail.com> wrote:
> Hello,
>
> I started another mongodb Django ORM project, mongomodel athttps://code.google.com/p/mongomodel/
>
> Even though there're many good mongodb/Django models, what I want to
> focus is  supporting Django Admin Site and Join.
>
> Sure as MongoDB doesn't support Join itself, my implementation is very
> poor at its design and performance. Just it works anyway.

Have you heard of the Django-nonrel project? We already support
MongoDB and App Engine and other people have shown interest in
Cassandra and CouchDB. Our backends allow to use Django's own ORM (the
real thing) instead of some separate API which just looks like Django.
We also want to support JOINs and other advanced features, but we're
building it as an abstract DB-independent layer, so it works on App
Engine, MongoDB, etc. The first steps toward this layer are discussed
here:
http://www.allbuttonspressed.com/blog/django/2010/09/Get-SQL-features-on-NoSQL-with-django-dbindexer

Also, we support the admin UI and you can write code that works on
MongoDB and App Engine and other DBs (e.g., the Django-nonrel project
website runs on MongoDB, App Engine, and SQL *unmodified*).

The Django-nonrel project is here:
http://www.allbuttonspressed.com/projects/django-nonrel

The MongoDB backend is here:
http://github.com/FlaPer87/django-mongodb-engine

Please consider merging your code with our MongoDB backend. Today
around 17:00 UTC we'll hold an IRC chat to discuss the dbindexer's
JOIN support. Let me know if you want to help (send me a private
mail). I'm sure your experience with implementing JOINs could be
helpful.

Bye,
Waldemar Kornewald

Min

unread,
Sep 7, 2010, 7:32:48 AM9/7/10
to mongod...@googlegroups.com
Thanks for the reply.

I found that there're already great works on mongodb backend. I could merge or replace the backend on django-nonrel.
I'm going to look into deeply the project and get more insight form it.

And due to a time difference,+9h UTC, I might not join the IRC chat. 

My JOIN implementation is just searching twice or more on related tables by combining '$in' with previous search result and is not optimized at all.
I think dbindexer's approach would fundamentally resolve the performance issue. I'll keep my eyes open on the project. 


Thanks

2010/9/7 Waldemar Kornewald <wkorn...@gmail.com>

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


Waldemar Kornewald

unread,
Sep 8, 2010, 11:23:25 AM9/8/10
to mongod...@googlegroups.com
On Tue, Sep 7, 2010 at 1:32 PM, Min <min...@gmail.com> wrote:
> Thanks for the reply.
> I found that there're already great works on mongodb backend. I could merge
> or replace the backend on django-nonrel.
> I'm going to look into deeply the project and get more insight form it.

OK, great. Please contribute patches by forking the MongoDB backend on
github. Flavio will take care of contributions. Regarding
Django-nonrel and the dbindexer you should join the discussion group
and continue the discussion there once you're ready:
http://groups.google.com/group/django-non-relational

Bye,
Waldemar Kornewald

--
Django on App Engine, MongoDB, ...? Browser-side Python? It's open-source:
http://www.allbuttonspressed.com/blog/django

Reply all
Reply to author
Forward
0 new messages