Login   Register  
PHP Classes
elePHPant
Icontem

pork.dbObject: Map objects into MySQL database table rows

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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 (7 years ago) RSS 2.0 feedNot enough user ratingsTotal: 526 All time: 5,156 This week: 1,899Up
Version License PHP version Categories  
pork_dbobject 1.0GNU Free Documentation ...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 schizo duckie
Name: schizo duckie <contact>
Classes: 1 package by
Country: The Netherlands The Netherlands
Age: ???
All time rank: 289281 in The Netherlands The Netherlands
Week rank: 1754 Up45 in The Netherlands The Netherlands Up

  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
  Plain text file class.blog.php Class Example class: blog
  Plain text file class.blogtag.php Class Example class: blogtag
  Plain text file class.dbconnection.php Class the database connection class
  Plain text file class.dbobject.php Class This is the main dbObject class
  Plain text file class.reaction.php Class Example class: reaction
  Plain text file class.tag.php Class Example class: tag
  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:526All time:5,156
 This week:0This week:1,899Up