More views from an OR/M person
Rob Conery responded in a comment to my previous post, which includes some interesting points of discussion.
Okay, no problem, I am using [ActiveRecord] attributes, so that puts me about 1-2 lines of attributes per property + 1 to 2 lines of code per entity. You can see the mapping in the first example that I have posted.
I am not using OR/M because I want to keep the DB abstracted. I am using an OR/M because it frees me from a lot of persistence related concerns and allows me to concentrate on the domain and the business problems.
Only in the most extreme cases, and even then, after you have measured. Because the client is king, you want to ensure that you can keep giving value from the code that you have written. I am not seeing a problem between maintainable applications and performant applications, on the contrary. Maintainable applications give you a lot more flexibility in performance tuning.
Also, less performant, no?
BTW, why did you bring MySQL to the discussion?

Comments
Comment preview