Re: Annouce: DBIx::Class, a.k.a "taking the easy way out"

[prev] [thread] [next] [Date index for 2005/07/27]

From: Aaron Trevena
Subject: Re: Annouce: DBIx::Class, a.k.a "taking the easy way out"
Date: 08:57 on 27 Jul 2005
On 7/26/05, Tony Bowden <tony-cdbitalk@xxxxx.xxx> wrote:
> On Tue, Jul 26, 2005 at 07:58:04PM +0100, Matt S Trout wrote:
> > I've done quite a bit of work using Maypole, and have seen MI-related
> > breakages of various forms first-hand in the process.
>=20
> Maypole isn't just MI. Maypole is forcing SI classes to become MI
> without their consent: "I don't care who YOU think your parents are,
> I know better"...
>=20
>     for my $subclass (@{$config->{classes}}) {
>         unshift @{$subclass."::ISA"}, $config->{model};
>=20
> This is perhaps the scariest code I've seen in quite some time.
>=20
> There's a slight irony in the fact that the system that, um, "inspired"
> Maypole originated with this sort of madness, but we'd long since
> repented of that and replaced it with a much cleaner 'actor' vs 'model'
> split several years before Simon started working with us/it, thus
> depriving him of the chance of properly learning from our mistakes :)

This is something we'll probably look at in the next couple of
releases. I am focussing on making it work well out of the box at the
moment and will then start optimising the internals when most people
are getting a lot out of how it works already.

Cheers,

A,

(message missing)

Delegation vs Hooks (was: Annouce: DBIx::Class, a.k.a "taking the easy way out")
=?ISO-8859-1?Q?Ask_Bj=F8rn_Hansen?= 23:27 on 26 Jul 2005

Re: Annouce: DBIx::Class, a.k.a "taking the easy way out"
Aaron Trevena 08:57 on 27 Jul 2005

Generated at 16:36 on 28 Jul 2005 by mariachi v0.52