PHP Classes
elePHPant
Icontem

Cradlecore For PHP: Create objects using the inversion of control

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (151)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2011-12-06 (4 years ago) RSS 2.0 feedNot enough user ratingsTotal: 280 All time: 7,160 This week: 935Up
Version License PHP version Categories
cradlecore 1.0GNU General Publi...5.2PHP 5, Language, Design Patterns
Description Author

This package can be used to create objects using the Inversion of Control (IoC) to configure the objects externally.

It provides a factory class that can create the objects and configure them according to configuration that can be defined externally using one or more XML files that define details of behavior of those objects.

The external configuration can determine how the dependency injection occurs by defining whether the objects will be configured by passing specific parameters to the constructor or a setter function.

Picture of alejandro soto
Name: alejandro soto <contact>
Classes: 2 packages by
Country: Costa Rica Costa Rica

Screenshots  
  • 1
  • 4
  • 2
  • 3
  Files folder image Files  
File Role Description
Files folder imagedesign (2 files)
Files folder imageexamples (2 directories)
Files folder imagesrc (1 file, 4 directories)
Files folder imagetest (4 files, 2 directories)

  Files folder image Files  /  design  
File Role Description
  Plain text file classes.uml Data Auxiliary data
  Plain text file classes.umlclass Data Auxiliary data

  Files folder image Files  /  examples  
File Role Description
Files folder imagecradlecore (1 file, 4 directories)
Files folder imageexamples (6 files, 1 directory)

  Files folder image Files  /  examples  /  cradlecore  
File Role Description
Files folder imageexception (4 files, 4 directories)
Files folder imageioc (7 directories)
Files folder imagelogger (2 files)
Files folder imageutils (2 files)
  Plain text file LICENSE.txt Lic. Documentation

  Files folder image Files  /  examples  /  cradlecore  /  exception  
File Role Description
Files folder imageexception (2 files)
Files folder imageioc (7 directories)
Files folder imagelogger (2 files)
Files folder imageutils (1 file)
  Plain text file CradleCoreException.php Example Example script
  Plain text file CradleCoreException.php Class Class source
  Plain text file LICENSE.txt Doc. Documentation
  Plain text file LICENSE.txt Doc. Documentation

  Files folder image Files  /  examples  /  cradlecore  /  exception  /  exception  
File Role Description
  Plain text file CradleCoreException.php Class Class source
  Plain text file CradleCoreException.php Class Class source

  Files folder image Files  /  examples  /  cradlecore  /  exception  /  ioc  
File Role Description
Files folder imagecache (2 files, 1 directory)
Files folder imagecheckers (4 files)
Files folder imagecontainer (2 files)
Files folder imagecontext (8 files)
Files folder imagefactory (2 files)
Files folder imageincludes (2 files)
Files folder imagereaders (14 files)

  Files folder image Files  /  examples  /  cradlecore  /  exception  /  ioc  /  cache  
File Role Description
Files folder imagestorage (4 files)
  Plain text file ContainerCache.php Class Class source
  Plain text file ContainerCache.php Class Class source

  Files folder image Files  /  examples  /  cradlecore  /  exception  /  ioc  /  cache  /  storage  
File Role Description
  Plain text file GVzdGNhc2U.data Data Auxiliary data
  Plain text file GVzdGNhc2U.data Data Auxiliary data
  Plain text file zpcd2FtcFx.data Data Auxiliary data
  Plain text file zpcd2FtcFx.data Data Auxiliary data

  Files folder image Files  /  examples  /  cradlecore  /  exception  /  ioc  /  checkers  
File Role Description
  Plain text file ClassChecker.php Class Class source
  Plain text file ClassChecker.php Class Class source
  Plain text file PropertyChecker.php Class Class source
  Plain text file PropertyChecker.php Class Class source

  Files folder image Files  /  examples  /  cradlecore  /  exception  /  ioc  /  container  
File Role Description
  Plain text file Container.php Class Class source
  Plain text file Container.php Class Class source

  Files folder image Files  /  examples  /  cradlecore  /  exception  /  ioc  /  context  
File Role Description
  Plain text file ArrayContext.php Class Class source
  Plain text file ArrayContext.php Class Class source
  Plain text file Context.php Class Class source
  Plain text file Context.php Class Class source
  Plain text file Context_Factory.php Class Class source
  Plain text file Context_Factory.php Class Class source
  Plain text file XmlContext.php Class Class source
  Plain text file XmlContext.php Class Class source

  Files folder image Files  /  examples  /  cradlecore  /  exception  /  ioc  /  factory  
File Role Description
  Plain text file Factory.php Class Class source
  Plain text file Factory.php Class Class source

  Files folder image Files  /  examples  /  cradlecore  /  exception  /  ioc  /  includes  
File Role Description
  Plain text file IncludeManager.php Class Class source
  Plain text file IncludeManager.php Class Class source

  Files folder image Files  /  examples  /  cradlecore  /  exception  /  ioc  /  readers  
File Role Description
  Plain text file ArrayConfigurationReader.php Class Class source
  Plain text file ArrayConfigurationReader.php Class Class source
  Plain text file ArraySourceFilesReader.php Class Class source
  Plain text file ArraySourceFilesReader.php Class Class source
  Plain text file DependencySorter.php Class Class source
  Plain text file DependencySorter.php Class Class source
  Plain text file Reader.php Class Class source
  Plain text file Reader.php Class Class source
  Plain text file XmlConfigurationReader.php Class Class source
  Plain text file XmlConfigurationReader.php Class Class source
  Plain text file XmlObjectTag.php Class Class source
  Plain text file XmlObjectTag.php Class Class source
  Plain text file XmlSourceFilesReader.php Class Class source
  Plain text file XmlSourceFilesReader.php Class Class source

  Files folder image Files  /  examples  /  cradlecore  /  exception  /  logger  
File Role Description
  Plain text file Logger.php Class Class source
  Plain text file Logger.php Class Class source

  Files folder image Files  /  examples  /  cradlecore  /  exception  /  utils  
File Role Description
  Plain text file PropertiesFile.php Class Class source

  Files folder image Files  /  examples  /  cradlecore  /  ioc  
File Role Description
Files folder imagecache (2 files, 1 directory)
Files folder imagecheckers (4 files)
Files folder imagecontainer (2 files)
Files folder imagecontext (8 files)
Files folder imagefactory (2 files)
Files folder imageincludes (2 files)
Files folder imagereaders (14 files)

  Files folder image Files  /  examples  /  cradlecore  /  ioc  /  cache  
File Role Description
Files folder imagestorage (3 files)
  Plain text file ContainerCache.php Class Class source
  Plain text file ContainerCache.php Class Class source

  Files folder image Files  /  examples  /  cradlecore  /  ioc  /  cache  /  storage  
File Role Description
  Plain text file GVzdGNhc2U.data Data Auxiliary data
  Plain text file GVzdGNhc2U.data Data Auxiliary data
  Plain text file zpcd2FtcFx.data Data Auxiliary data

  Files folder image Files  /  examples  /  cradlecore  /  ioc  /  checkers  
File Role Description
  Plain text file ClassChecker.php Class Class source
  Plain text file ClassChecker.php Class Class source
  Plain text file PropertyChecker.php Class Class source
  Plain text file PropertyChecker.php Class Class source

  Files folder image Files  /  examples  /  cradlecore  /  ioc  /  container  
File Role Description
  Plain text file Container.php Class Class source
  Plain text file Container.php Class Class source

  Files folder image Files  /  examples  /  cradlecore  /  ioc  /  context  
File Role Description
  Plain text file ArrayContext.php Class Class source
  Plain text file ArrayContext.php Class Class source
  Plain text file Context.php Class Class source
  Plain text file Context.php Class Class source
  Plain text file Context_Factory.php Class Class source
  Plain text file Context_Factory.php Class Class source
  Plain text file XmlContext.php Class Class source
  Plain text file XmlContext.php Class Class source

  Files folder image Files  /  examples  /  cradlecore  /  ioc  /  factory  
File Role Description
  Plain text file Factory.php Class Class source
  Plain text file Factory.php Class Class source

  Files folder image Files  /  examples  /  cradlecore  /  ioc  /  includes  
File Role Description
  Plain text file IncludeManager.php Class Class source
  Plain text file IncludeManager.php Class Class source

  Files folder image Files  /  examples  /  cradlecore  /  ioc  /  readers  
File Role Description
  Plain text file ArrayConfigurationReader.php Class Class source
  Plain text file ArrayConfigurationReader.php Class Class source
  Plain text file ArraySourceFilesReader.php Class Class source
  Plain text file ArraySourceFilesReader.php Class Class source
  Plain text file DependencySorter.php Class Class source
  Plain text file DependencySorter.php Class Class source
  Plain text file Reader.php Class Class source
  Plain text file Reader.php Class Class source
  Plain text file XmlConfigurationReader.php Class Class source
  Plain text file XmlConfigurationReader.php Class Class source
  Plain text file XmlObjectTag.php Class Class source
  Plain text file XmlObjectTag.php Class Class source
  Plain text file XmlSourceFilesReader.php Class Class source
  Plain text file XmlSourceFilesReader.php Class Class source

  Files folder image Files  /  examples  /  cradlecore  /  logger  
File Role Description
  Plain text file Logger.php Class Class source
  Plain text file Logger.php Class Class source

  Files folder image Files  /  examples  /  cradlecore  /  utils  
File Role Description
  Plain text file PropertiesFile.php Class Class source
  Plain text file PropertiesFile.php Class Class source

  Files folder image Files  /  examples  /  examples  
File Role Description
Files folder imageexampleFiles (18 files)
  Plain text file ImportTagsExample.php Example Example script
  Plain text file ImportTagsExample.php Example Example script
  Plain text file SimpleXmlContextExample.php Example Example script
  Plain text file SimpleXmlContextExample.php Example Example script
  Plain text file UnsortedConfiguration.php Example Example script
  Plain text file UnsortedConfiguration.php Example Example script

  Files folder image Files  /  examples  /  examples  /  exampleFiles  
File Role Description
  Plain text file childConfiguration.xml Data Auxiliary data
  Plain text file childConfiguration.xml Data Auxiliary data
  Plain text file childUnsortedConfiguration.xml Data Auxiliary data
  Plain text file childUnsortedConfiguration.xml Data Auxiliary data
  Plain text file configuration.xml Data Auxiliary data
  Plain text file configuration.xml Data Auxiliary data
  Plain text file cradlecore.log Data Auxiliary data
  Plain text file cradlecore.log Data Auxiliary data
  Plain text file DBConnection.php Class Example script
  Plain text file DBConnection.php Class Example script
  Plain text file ItemDao.php Class Example script
  Plain text file ItemDao.php Class Example script
  Plain text file parentConfiguration.xml Data Auxiliary data
  Plain text file parentConfiguration.xml Data Auxiliary data
  Plain text file parentUnsortedConfiguration.xml Data Auxiliary data
  Plain text file parentUnsortedConfiguration.xml Data Auxiliary data
  Plain text file PersonDao.php Class Example script
  Plain text file PersonDao.php Class Example script

  Files folder image Files  /  src  
File Role Description
Files folder imageexception (1 file)
Files folder imageioc (7 directories)
Files folder imagelogger (1 file)
Files folder imageutils (1 file)
  Plain text file LICENSE.txt Doc. Documentation

  Files folder image Files  /  src  /  exception  
File Role Description
  Plain text file CradleCoreException.php Class Class source

  Files folder image Files  /  src  /  ioc  
File Role Description
Files folder imagecache (1 file)
Files folder imagecheckers (2 files)
Files folder imagecontainer (1 file)
Files folder imagecontext (4 files)
Files folder imagefactory (1 file)
Files folder imageincludes (1 file)
Files folder imagereaders (7 files)

  Files folder image Files  /  src  /  ioc  /  cache  
File Role Description
  Plain text file ContainerCache.php Class Class source

  Files folder image Files  /  src  /  ioc  /  checkers  
File Role Description
  Plain text file ClassChecker.php Class Class source
  Plain text file PropertyChecker.php Class Class source

  Files folder image Files  /  src  /  ioc  /  container  
File Role Description
  Plain text file Container.php Class Class source

  Files folder image Files  /  src  /  ioc  /  context  
File Role Description
  Plain text file ArrayContext.php Class Class source
  Plain text file Context.php Class Class source
  Plain text file Context_Factory.php Class Class source
  Plain text file XmlContext.php Class Class source

  Files folder image Files  /  src  /  ioc  /  factory  
File Role Description
  Plain text file Factory.php Class Class source

  Files folder image Files  /  src  /  ioc  /  includes  
File Role Description
  Plain text file IncludeManager.php Class Class source

  Files folder image Files  /  src  /  ioc  /  readers  
File Role Description
  Plain text file ArrayConfigurationReader.php Class Class source
  Plain text file ArraySourceFilesReader.php Class Class source
  Plain text file DependencySorter.php Class Class source
  Plain text file Reader.php Class Class source
  Plain text file XmlConfigurationReader.php Class Class source
  Plain text file XmlObjectTag.php Class Class source
  Plain text file XmlSourceFilesReader.php Class Class source

  Files folder image Files  /  src  /  logger  
File Role Description
  Plain text file Logger.php Class Class source

  Files folder image Files  /  src  /  utils  
File Role Description
  Plain text file PropertiesFile.php Class Class source

  Files folder image Files  /  test  
File Role Description
Files folder imageclassesTests (4 directories)
Files folder imagehelpers (7 files)
  Plain text file GeneralArrayTest.php Class Class source
  Plain text file GeneralTest.php Test Unit test script
  Plain text file GeneralXmlTest.php Test Unit test script
  Plain text file phpunit.xml Data Auxiliary data

  Files folder image Files  /  test  /  classesTests  
File Role Description
Files folder imagecontainer (1 file)
Files folder imagecontext (1 file)
Files folder imagefactory (1 file)
Files folder imagereader (1 file)

  Files folder image Files  /  test  /  classesTests  /  container  
File Role Description
  Plain text file ContainerTest.php Class Class source

  Files folder image Files  /  test  /  classesTests  /  context  
File Role Description
  Plain text file XmlContextTest.php Class Class source

  Files folder image Files  /  test  /  classesTests  /  factory  
File Role Description
  Plain text file FactoryTest.php Class Class source

  Files folder image Files  /  test  /  classesTests  /  reader  
File Role Description
  Plain text file XmlConfigurationReaderTest.php Class Class source

  Files folder image Files  /  test  /  helpers  
File Role Description
  Plain text file configuration.xml Data Auxiliary data
  Plain text file configuration2.xml Data Auxiliary data
  Plain text file DBConnection.php Example Example script
  Plain text file ItemDao.php Example Example script
  Plain text file MyService.php Example Example script
  Plain text file oneObjectConfiguration.xml Data Auxiliary data
  Plain text file PersonDao.php Example Example script

 Version Control Unique User Downloads Download Rankings  
 97%
Total:280
This week:0
All time:7,160
This week:935Up