PHP Classes
elePHPant
Icontem

What is the best PHP mysql pdo connection class?: PDO MySQL Connection and Query

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  All requests RSS feed  >  What is the best PHP mysql pdo connection class?  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

What is the best PHP mysql pdo connection class?

Edit

Picture of Denis Breda by Denis Breda - 11 months ago (2015-03-09)

PDO MySQL Connection and Query

This request is clear and relevant.
This request is not clear or is not relevant.

+3

I would connect to a MySQL server using PDO and have queries inside the same class like: SELECT, DELETE, INSERT with bindParam filters.

Ask clarification

3 Recommendations

Database Manager: Connect and query several databases using PDO

This recommendation solves the problem.
This recommendation does not solve the problem.

+2

Picture of Samuel Adeshina by Samuel Adeshina package author package author Reputation 775 - 10 months ago (2015-03-29) Comment

This package acts as an handler between your app and any database such as MySQL, SQLite, PostgreSQL, SQL Server and so on. The query sub-class extends the connection class and can execute arbitrary queries and retrieve the results as an array or a string. Its becomes very handy in your situation since it makes you worry less about database connection ambiguities and query construction.


PDO Query Builder: Compose and execute SQL queries using PDO

This recommendation solves the problem.
This recommendation does not solve the problem.

+4

Picture of Günce Bektas by Günce Bektas package author package author Reputation 45 - 11 months ago (2015-03-17) Comment

This class will solve your problems


MicroPHP Framework: MVC framework for Web or command line applications

This recommendation solves the problem.
This recommendation does not solve the problem.

-2

Picture of Oleg Lunegov by Oleg Lunegov package author package author Reputation -5 - 11 months ago (2015-03-09) Comment

This package is a framework for implementing MVC based Web or command line PHP applications. There is a main class that takes some application configuration parameters and determines which application controller class is should load to dispatch the current Web request or command line script execution. The package provides base controller, view and model classes that should be extended by applications to handle the different types of requests and command line invocations specific to those applications. It also provides an extensive list of packages for all sorts of purposes like object-relational mapping database access, logging, user authentication, request data filtering and validation, widgets, wrappers for common functionality like mailing, HTTP and FTP requests, queueing, caching, thread management, etc..

wiki.micro.linpax.org api.micro.linpax.org forum.micro.linpax.org

  • 5 Comments
  • 1. Picture of Denis Breda by Denis Breda - 11 months ago (2015-03-09) Reply

    Thank you at all, but I don't really need an MCV, I would like to have only a single class like: class conn{ public function mysqlInsert(){} public function mysqlDelete(){} public function mysqlUpdate(){} }

    with PDO and Parameters Binding "SELECT * FROM Table WHERE ID = :ID";

    Thank You.

  • 2. Picture of Oleg Lunegov by Oleg Lunegov package author package author - 11 months ago (2015-03-09) in reply to comment 1 by Denis Breda Reply

    class PdoConnection Model and Query for you tickets

  • 3. Picture of Manuel Lemos by Manuel Lemos - 11 months ago (2015-03-10) Reply

    While your package is very complete, I think the original poster prefers a simpler package just for database access using PDO.

  • 4. Picture of Denis Breda by Denis Breda - 11 months ago (2015-03-11) in reply to comment 3 by Manuel Lemos Reply

    That's true Manuel :)

  • 5. Picture of Günce Bektas by Günce Bektas - 11 months ago (2015-03-18) Reply

    it's not a simple solution for database access


Recommend package
: 
: