Login   Register  
PHP Classes

Database Connection Classes: Abstract the access to SQL databases

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 (12)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2006-09-19 (8 years ago) RSS 2.0 feedNot enough user ratingsTotal: 3,111 All time: 1,077 This week: 1,398Down
Version License Categories  
database_connection 1.0Freely DistributablePHP 5, Databases
Description Author  

This package implements an abstraction of the access to SQL databases.

It provides an abstract interface for establishing connections, executing SQL queries, managing transactions, retrieving the last inserted table key.

There is also a result set interface class for traversing and retrieving result set rows.

Currently there is only one implementation class for access MySQL databases.

Picture of Mark Documento
Name: Mark Documento <contact>
Classes: 1 package by
Country: Philippines Philippines
Age: 36
All time rank: 94114 in Philippines Philippines
Week rank: 1754 Down15 in Philippines Philippines Down

  Files folder image Files  
File Role Description
Plain text file database.inc.php Class Abstract database connection class
Plain text file datatable.inc.php Class Class encapsulating a data table
Accessible without login Plain text file datatable.txt Doc. Datatable documentation
Plain text file database_factory.inc.php Class Database factory class
Plain text file mysql_database.inc.php Class MySQL implementation class
Accessible without login Plain text file connection.inc.php Conf. Connection parameters
Accessible without login Plain text file show_databases.php Example Sample script 1
Accessible without login Plain text file create_table.php Example Sample script 2
Accessible without login Plain text file show_create_table.php Example Sample script 3
Accessible without login Plain text file show_tables.php Example Sample script 4
Accessible without login Plain text file transaction.01.php Example Sample script 5
Accessible without login Plain text file transaction.02.php Example Sample script 6

 Version Control Unique User Downloads Download Rankings  
 0%Total:3,111All time:1,077
 This week:0This week:1,398Down
 User Comments (1)  
Simple, fast and Consistency.
7 years ago (Alexandre Lopes)