FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » ORMs comparisons/complaints.
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: ORMs comparisons/complaints. [message #184392 is a reply to message #184325] Mon, 30 December 2013 04:27 Go to previous messageGo to previous message
Arne Vajhøj is currently offline  Arne Vajhøj
Messages: 27
Registered: December 2013
Karma:
Junior Member
On 12/23/2013 7:25 AM, Silvio wrote:
> I did several stabs at ORMs in some small toy projects but have mainly
> use ORMs working on existing projects using ORMs (both Hibernate and
> Toplink) that where performing extremely poorly and had become almost
> impossible to maintain and extend. I was then called in to take the ORM
> out of the system as much as possible. This always consisted of creating
> alternative tools for interacting with the RDBMS that the programmers
> could use to rewrite the must critical and/or problematic system parts.

Most places they are actually able to get ORM working.

> So you could say I have mainly negative experiences I could share. To
> put it bluntly: I think ORM is a bad idea in general. I dig OOP for
> modelling the transient behaviour of a running program but find the
> relational model far superior for modelling data. I also find it
> beneficial in general to think of data and programs working on data as
> separate things.
>
> ORM is a mechanism to help you do it the other way around, and a poor
> one at it. If you want to persist objects use an object database or
> serialize to some NoSQL store. If you want structured data in an RDBMS
> don't degrade it into a pile of persisted objects.

I am not quite sure that I can follow you.

If you want OO for the code and you want the relational database,
then you must do a mapping between the two.

You can either hand write a lot of code or use an ORM.

Typical using an ORM is faster because it means less code.

You may not be able to use ORM 100%, but then use it 90% and
hand write code for the remaining 10%.

Arne
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: tracking file usage
Next Topic: Processing accented characters submitted from forms
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 12 21:11:03 GMT 2024

Total time taken to generate the page: 0.04419 seconds