Re: Database Abstraction Class

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Mar 7, 2009 at 5:20 PM, Nathan Rixham <nrixham@xxxxxxxxx> wrote:
> Eric Butera wrote:
>>
>> On Sat, Mar 7, 2009 at 5:07 PM, Paul M Foster <paulf@xxxxxxxxxxxxxxxxx>
>> wrote:
>>>
>>> On Sat, Mar 07, 2009 at 12:34:40PM -0500, Eric Butera wrote:
>>>
>>>
>>> <snip>
>>>
>>>> PDO.  :)  Anything else is a waste of cpu cycles.
>>>
>>> I've looked into PDO, and I just didn't find it as feature-rich as the
>>> "native" (non-OO) function assortment for database types like MySQL and
>>> PostgreSQL. Can PDO be extended?
>>>
>>> In any case, I just wrote my own driver class for each DB type, and then
>>> a function which instantiates the appropriate driver with the
>>> appropriate parameters.
>>>
>>> Paul
>>>
>>> --
>>> Paul M. Foster
>>>
>>> --
>>> PHP General Mailing List (http://www.php.net/)
>>> To unsubscribe, visit: http://www.php.net/unsub.php
>>>
>>>
>>
>> Show me FETCH_INTO and FETCH_CLASS elsewhere. :D  What exactly is
>> missing for you?
>>
>
> try using those two with private variables using setters or magic methods to
> set and you'll see :p
>
> nath
>

Don't have to worry about it if it's a value object.

-- 
http://www.voom.me | EFnet: #voom

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux