PHP Classes

Database Connection Classes: Abstract the access to SQL databases

Recommend this page to a friend!
  Info   View files View files (12)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 53%Total: 3,171 This week: 1All time: 1,131 This week: 560Up
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: 45
All time rank: 100814 in Philippines Philippines
Week rank: 416 Up5 in Philippines Philippines Up

  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,171
This week:1
All time:1,131
This week:560Up
User Ratings User Comments (1)
 All time
Utility:68%StarStarStarStar
Consistency:62%StarStarStarStar
Documentation:62%StarStarStarStar
Examples:62%StarStarStarStar
Tests:-
Videos:-
Overall:53%StarStarStar
Rank:2239
 
Simple, fast and Consistency.
16 years ago (Alexandre Lopes)
80%StarStarStarStarStar