PHP Classes

PersistClass: DB access wrapper & storing objects in DB tables

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
StarStarStarStar 64%Total: 537 All time: 5,610 This week: 36Up
Version License PHP version Categories
persistclass 1.0Freely Distributable5.0PHP 5, Databases, Design Patterns
Description 

Author

This package provides access relational databases. Attempts to focus on simplicity and convenience by eliminating the need of boiler-plate, unmeaningful code.

Features:

- establish database connections (MySQL, Oracle, more to come)
- execute SQL queries
- parse query results
- convenience methods (read single row or value, etc..)
- data escaping (against SQL injection, HTML escaping for outputs)
- transaction handling
- strict error handling - no more undetected errors
- object persistence - storing and retrieving PHP objects in db tables
- possibility to implement support for not yet supported DBs

Check the included demos to see some working examples of its features.

Picture of Bob Gombocki
Name: Bob Gombocki <contact>
Classes: 2 packages by
Country: Norway Norway

 

  Files folder image Files (21)  
File Role Description
Files folder imagepersistclass (1 file, 1 directory)
Accessible without login HTML file manual.html Doc. Manual
Accessible without login Plain text file demo1-connection.php Example Creating a DB connection
Accessible without login Plain text file demo2-simpledboperations.php Example Executing DB queries
Accessible without login Plain text file demo3-classpersistence.php Example Object mapping
Accessible without login Plain text file demo4-errorhandling.php Example Error handling
Accessible without login Plain text file demo5-advancedpersistence.php Example Multiple connections, advanced mapping
Accessible without login Plain text file demo6-transactionhandling.php Example Transaction handling
Accessible without login Plain text file demo7-optimizingscalability.php Example Optimizing for high-scale
Accessible without login Plain text file demo8-orm.php Example Custom column mapping
Accessible without login Plain text file demotable.sql.txt Example Test data table
Accessible without login Plain text file newdbsupportimplementationguide.html Doc. Support for other DBs implementation guide

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:537
This week:0
All time:5,610
This week:36Up
User Ratings User Comments (2)
 All time
Utility:83%StarStarStarStarStar
Consistency:75%StarStarStarStar
Documentation:75%StarStarStarStar
Examples:83%StarStarStarStarStar
Tests:-
Videos:-
Overall:64%StarStarStarStar
Rank:671