In association with heise online

07 September 2009, 09:01

Adventure PHP Framework supports Dependency Injection

  • Twitter
  • Facebook
  • submit to slashdot
  • StumbleUpon
  • submit to reddit

Adventure logo The free Adventure PHP Framework version 1.10 has been released. The framework is designed to assist in the implementation of object oriented and reusable PHP based web applications and encourages the use of design patterns. Besides work on cleaning up the code and enhancing performance, the new version introduces a Dependency Injection container, similar to those found in the Java world's Spring framework, called DIServiceManager. The Adventure framework is now entirely based on PHP 5; a generated compatibility version to support PHP4 is also available and will continue to be published until early 2010.

Dependency Injection tackles the problem that in large applications there will be many direct dependencies between the objects that make up the application. By using the principle of Inversion Of Control (IoC) but focussing on the creation and initialisation of objects, it allows objects to be "injected" with their external dependencies rather than relying on developers to add code to discover the required external objects.

The Adventure PHP Framework is licensed under the LGPLv3 and can be downloaded from the Adventure PHP web site.


Print Version | Send by email | Permalink:

  • July's Community Calendar

The H Open

The H Security

The H Developer

The H Internet Toolkit