Page 1 of 1

Object Relational Mapping

Posted: Mon Jan 09, 2006 4:35 am
by Maugrim_The_Reaper
I've been running through a few projects recently and became fascinated with getting rid of large tracts of repetitive code. Most of it is from hand-coded objects to handle row data using a Data Access Object to CRUD Transfer Objects (glorified arrays with an API) to and from the database.

The problem is that a) they're hand coded, b) they're fairly simplistic, and c) I hate repetitive coding...;)

Wondering if people would care to suggest a favourite ORM package, and how they'd contrast those against something with a little more hype...a la ActiveRecord?

Posted: Mon Jan 09, 2006 7:39 am
by Gambler
Can I convince you to try my Natural DB?

http://nengine.korsengineering.com/file ... nodes.phps

Well, it's not exactly an ORM package, but it solves similar problems. (Manipulating data without writing SQL.)

Posted: Mon Jan 09, 2006 8:03 am
by timvw
I like the Java Persistence approach. If i understand Fowler a bit he would categorize it under the "Data Mapper" tools.

Most solutions are mentionned at http://wiki.cc/php/Object_Relational_Mapping. Last time i checked the one that most ressembled java persistence was ezpdo.

Posted: Mon Jan 09, 2006 9:29 am
by Maugrim_The_Reaper
ez component?

I'll check it out, thanks.