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!
  Info   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2016-06-18 (4 months ago) RSS 2.0 feedStarStarStar 42%Total: 1,338 This week: 2All time: 2,797 This week: 591Up
Version License PHP version Categories
ormbaseobject 1.3GNU Lesser Genera...5.0PHP 5, Databases
Description Author

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.

Picture of Indrek Altpere
Name: Indrek Altpere <contact>
Classes: 3 packages by
Country: Estonia Estonia

  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

Downloadormbaseobject-2016-06-18.zip 13KB
Downloadormbaseobject-2016-06-18.tar.gz 11KB
Install with ComposerInstall with Composer
Needed packages  
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
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,338
This week:2
All time:2,797
This week:591Up
User Ratings User Comments (1)
 All time
Utility:58%StarStarStar
Consistency:75%StarStarStarStar
Documentation:-
Examples:58%StarStarStar
Tests:-
Videos:-
Overall:42%StarStarStar
Rank:2578
 
I've got some errors, e.
4 years ago (Marian)
10%Star