Login   Register  
PHP Classes
elePHPant
Icontem

PersistClass

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of Bob Gombocki
Name: Bob Gombocki <e-mail contact>
Packages: 2 Browse all classes by Bob Gombocki Browse all classes by
Country: Norway Norway - PHP jobs in Norway
Age: ???
All time rank: 22917 in Norway Norway
Week rank: 2173 Up8 in Norway Norway Down


  Detailed description   Download .zip .tar.gz  
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.

  Classes of Bob Gombocki  >  PersistClass  >  Download .zip .tar.gz  >  Support forum Support forum (2)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: PersistClass
Base name: persistclass
Description: DB access wrapper & storing objects in DB tables
Version: 1.0
PHP version: 5.0
License: Freely Distributable
All time users: 473 users
All time rank: 5102
Week users: 0 users
Week rank: 2039 Equal
 
  Groups   Freshmeat project   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Databases Database management, accessing and searching View top rated classes
Group folder image Design Patterns Implementations of well known design patterns View top rated classes


  Freshmeat project  
Project record: persistclass
Popularity score: 17.92
Vitality score: 37.77

  User ratings  
There are not enough user ratings to display for this class.

  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
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

  Files  /  Files folder image persistclass  
File Role Description
Files folder imagedbconnection (4 files, 1 directory)
  Plain text file PersistClass.php Class Main ORM class

  Files  /  persistclass  /  Files folder image dbconnection  
File Role Description
Files folder imageexception (5 files)
  Plain text file DbConnection.php Class DB connection layer
  Plain text file DbConnectionMysql.php Class MySQL implementation
  Plain text file DbConnectionOracle.php Class Oracle implementation
  Plain text file DbConnectionPool.php Class Connection pool

  Files  /  persistclass  /  dbconnection  /  Files folder image exception  
File Role Description
  Plain text file ConnectionException.php Class Exception for connection problems
  Plain text file DbException.php Class Exception for any problem
  Plain text file NoDataException.php Class Exception for wrong data field
  Plain text file NoResultException.php Class Exception for no result retrieved
  Plain text file QueryException.php Class Exception for query errors

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