a really solid, perhaps unique, library that, as far as i can tell, completely addresses the "impedence mismatch" argument. if you're directly using a database api in a structured way, you've probably already reimplemented the sqlalchemy core, and refactoring your program to use sqlalchemy will give you an orm, should you want one, and make your code portable across database implementations even if you don't. if you'…
> i really wish there was something like sqlalchemy for java. Ebean[1], perhaps? I've only used it for a project in Play 2.0 that was built on Java (it's built into Play 2.0), but it was far less painful compared to other Java ORM libaries like Hibernate. [1] http://www.avaje.org/ebean/getstarted_props.html
SQLAlchemy 0.9.0 Released
21–30 of 43 posts
Re: SQLAlchemy 0.9.0 Released
#22a really solid, perhaps unique, library that, as far as i can tell, completely addresses the "impedence mismatch" argument. if you're directly using a database api in a structured way, you've probably already reimplemented the sqlalchemy core, and refactoring your program to use sqlalchemy will give you an orm, should you want one, and make your code portable across database implementations even if you don't. if you'…
Full disclosure: Founder.
Re: SQLAlchemy 0.9.0 Released
#23a really solid, perhaps unique, library that, as far as i can tell, completely addresses the "impedence mismatch" argument. if you're directly using a database api in a structured way, you've probably already reimplemented the sqlalchemy core, and refactoring your program to use sqlalchemy will give you an orm, should you want one, and make your code portable across database implementations even if you don't. if you'…
I find Jooq to be similiar in some ways. http://www.jooq.org
Re: SQLAlchemy 0.9.0 Released
#24Thanks for this release. Learning SQL before ever touching an ORM, SQLAlchemy's approach makes a lot more sense to me than something "simplier" like Django's ORM. Anyone know, is there any chance Django would pull in SQLAlchemy core as a dependency and implement their ORM on top of it?
The ORM is mediocre compared to SQLAlchemy, the template system is weak compared to Jinja2. If you swap Django's ORM with SQLAlchemy and replace Django Templates with Jinja2, you end up with something like Flask. The killer feature for me is Django's "admin" app. When I'm not using the "admin", the rest of Django kind of gets in the way. Nowadays I prefer a less opinionated framework like Flask if I'm not using the "…
The end result is that you spend less time deciding on small things and can just use what's in the box. The real value is that the next person working on the code is already on the same page and can start working with it a lot quicker.
Re: SQLAlchemy 0.9.0 Released
#25Thanks for this release. Learning SQL before ever touching an ORM, SQLAlchemy's approach makes a lot more sense to me than something "simplier" like Django's ORM. Anyone know, is there any chance Django would pull in SQLAlchemy core as a dependency and implement their ORM on top of it?
Re: SQLAlchemy 0.9.0 Released
#26Thanks for this release. Learning SQL before ever touching an ORM, SQLAlchemy's approach makes a lot more sense to me than something "simplier" like Django's ORM. Anyone know, is there any chance Django would pull in SQLAlchemy core as a dependency and implement their ORM on top of it?
The ORM is mediocre compared to SQLAlchemy, the template system is weak compared to Jinja2. If you swap Django's ORM with SQLAlchemy and replace Django Templates with Jinja2, you end up with something like Flask. The killer feature for me is Django's "admin" app. When I'm not using the "admin", the rest of Django kind of gets in the way. Nowadays I prefer a less opinionated framework like Flask if I'm not using the "…
I think it would have at least three positive outcomes:
* It would greatly increase support for the number of databases and database drivers.
* It would give developers something in between using the ORM or forgoing it and using SQL strings in raw() or db.connection().
* It would provide an easier path forward to adding additional capabilities into the Django ORM.
Re: SQLAlchemy 0.9.0 Released
#27a really solid, perhaps unique, library that, as far as i can tell, completely addresses the "impedence mismatch" argument. if you're directly using a database api in a structured way, you've probably already reimplemented the sqlalchemy core, and refactoring your program to use sqlalchemy will give you an orm, should you want one, and make your code portable across database implementations even if you don't. if you'…
Re: SQLAlchemy 0.9.0 Released
#28Thanks for this release. Learning SQL before ever touching an ORM, SQLAlchemy's approach makes a lot more sense to me than something "simplier" like Django's ORM. Anyone know, is there any chance Django would pull in SQLAlchemy core as a dependency and implement their ORM on top of it?
I don't see this ever happening because Django has no dependencies on any other Python libraries. It wouldn't make sense to start requiring SQLAlchemy only to reimplement the existing ORM on top of it for little to no benefit.
I think the packaging and setup tools are getting better so maybe it doesn't always have to be that way.
Re: SQLAlchemy 0.9.0 Released
#29how does SQLAlchemy support for PostGIS compare to GeoDjango ORM?
Looks like it's pretty robust: http://www.geoalchemy.org/tutorial.html
Re: SQLAlchemy 0.9.0 Released
#30Earlier quoted context omitted.
I don't see this ever happening because Django has no dependencies on any other Python libraries. It wouldn't make sense to start requiring SQLAlchemy only to reimplement the existing ORM on top of it for little to no benefit.
That's not true. Django doesn't install any other libraries. It simply includes them in Django itself, like simplejson or six. I think the packaging and setup tools are getting better so maybe it doesn't always have to be that way.
You can also see the "no dependencies" claim on the Django website: https://www.djangoproject.com/download/, it's a selling point.