Re: breaking out DB dsn parser
| From: | Daniel Convissor | Date: | Wed, 18 May 2005 16:59:49 +0000 |
| Subject: | Re: breaking out DB dsn parser | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-37725@lists.php.net to get a copy of this message | ||
On Wed, May 18, 2005 at 10:21:00AM -0400, Lukas Smith wrote:
> Therefore I think having a DB_DSN package seems to make sense to me in
> order to get from an RDBMS independent string to an array useful in PDO.
> Also currently we are maintain the same code 3 times in CVS (DB, MDB, MDB2).
While it would simplify things as far as being able to maintain the code
in one place, this doesn't seem worth the hastle and extra file include.
In addition, I don't think it's necessary for PEAR's DSN format to mimic
PDO's, or the other way around.
--Dan
--
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
data intensive web and database programming
http://www.AnalysisAndSolutions.com/
4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409