Login   Register  
PHP Classes
elePHPant
Icontem

Database Abstraction: Access different types of SQL database

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (13)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2013-12-31 (11 months ago) RSS 2.0 feedNot enough user ratingsTotal: 567 All time: 4,935 This week: 1,432Up
Version License PHP version Categories  
database-abstraction 1.0GNU General Public Lice...5.3PHP 5, Databases
Description Author  

This package implements a database abstraction layer that provides the same interface to access different types of SQL databases.

There is a factory class that can create an instance of the database access class specialized in accessing one of the several supported types of SQL databases.

Each database access class extends a configuration class and implements the same interface that provides functionality for establishing database connections, manage transactions, execute SQL queries, retrieve query results into arrays or objects and retrieve the number of affected rows or the last inserted row identifier.

Currently it provides classes for accessing MySQL, PostgreSQL, SQLite, Microsoft SQL and Oracle.

Picture of Nitesh Apte
Name: Nitesh Apte is available for providing paid consulting. Contact Nitesh Apte .
Classes: 12 packages by
Country: India India
Age: 30
All time rank: 23614 in India India
Week rank: 160 Up18 in India India Down
Innovation award
Innovation award
Nominee: 2x

Winner: 1x

  Files folder image Files  
File Role Description
Plain text file abstract.DBConfig.php Class Abstract class to provide abstract features for database connectivity.
Plain text file class.DBManager.php Class Database manager class. Create the instance of database class depending on the type of database type defined.
Plain text file class.ExampleUsage.php Class Example usage class
Plain text file class.MSSqlDB.php Class MSSql database connectivity class.
Plain text file class.MySqlDB.php Class MySQL database connectivity class.
Plain text file class.OracleDB.php Class Oracle database connectivity class.
Plain text file class.PostgreDB.php Class Postgre database connectivity class.
Plain text file class.SqliteDB.php Class Sqlite database connectivity class.
Accessible without login Plain text file conf.inc Conf. Global Default values that to be used throughout the project
Accessible without login Plain text file example-usage.php Example Example usage script
Plain text file interface.DBConfigInterface.php Class Interface declaring the methods that to be followed for database interaction.
Accessible without login Plain text file LICENSE.TXT Lic. License Text
Accessible without login Plain text file README.TXT Doc. Readme file

 Version Control Unique User Downloads Download Rankings  
 0%Total:567All time:4,935
 This week:0This week:1,432Up