Re: New PDO-based DBAL/ORM for PEAR2

From: Date: Mon, 26 Nov 2007 15:57:34 +0000
Subject: Re: New PDO-based DBAL/ORM for PEAR2
References: 1 2 3 4 5 6 7 8  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-48601@lists.php.net to get a copy of this message
Hi David, On Nov 20, 2007, at 11:18 AM, David Coallier wrote:
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 :-)
I agree with the two package philosophy. It makes each package more lean and keeps the code separate. I've separated the packages and now the ORM piece is only available on the repository. This is also a heads up for anyone else who goes searching for the DBAL code in the repository. The ORM portion won't work without the underlying DBAL, so I need to get a new name for that and put it up somewhere. Michael

« previous php.pear.dev (#48601) next »