PHP Classes
elePHPant
Icontem

pork.dbObject: Map objects into MySQL database table rows

Recommend this page to a friend!
  Info   View files View files (10)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2007-01-22 (9 years ago) RSS 2.0 feedNot enough user ratingsTotal: 528 All time: 5,379 This week: 1,132Up
Version License PHP version Categories
pork_dbobject 1.0GNU Free Document...5.0PHP 5, Databases, Design Patterns
Description Author

This provides classes that perform object-relational mapping using the Active Record design pattern.

It can store and retrieve persistent objects into MySQL database table rows.

The base data object class provides automatic getter and setter functions, as well functions to create new objects, insert or update objects in a database, establish 1-1, 1-many and many-many relationships, and search for objects that match conditions.

The actual data object classes must inherit from the base data object class and define how each object property should be mapped to database table fields.

Picture of SPAM
Name: SPAM <contact>
Classes: 1 package by
Country: The Netherlands The Netherlands

  Files folder image Files  
File Role Description
Files folder imageincludes (7 files)
Files folder imagesettings (1 file)
Accessible without login Plain text file example_database.sql Data Example database
Accessible without login Plain text file index.php Example demo page + sample code

  Files folder image Files  /  includes  
File Role Description
  Accessible without login Plain text file class.blog.php Class Example class: blog
  Accessible without login Plain text file class.blogtag.php Class Example class: blogtag
  Accessible without login Plain text file class.dbconnection.php Class the database connection class
  Accessible without login Plain text file class.dbobject.php Class This is the main dbObject class
  Accessible without login Plain text file class.reaction.php Class Example class: reaction
  Accessible without login Plain text file class.tag.php Class Example class: tag
  Accessible without login Plain text file functions.php Class functions libary

  Files folder image Files  /  settings  
File Role Description
  Accessible without login Plain text file dbsettings.php Conf. Database settings file

 Version Control Unique User Downloads Download Rankings  
 0%
Total:528
This week:0
All time:5,379
This week:1,132Up