What's Wrong With ORM

Dirk Koopman djk at tobit.co.uk
Fri Mar 24 10:01:08 GMT 2006


On Fri, 2006-03-24 at 08:52 +0000, Greg McCarroll wrote:
> On 23 Mar 2006, at 23:09, Dave Cross wrote:
> 
> > Slides from tonight's little rant are online at
> >
> >   http://dave.org.uk/talks/lpm/2006/orm/
> 
> here's a suggested patch ...
> 
> No Metadata (Excuse 3)
> 
> * "if we put our business logic in the database it will be
>     really hard to change databases in the future"
> 
> * if you aren't using any features of your database why would
>    you ever want to change database
> 
> * software is more likely to change than business rules
> 
> --
> 
> disclaimer: i saw this argument on a blog/page recently and I'm
> afraid a search through delicious/google can't show me where i got
> it from. so it's not mine, but i agree with it.
> 
> and of course there are some database features that might make
> you want to change database that are not metadata related, e.g.
> synchronization. (if the feature you are changing database to get
> is transactions, you're not using a real database anyway ;-) ).

The real questions are:

* who programs the business logic?

* who maintains them?

* how do you manage the join between programs outside and inside the
database?

If ($dba eq $programmer) {
	fine();
} else {
	abort();
}

for what my 30 odd years worth of doing this is worth...

Dirk
  



More information about the london.pm mailing list