PHP Classes

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    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 935 All time: 3,828 This week: 404Up
Version License Categories
php_ioc 1.0.0GNU General Publi...Libraries, Design Patterns


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
Age: 37
All time rank: 2005 in Philippines Philippines
Week rank: 387 Down6 in Philippines Philippines Down
Innovation award
Innovation award
Nominee: 1x

  • 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
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  
This week:0
All time:3,828
This week:404Up