Projects / PDO4You

PDO4You

PDO4You is a class that implements the Singleton design pattern for connecting the database using the PDO extension (PHP Data Objects). It provides an abstraction layer for accessing data, regardless of which database you are using, and ensures that there is a single object instance per database connection. It can connect to several possible SQL databases using the available PDO drivers. Currently it supports MySQL, PostgreSQL, SQLite, MariaDB, Oracle, Microsoft SQL server, Sybase, and CUBRID (a database highly optimized for Web applications). The class can also execute multiple queries at once given a string in JSON format that specifies the type of query, the tables, fields, field values, conditions, etc.

Tags
Licenses
Implementation

Recent releases

  •  08 Oct 2013 22:10

    Release Notes: This release adds support for Composer.

    •  18 Jun 2013 21:55

      Release Notes: This release adds support for MariaDB databases.

      •  14 Jun 2013 12:50

        Release Notes: This release adds SQLite databases and a class for paging.

        •  21 Jan 2013 17:30

          Release Notes: This release adds support to the adapter VCAP SERVICES.

          •  12 Nov 2012 18:31

            Release Notes: This release adds support for the CUBRID database.

            Screenshot

            Project Spotlight

            OpenStack4j

            A Fluent OpenStack client API for Java.

            Screenshot

            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.