Re: Django ORM & DB backend coupling

2013-12-24 Thread Marc Aymerich
On Tue, Dec 24, 2013 at 4:15 PM, Rakan Alhneiti wrote: > Hello all, > > I was discussing the topic with a couple of my friends that Django's ORM is > / is not tightly coupled with databases in general. My point of view was > that django is not tightly coupled because you can write custom DB backen

Re: Django ORM & DB backend coupling

2013-12-24 Thread Marc Aymerich
On Tue, Dec 24, 2013 at 4:15 PM, Rakan Alhneiti wrote: > Hello all, > > I was discussing the topic with a couple of my friends that Django's ORM is > / is not tightly coupled with databases in general. My point of view was > that django is not tightly coupled because you can write custom DB backen

Re: Django ORM & DB backend coupling

2013-12-24 Thread Rakan Alhneiti
Good points. The case at hand takes place when thinking about developing a django application on top of a service-oriented backend system that provides you with CRUD operations for data and abstracting the DB engine or storage mechanism that this backend is using. It does make sense to integrat

Re: Django ORM & DB backend coupling

2013-12-24 Thread Andrew Farrell
This seems like it would be a reasonable idea if the API represented a data model that was fundamentally relational in character. However, many are not. An API should be designed such that it is the best way to interact with its data model, so trying to shoehorn it into an ORM's API seems like it w

Django ORM & DB backend coupling

2013-12-24 Thread Rakan Alhneiti
Hello all, I was discussing the topic with a couple of my friends that Django's ORM is / is not tightly coupled with databases in general. My point of view was that django is not tightly coupled because you can write custom DB backends to deal with other sources of data such as a Restful API se