PHP Classes
elePHPant
Icontem

PHP IOC: Inversion of control design pattern implementation

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (14)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2006-11-01 (9 years ago) RSS 2.0 feedNot enough user ratingsTotal: 927 All time: 3,715 This week: 915Up
Version License Categories
php_ioc 1.0GNU General Publi...Libraries, Design Patterns
Description Author

This is a framework that implements the inversion of control design pattern in PHP.

It can parse a configuration file in the XML format that defines how dependent classes of a plug-in component infrastructure depend on each other.

The framework classes can create objects of the component classes and any dependency classes, set or get attributes and call methods of the component objects using the framework interface.

Innovation Award
PHP Programming Innovation award nominee
October 2006
Number 8
Inversion of control is a design pattern that aims to control the creation and configuration of the behavior of objects from external definitions.

It is recommended for projects that use generic classes with many configurable behaviour details.

This package simplifies the creation of PHP frameworks of classes of objects that can be created and configured using definitions from XML files.

Manuel Lemos
Picture of John Paul de Guzman
Name: John Paul de Guzman <contact>
Classes: 3 packages by
Country: Philippines Philippines
Innovation award
Innovation award
Nominee: 1x

Screenshots  
  • sample_code_scr1
  Files folder image Files  
File Role Description
Files folder imageconfig (2 files)
Files folder imageobjectfactory (5 files, 3 directories)
Plain text file DependencyContainer.php Aux. File to be included to access the Container files and use all the class library

  Files folder image Files  /  config  
File Role Description
  Plain text file config.dtd Data DTD for the XML configuration
  Plain text file core.xml Data XML Main configuration file

  Files folder image Files  /  objectfactory  
File Role Description
Files folder imagehelper (3 files)
Files folder imageloader (1 file)
Files folder imageparser (1 file, 1 directory)
  Plain text file DirectoryHandler.php Aux. Directory traversal function classes
  Plain text file IFactory.php Class Factory Interface
  Plain text file InvokeConstructor.php Class Invoke constructor - Match the <constructor>
  Plain text file InvokeMethod.php Class Invoke method - handles the <invoke-method>
  Plain text file ObjectFactory.php Class The Factory Class

  Files folder image Files  /  objectfactory  /  helper  
File Role Description
  Plain text file DirectoryHelper.php Class Helper Class for directory traversal
  Plain text file Helper.php Class Helper base class
  Plain text file ObjectHelper.php Class Handles the traversal for objects. It searches for the location of the object base on the given object path

  Files folder image Files  /  objectfactory  /  loader  
File Role Description
  Plain text file ClassLoader.php Class Class loader. Loads the class base on the given class path

  Files folder image Files  /  objectfactory  /  parser  
File Role Description
Files folder imageutil (1 directory)
  Plain text file Parser.php Class Parser utility. Used for parsing the XML file

  Files folder image Files  /  objectfactory  /  parser  /  util  
File Role Description
Files folder imagelite (1 file)

  Files folder image Files  /  objectfactory  /  parser  /  util  /  lite  
File Role Description
  Plain text file readme.txt Doc. XML Parser using DOMIT lite

Downloadphp_ioc-2006-11-01.zip 211KB
Downloadphp_ioc-2006-11-01.tar.gz 207KB
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
DOMIT XML parser Download .zip .tar.gz Used for parsing XML configuration file Required
 Version Control Unique User Downloads Download Rankings  
 0%
Total:927
This week:0
All time:3,715
This week:915Up