MongoDB

30 views
Skip to first unread message

Kless

unread,
Jun 6, 2009, 2:18:32 PM6/6/09
to TurboGears
Are there many dependencies of SQLAlchmey into TG stack?

I would to use MongoDB [1] since that it lets scale easily (in
addition of that it's very powerful and easy to use). And if anybody
has any doubt bout its performance, read here [2].


[1] http://www.mongodb.org/display/DOCS/Home
[2] http://bcbio.wordpress.com/2009/05/10/evaluating-key-value-and-document-stores-for-short-read-data/

Mark Ramm

unread,
Jun 7, 2009, 3:11:12 PM6/7/09
to turbo...@googlegroups.com
I am using MongoDB with TG2 just fine. You can set use_sqlalchemy to
false, and get rid of the calls into SA that are part of the standard
TG2 quickstart template, and then you're good to go.

Of course some TG2 libraries like Sprox and repoze.what aren't MongoDB
enabled yet, though the could very likely be adapted to work with
Mongo on some level.

--Mark
--
Mark Ramm-Christensen
email: mark at compoundthinking dot com
blog: www.compoundthinking.com/blog

Kless

unread,
Jun 8, 2009, 5:43:19 AM6/8/09
to TurboGears
Thanks Mark,

I'm glad because TG2 can play well with MongoDB too.

Respect to repoze.what, I have not any problem because I'd built a
plugin to use Redis, which it's perfect by its features to use
together to authorization and users sessions.

http://pypi.python.org/pypi/repoze.what.plugins.redis/


On 7 jun, 19:11, Mark Ramm <mark.mchristen...@gmail.com> wrote:
> I am using MongoDB with TG2 just fine.   You can set use_sqlalchemy to
> false, and get rid of the calls into SA that are part of the standard
> TG2 quickstart template, and then you're good to go.
>
> Of course some TG2 libraries like Sprox and repoze.what aren't MongoDB
> enabled yet, though the could very likely be adapted to work with
> Mongo on some level.
>
> --Mark
>
> On Sat, Jun 6, 2009 at 2:18 PM, Kless<jonas....@googlemail.com> wrote:
>
> > Are there many dependencies of SQLAlchmey into TG stack?
>
> > I would to use MongoDB [1] since that it lets scale easily (in
> > addition of that it's very powerful and easy to use). And if anybody
> > has any doubt bout its performance, read here [2].
>
> > [1]http://www.mongodb.org/display/DOCS/Home
> > [2]http://bcbio.wordpress.com/2009/05/10/evaluating-key-value-and-docume...
Reply all
Reply to author
Forward
0 new messages