Re: Looking for a good working PDO and/or mysqli database class to get started with OOP

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

 



On Thu, May 30, 2013 at 8:45 PM, Stephen <stephen-d@xxxxxxxxxx> wrote:
> On 13-05-30 09:36 PM, dealTek wrote:
>>
>> Hi all, Thanks for your help...
>>
>> I'm looking for a very good, pre made, working PDO and/or mysqli database
>> class (in a wrapper) - to get started with, that has all the basic needs
>> like UPDATE - INSERT - DELETE - QUERY etc. That would be very helpful. I'm
>> also trying to learn OOP, and creating my own class to start out is over my
>> head, so one that is recommended here would be a good start.
>>
> Hmmm.....  PDO   **IS** an OOP implementation. Why would you want to
> encapsulate it?
>
> Accessing a database requires SQL with arguments dependant on YOUR database
> schema.
>
> You have to do that work; there is no way around it.

Sounds like the OP is asking for a pre-built CRUD interface that
adapts to his tables and their relationships. It's a fair question,
just one I don't have an answer to. There must be some kind of ORM for
PHP?

-- 
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