PHP Classes

Object dynamic generation: Create model classes dynamically

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2008-01-31 (7 years ago) RSS 2.0 feedNot enough user ratingsTotal: 644 All time: 4,587 This week: 1,344Up
Version License PHP version Categories  
dynamicobject 1.0GNU General Publi...5.0PHP 5, Data types
Description Author  

This package can be used to add model classes dynamically.

A base abstract class provides the default implementation of property setter and getter functions.

Concrete model classes are derived from the base abstract class.

Objects of a model class can be created either directly instantiating the class or calling a factory class that takes care of automatically loading the class from a directory where model class files reside.

Picture of Roy Yu
Name: Roy Yu <contact>
Classes: 1 package by
Country: United States United States
Age: ???
All time rank: 2672338 in United States United States
Week rank: 1752 Up209 in United States United States Up

  Files folder image Files  
File Role Description
Files folder imageclass (2 files)
Files folder imagemodel (2 files)
Accessible without login Plain text file demo.php Example Entry points of this demo, show how to use the classes
Accessible without login Plain text file readme.txt Doc. Readme First

  Files folder image Files  /  class  
File Role Description
  Plain text file ArrayList.class.php Class Simple Demo on using SPL
  Plain text file Factory.class.php Class Core classes - provide different ways to instantiate an object

  Files folder image Files  /  model  
File Role Description
  Plain text file Model.class.php Class Core classes - give the subclass ability to be dynamically created
  Plain text file Movie.class.php Class Demo - a subclass extending Model core class

 Version Control Unique User Downloads Download Rankings  
 0%Total:644All time:4,587
 This week:0This week:1,344Up
 User Comments (1)  
Really Good my dear friend.
5 years ago (ebyjane)