3 ms·
Wasn't one of the major reasons for the giant Rails 3 switchover to allow datamapper or other ORM's to be used in place of activerecord?
by bryanlarsen 16y ago
Wasn't one of the major reasons for the giant Rails 3 switchover to allow datamapper or other ORM's to be used in place of activerecord?
- bwooceli 16y agoDon't know about the Rails world so much. But Django's "loose coupling" allows you to use a different ORM if you see fit as well. Though that's to be dosed with salt to taste... you lose some fun automagic stuff like manage.py <load/dump>data, contrib.admin, sessions A quick stackexchange search yielded a link here http://lethain.com/entry/2008/jul/23/replacing-django-s-orm-with-sqlalchemy/ http://lethain.com/entry/2008/jul/23/replacing-django-s-orm-...
- steveklabnik 16y agoIt's not so much that they couldn't be used before, but the coupling was so tight that there was a high burden on the maintainers to fix things when they broke. With the creation of a stable internal API for all of these kinds of things, DataMapper can now be just as much of a first class citizen as ActiveRecord.