Login   Register  
PHP Classes
elePHPant
Icontem

ORM mapping class(like Hibernate), maps database table rows to objects: Store and retrieve objects in MySQL table records

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

  Author Author  
Picture of Indrek Altpere
Name: Indrek Altpere <contact>
Classes: 3 packages by
Country: Estonia Estonia
Age: 28
All time rank: 8043 in Estonia Estonia
Week rank: 570 Up4 in Estonia Estonia Down


  Detailed description   Download Download .zip .tar.gz  
This class provides something similar of Hibernate in java world by letting you map table rows into entity objects and making all the fields escaping work for you automatically when saving object to mysql.

This class can be used as a base class to store and retrieve objects in MySQL databases.

It is a base class that should be extended by other classes that define the MySQL database table and the fields to store and retrieve the object variables.

It can execute SQL queries to retrieve objects and save them back to the database if any variable was changed.

The class provides getter and setter functions to retrieve or change the object variable values.

Objects remain cached in memory to avoid fetching the same objects from the database again.

It also provides an iterator class (BaseObjectIterator) to iterate over large result sets without hogging up the memory.

  Classes of Indrek Altpere  >  ORM mapping class(like Hibernate), maps database table rows to objects  >  Download Download .zip .tar.gz  >  Support forum Support forum (2)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: ORM mapping class(like Hibernate), maps database table rows to objects
Base name: ormbaseobject
Description: Store and retrieve objects in MySQL table records
Version: 1.2
PHP version: 5.0
License: GNU Lesser General Public License (LGPL)
All time users: 1277 users
All time rank: 2765
Week users: 0 users
Week rank: 1384 Equal
 
  Groups   Rate classes User ratings   Dependencies   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


  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Not sure (58%) Sufficient (75%) - Not sure (58%) - - Not sure (42%) 2043
Month: Not yet rated by the users

  Packages needed by this class  
Class DownloadWhy it is needed Dependency
Simple error handling class Download .zip .tar.gz To be able to log any mysql errors and erros that have occured in BaseObject class itself Recommended
Ultimate MySQL wrapper Download .zip .tar.gz Is used to perform queries that keep objects and database synchronized, also for charater escaping Required

  Applications that use this package  
No pages of applications that use this class were specified.
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
Accessible without login Plain text file BaseObject.php Class the magical class that makes so many things possible
Accessible without login Plain text file example.php Example example file
Accessible without login Plain text file example2.php Example usage of advanced query builder
Accessible without login Plain text file example3.php Example iterator example
Accessible without login Plain text file ExampleObject.php Class example extending object
Accessible without login Plain text file ExampleObject2.php Class Another example object

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