Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #26532

Re: Object Models - decoupling data access - good examples ?

From Roy Smith <roy@panix.com>
Newsgroups comp.lang.python
Subject Re: Object Models - decoupling data access - good examples ?
Date 2012-08-05 09:04 -0400
Organization PANIX Public Access Internet and UNIX, NYC
Message-ID <roy-041EF6.09042405082012@news.panix.com> (permalink)
References <ebb88ade-7598-46b1-8fb6-fd7f7430b296@googlegroups.com> <roy-C112B6.21172104082012@news.panix.com> <bf551938-0b08-46d5-82be-812c3521a0cd@googlegroups.com>

Show all headers | View raw


In article <bf551938-0b08-46d5-82be-812c3521a0cd@googlegroups.com>,
 shearichard@gmail.com wrote:

> > Just out of curiosity, why do you eschew ORMs?
> > 
> Good question !
> 
> I'm not anti-ORM (in fact in many circs I'm quite pro-ORM) but for some time 
> I've been working with a client who doesn't want ORMs used (they do have 
> quite good reasons for this although probably not as good as they think). 

OK, I'll re-ask the question.  What are the reasons?

> I take your point about having "rolled my own ORM" - lol - but I can assure 
> you what's in that 'bardb' is a pretty thin layer over the SQL and nothing 
> like the, pretty amazing, functionality of, for instance, SQLAlchemy.

So, you're opposed to ORMs in general because you find SQLAlchemy too 
heavyweight.  I don't blame you; every time I look at SQLAlchemy, I go 
screaming in the other direction.  But, there are other ORMs. See, for 
example, http://lmgtfy.com/?q=python+orm.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Object Models - decoupling data access - good examples ? shearichard@gmail.com - 2012-08-04 17:04 -0700
  Re: Object Models - decoupling data access - good examples ? Roy Smith <roy@panix.com> - 2012-08-04 21:17 -0400
    Re: Object Models - decoupling data access - good examples ? shearichard@gmail.com - 2012-08-04 20:26 -0700
      Re: Object Models - decoupling data access - good examples ? Roy Smith <roy@panix.com> - 2012-08-05 09:04 -0400
      Re: Object Models - decoupling data access - good examples ? Adam Tauno Williams <awilliam@whitemice.org> - 2012-08-07 09:00 -0400
      RE: Object Models - decoupling data access - good examples ? "Sells, Fred" <fred.sells@adventistcare.org> - 2012-08-07 15:46 +0000

csiph-web