Re: [flask] [ANN] Flask-MongoAlchemy, MongoDB on Flask through MongoAlchemy
- From:
- Francisco Souza
- Date:
- 2010-12-22 @ 09:56
>
> On Wed, Dec 22, 2010 at 5:05 AM, Chaitanya Sharma <gopi.daiict@gmail.com>wrote:
> Looks cool to me!
>
> Shall put it to use early this weekend! hope you don't mind me sending
> questions your way.
>
Nice! Please let me know about your experience with Flask-MongoAlchemy :)
> On Wed, Dec 22, 2010 at 6:59 AM, danjac354@gmail.com <danjac354@gmail.com>wrote:
> Further suggestions (based on Flask-SQLAlchemy):
>
> 1. Pagination support
> 2. "get_or_404()/first_or_404()" methods
>
Thanks Dan!
It is already on my backlog:
https://github.com/cobrateam/flask-mongoalchemy/issues
On Wed, Dec 22, 2010 at 6:54 AM, danjac354@gmail.com <danjac354@gmail.com>wrote:
>
> [...]
>
> One tiny quibble in the docs: it's "Mark Pilgrim" not "Pillgrin" :-)
>
Yes, I know. I just put another "l" to show how to make an update. I was
without any imagination at that time :(
Later today I will think in a better example and change it.
Thanks a lot,
Francisco Souza
Software developer at Giran and also full time
Open source evangelist at full time
English: http://www.franciscosouza.com
Portuguese: http://www.franciscosouza.com.br
Twitter: @franciscosouza
+55 27 3026 0264
On Wed, Dec 22, 2010 at 6:59 AM, danjac354@gmail.com <danjac354@gmail.com>wrote:
> Further suggestions (based on Flask-SQLAlchemy):
>
> 1. Pagination support
> 2. "get_or_404()/first_or_404()" methods
>
> On 22 December 2010 08:54, danjac354@gmail.com <danjac354@gmail.com>
> wrote:
> > Looks very good. We need an "official" Flask MongoDB extension (there
> > are already 2 for CouchDB) and the API looks very nice. I've been
> > looking for something like this for a while and MongoAlchemy looks
> > promising.
> >
> > One tiny quibble in the docs: it's "Mark Pilgrim" not "Pillgrin" :-)
> >
> > On 22 December 2010 00:11, Francisco Souza <francisco@franciscosouza.net>
> wrote:
> >> Hello everyone :)
> >>
> >> I've just released Flask-MongoAlchemy, an extension who provides
> integration
> >> between Flask applications and MongoAlchemy [1].
> >>
> >> Check this out:
> >>
> >> Docs: http://packages.python.org/Flask-MongoAlchemy
> >> Source: http://github.com/cobrateam/flask-mongoalchemy
> >> Cheeseshop: http://pypi.python.org/pypi/Flask-MongoAlchemy
> >>
> >> Please let me know what do you think
> >>
> >> [1] http://mongoalchemy.org
> >>
> >> Regards,
> >> Francisco Souza
> >> Software developer at Giran and also full time
> >> Open source evangelist at full time
> >>
> >> English: http://www.franciscosouza.com
> >> Portuguese: http://www.franciscosouza.com.br
> >> Twitter: @franciscosouza
> >> +55 27 3026 0264
> >>
> >
>
Re: [flask] [ANN] Flask-MongoAlchemy, MongoDB on Flask through MongoAlchemy
- From:
- Jonathan Chen
- Date:
- 2010-12-22 @ 16:34
Just looking at this ... what is the difference of MongoKit and
MongoAlchemy? Is MongoDB good for small websites?
~Jonathan C.
Re: [flask] [ANN] Flask-MongoAlchemy, MongoDB on Flask through MongoAlchemy
- From:
- Anton Khodakivskiy
- Date:
- 2010-12-22 @ 16:37
For a small website I'd suggest you not to use any mappers, just use raw PyMongo.
The idea behind all the NoSql mappers is to impose a schema on the
schema-less data storage, which does not make much sense as to me.
On Dec 22, 2010, at 6:34 PM, Jonathan Chen wrote:
> Just looking at this ... what is the difference of MongoKit and
MongoAlchemy? Is MongoDB good for small websites?
>
> ~Jonathan C.
>
>
>
Re: Flask-MongoAlchemy, MongoDB on Flask through MongoAlchemy
- From:
- Alex Ezell
- Date:
- 2010-12-22 @ 16:41
I'd agree with Anton here. I've never understood removing the schema-less
benefits of something like MongoDB by layering an ORM on top of it.
PyMongo is really good, fast, and easy.
Alex
On Wednesday, December 22, 2010 at 10:37 AM, Anton Khodakivskiy wrote:
> For a small website I'd suggest you not to use any mappers, just use raw
PyMongo.
>
> The idea behind all the NoSql mappers is to impose a schema on the
schema-less data storage, which does not make much sense as to me.
>
> On Dec 22, 2010, at 6:34 PM, Jonathan Chen wrote:
>
>
> > Just looking at this ... what is the difference of MongoKit and
MongoAlchemy? Is MongoDB good for small websites?
> >
> > ~Jonathan C.
> >
> >
>
>
>
>
Re: [flask] Re: Flask-MongoAlchemy, MongoDB on Flask through MongoAlchemy
- From:
- Pascal Hartig
- Date:
- 2010-12-22 @ 20:19
Great work! Clean code and great coverage both on documentation and tests.
However, I would like to know what benefits or differences
MongoAlchemy has compared to other layers/ORMs like MongoKit.
Cheers,
Pascal
Re: [flask] Re: Flask-MongoAlchemy, MongoDB on Flask through MongoAlchemy
- From:
- Francisco Souza
- Date:
- 2010-12-23 @ 09:41
>
> On Wed, Dec 22, 2010 at 6:19 PM, Pascal Hartig <phartig@rdrei.net> wrote:
> Great work! Clean code and great coverage both on documentation and tests.
>
> However, I would like to know what benefits or differences
> MongoAlchemy has compared to other layers/ORMs like MongoKit.
>
Hi Pascal!
IMHO, it is about API. I really like MongoAlchemy API, and I know that it is
not as mature as MongoKit is.
On Wed, Dec 22, 2010 at 2:37 PM, Anton Khodakivskiy <akhodakivskiy@gmail.com
> > wrote:
> For a small website I'd suggest you not to use any mappers, just use raw
> PyMongo.
>
> The idea behind all the NoSql mappers is to impose a schema on the
> schema-less data storage, which does not make much sense as to me.
>
I don't think that use a mapper for a document-oriented database is
something bad. A database should be only a repository of data and you need
to be free to represent this data in the way you want (or your application
demands).
It is not about big or small applications, it is all about your application
design and what do you think is better for it.
Regards,
Francisco Souza
Software developer at Giran and also full time
Open source evangelist at full time
English: http://www.franciscosouza.com
Portuguese: http://www.franciscosouza.com.br
Twitter: @franciscosouza
+55 27 3026 0264
On Wed, Dec 22, 2010 at 6:19 PM, Pascal Hartig <phartig@rdrei.net> wrote:
> Great work! Clean code and great coverage both on documentation and tests.
>
> However, I would like to know what benefits or differences
> MongoAlchemy has compared to other layers/ORMs like MongoKit.
>
> Cheers,
> Pascal
>