PHP Classes

Database Connection Classes: Abstract the access to SQL databases

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 53%Total: 3,171 All time: 1,131 This week: 455Up
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: 46
All time rank: 101014 in Philippines Philippines
Week rank: 195 Up3 in Philippines Philippines Up

  Files folder image Files (12)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:3,171
This week:0
All time:1,131
This week:455Up
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:2266
 
Simple, fast and Consistency.
17 years ago (Alexandre Lopes)
80%StarStarStarStarStar