Re: New PDO-based DBAL/ORM for PEAR2
| From: | David Coallier | Date: | Tue, 20 Nov 2007 18:18:48 +0000 |
| Subject: | Re: New PDO-based DBAL/ORM for PEAR2 | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-48517@lists.php.net to get a copy of this message | ||
On Nov 20, 2007 12:54 PM, Michael J. I. Jackson <mjijackson@gmail.com> wrote:
>
> On Nov 20, 2007, at 10:47 AM, Joshua Eichorn wrote:
>
> > Some people like DBAL/ORM some people don't
> >
> > Its a philosophical difference, you can argue all day and get nowhere
> >
> > Having a DBAL/ORM based on PDO could be a nice addition to PEAR
> > -josh
>
> Agreed. If you like straight PDO, be my guest. If you'd like a small
> (and it is small) layer for managing your connections and domain
> objects, with a few powerful abstraction features (and there are only
> a few), then this might be for you.
>
> Michael
>
>
> --
> PEAR Development Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
Ok let's try to make a deal, what about a driver design that by
default is using pdo ? That way, one could use it with or without PDO.
If I look at your code, it really is based on PDO.
I am +1 on having a PDO driver DBAL in PEAR2, however, I think we need
to support native dbs as well.
Hmm, perhaps that should be two packages.
1. DBAL
2. PHPORM which plugs in the DBAL you made.
That way, they are ... independant each another and people that want
to use the DBAL only, will get the DBAL only :-)
Bertrand, not an iphone but from a phone indeed :P
--
David Coallier,
Founder & Software Architect,
Agora Production (http://agoraproduction.com)
51.42.06.70.18