On May 16, 2006, at 8:25 AM, Bill de hÓra wrote:
> Which is to say in Java land we used to start with manager classes and
> wish for generic DB APIs (like, we did that for *years*, until
> Hibernate/Ibatis came along).  I've never seen any interesting db- 
> backed
> app not need to go round Managers eventually to get something done,  
> ergo
> DB APIs rock - and if things crystalise you can refactor the call into
> the Manager. But given the quality of DB apis these days, I wouldn't
> start with Managers.

I'll just point out here that Django's ORM is in some sense  
*deliberately* underpowered in recognition of this fact.  At times  
it's easier to Just Write SQL™ instead of trying to kludge an ORM  
into doing the right thing.

In other words:

DB-API: too cold
Hibernate: too hot
Django: *just* right

(Which I suppose makes me Goldilocks, and I'm not sure how I feel  
about that.)

Jacob


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to