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

[email protected] (Bastien)
Newsgroups php.general
Message-ID <[email protected]>

Bastien Koert

On 2013-05-30, at 10:30 PM, tamouse mailing lists <[email protected]> wrote:

> On Thu, May 30, 2013 at 8:45 PM, Stephen <[email protected]> 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?

Propel? Eloquent? Doctrine?

And others ...

Bastien
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.