object-relational mappers

hdante hdante at gmail.com
Tue Apr 1 19:24:40 EDT 2008


On Apr 1, 5:40 pm, Aaron Watters <aaron.watt... at gmail.com> wrote:
> I've been poking around the world of object-relational
> mappers and it inspired me to coin a corellary to the
> the famous quote on regular expressions:
>
> "You have objects and a database: that's 2 problems.
> So: get an object-relational mapper:
> now you have 2**3 problems."
>
> That is to say I feel that they all make me learn
> so much about the internals and features of the
> O-R mapper itself that I would be better off rolling
> my own queries on an as-needed basis without
> wasting so many brain cells.
>
> comments?

 Try Rails' ActiveRecord. Your problems should reduce to (lg lg
2)^(1/12).

 Seriously, you'll forget there's a relational database below. (there
are even intefaces for "relational lists", "trees", etc.)

 I won't post a code sample here, it would be heretic.

 :-)

>
>    -- Aaron Watters
>
> ===http://www.xfeedme.com/nucular/pydistro.py/go?FREETEXT=mild+exponenti...




More information about the Python-list mailing list