PHP Classes

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    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 530 This week: 1All time: 5,653 This week: 560Up
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
Age: ???
All time rank: 320985 in The Netherlands The Netherlands
Week rank: 416 Up9 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
  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:530
This week:1
All time:5,653
This week:560Up