PHP Classes

PDO wrapper: I need to feed a blog

Recommend this page to a friend!
  All requests RSS feed  >  PDO wrapper  >  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  

PDO wrapper

Edit

Picture of Paolo Dodet by Paolo Dodet - 9 years ago (2015-05-20)

I need to feed a blog

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

+1

I need to store a blog using a minimalist database class using PDO wrapper.

Ask clarification

2 Recommendations

Full DB-PDO abstraction: Store and retrieve database data as objects

This package can store and retrieve database data as objects using PDO.

It provides a base class that connects to a database using PDO.

Other classes can query database tables and retrieve the results as objects with the variables set to the result column names.

It is also possible to insert, update or delete records using the same or newly created objects set with the variables with values for the respective fields that are intended to be added or changed.
This recommendation solves the problem.
This recommendation does not solve the problem.

+1

Picture of Pierre Delporte by Pierre Delporte package author package author Reputation 30 - 9 years ago (2015-05-27) Comment

Easy and quick to implement. See the example.


PHP PDO Singleton Database Wrapper: Execute common MySQL queries using PDO

This class that can execute common MySQL queries using PDO.

It uses the singleton design pattern to connect to a given MySQL database and execute SELECT, INSERT, UPDATE and DELETE prepared queries from lists of parameters that specify the involved tables, fields, values, conditions, etc..

Queries that return results may return them as a single array or or single value.
This recommendation solves the problem.
This recommendation does not solve the problem.

+1

Picture of Dave Smith by Dave Smith Reputation 7620 - 9 years ago (2015-05-20) Comment

This one looks simple and to the point. It has no negative support requests associated with it, so I would start here.


Recommend package
: 
: