The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Changes for version 0.07

  • > Improved documentation for all classes, however I still have more to write
  • added IOC::Service::Prototype
  • added IOC::Service::Prototype::ConstructorInjection
  • added IOC::Service::Prototype::SetterInjection
    • this allows services to dispense prototypes rather then just singleton instances ~ added tests for these new classes
  • IOC::Exceptions ~ added IOC::NotFound exception to handle general cases
  • IOC::Container ~ added findRootContainer method
  • IOC::Container::MethodResolution
    • now handles auto-finding of sub-containers as well, and introduces a new pseduo-method 'root' which will allow you to go back to the root of the container hierarchy.
  • IOC::Service::ConstructorInjection
    • fixed parameter handling so it works with the Prototype:: classes
  • IOC::Visitor::ServiceLocator
    • now uses findRootContainer method
  • IOC::Visitor::SearchForContainer
    • removed redundant code (thanks Devel::Cover :)

Modules

IOC
A lightweight IOC (Inversion of Control) framework
An IOC Container object
An IOC Container object which support method resolution of services
Exception objects for the IOC Framework
Interfaces for the IOC Framework
Registry singleton for the IOC Framework
An IOC Service object
An IOC Service object which uses Constructor Injection
An IOC Service object which returns a prototype instance
An IOC Service object which returns a prototype instance
An IOC Service object which returns a prototype instance
An IOC Service object which uses Setter Injection
Visitor for searching a IOC::Container hierarchy
Visitor for searching a IOC::Container hierarchy
Service locator Visitor for the IOC::Container hierarchies