Login   Register  
PHP Classes
elePHPant
Icontem

Class: Connection Manager

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Sujay Bhowmick  >  Connection Manager  >  Download .tar.gz .zip  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Connection Manager
Base name: connectionmanager
Description: Database connection abstraction
Related classes: , , , , , ,
Version: -
PHP version: -
License: GNU General Public License (GPL)
All time users: 1852 users
All time rank: 1791
Week users: 2 users
Week rank: 1677
Picture of Sujay Bhowmick
Author: Sujay Bhowmick <e-mail contact>
Packages: 5 Browse this author's classes Browse this author's classes
Country: India India - PHP jobs in India
Age: 33
All time rank: 554 in India India
Week rank: 98 Down9 in India India Down


  Detailed description  
The ConnectionManager class is an example of providing abstraction to database connectivity using the factory design pattern.

The factory method in the ConnectionManagerFactory class returns the correct ConnectionManager object according to the chosen database type, i.e MySQL or MSSQL.

To add support to other databases one can extend the ConnectionManager class.

 

  Groups  
Group folder image Databases Database management, accessing and searching View top rated classes

  Rate classes User ratings   Applications   Files Files  

  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Good (83.3%)
Good (83.3%)
-
Good (83.3%)
-
-
Not sure (58.3%)
929
Month:
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Plain text file ConnectionManager.php Class Base Class and SubClasses for the ConnectionManager
Plain text file ConnectionManagerExample.php Example Example for ConnectionManager
Plain text file ConnectionManagerFactory.php Class Factory Method Class
Plain text file constants.php Conf. Supporting include file
Plain text file DBTypes.php Conf. Supporting include file

Download all files: connectionmanager.tar.gz connectionmanager.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.