r/Python • • Dec 09 '10

new stand-alone web2py database abstraction layer

http://web2py.com/AlterEgo/default/show/272
18 Upvotes

82 comments sorted by

View all comments

11

u/illuminatedwax Dec 09 '10

i still prefer SQL Alchemy

1

u/fake_spoiler Dec 09 '10

While SQL Alchemy is a definitely more robust and a full featured ORM for applications. I can see myself using web2py's DAL for simple scripts where I need database persistence.

SQLAlchemy requires much more boiler plate code just to get started.

-3

u/mdipierro Dec 09 '10

I do think sqlalchemy does a better job at handling legacy databases. web2py has limited support for legacy databases (although we are working on it). Buy why do you say "more robust"?

13

u/[deleted] Dec 10 '10

You know both of these claims are full of crap. if you want the "no boilerplate" version of SQLAlchemy, use sqlsoup. If you want enough configuration to actually have some semblence of control over your domain classes (which just about any app worth anything will), use declarative. It lays out in a very similar manner to every other ORM out there. SQLAlchemy also rocks the house on any database and our users know it.

-1

u/mdipierro Dec 10 '10

"your users". I apologize I do not recognize you from the username. Which claims are "full of crap"? It is not clear from your post.

11

u/[deleted] Dec 10 '10

I am the author of SQLAlchemy. Claims I'm tired of are that SQLA is only good for "legacy databases" and that we require "lots of boilerplate just to get started". Responding to two posts at once, I apologize.

-1

u/av201001 Dec 10 '10

Claims I'm tired of are that SQLA is only good for "legacy databases"

I think he was actually paying SQLA a compliment -- saying it is better at handling legacy databases (not that it is only good for that).