perl-MooseX-DIC-0.5.0-alt1.noarch.rpm


Advertisement

Description

perl-MooseX-DIC - A dependency injector container for Moose

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-MooseX-DIC
Package version 0.5.0
Package release alt1
Package architecture noarch
Package type rpm
Installed size 87.32 KB
Download size 87.32 KB
Official Mirror ftp.altlinux.org
Full documentation on the MooseX::DIC Webpage.
MooseX::DIC is a dependency injection container tailored to the Moose manpage, living in a full OOP environment and greatly
inspired by Java DIC frameworks like Spring
or CDI.
The goal of this library is to provide an easy to use DI container with automatic wiring of dependencies via constructor
by class type (ideally by Role/Interface).
The configuration is performed either by the use of Marker roles and
a specific trait on attributes that have to be injected, or by use of a very terse and composable yaml config file, using sensible
defaults to cover 90% of the use cases to minimize boilerplate.
One of the principal tenets of the library is that while code may be poluted by the use of DIC roles and traits, it
should work without a running container. The classes are fully functional without the dependency injection, the library
is just a convenient way to wire dependencies (this is mainly accomplished by forbidding non constructor injection).
This library is designed to be used on long-running processes where startup time is not a concern (within reason, of
course). The container will scan all configured paths to look for services to inject and classes that need injection.
There is a great amount of flexibility to account for testing environments, non-moose libraries, alternative
implementations of services, etc, although none of it is needed for a simple usage.

Alternatives

Package Version Architecture Repository
perl-MooseX-DIC - - -

Requires

Name Value
/usr/share/perl5 -
perl(Exporter/Declare.pm) -
perl(File/Find.pm) -
perl(File/Slurper.pm) -
perl(File/Spec/Functions.pm) -
perl(List/Util.pm) -
perl(Log/Log4perl.pm) -
perl(Module/Load.pm) -
perl(Moose.pm) -
perl(Moose/Role.pm) -
perl(Moose/Util/TypeConstraints.pm) -
perl(MooseX/Role/Parameterized.pm) -
perl(Try/Tiny.pm) -
perl(YAML/XS.pm) -
perl(aliased.pm) -
perl(constant.pm) -
perl(namespace/autoclean.pm) -
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(MooseX/DIC.pm) = 0.005
perl(MooseX/DIC/Configuration.pm) -
perl(MooseX/DIC/Configuration/Code.pm) -
perl(MooseX/DIC/Configuration/Scanner/FileConfig.pm) -
perl(MooseX/DIC/Configuration/Scanner/Injectable.pm) -
perl(MooseX/DIC/Configuration/ServiceMetadata.pm) -
perl(MooseX/DIC/Configuration/ServiceMetadata/Dependency.pm) -
perl(MooseX/DIC/Configuration/YAML.pm) -
perl(MooseX/DIC/Container.pm) -
perl(MooseX/DIC/Container/DefaultImpl.pm) -
perl(MooseX/DIC/ContainerConfigurationException.pm) -
perl(MooseX/DIC/ContainerException.pm) -
perl(MooseX/DIC/ContainerFactory.pm) -
perl(MooseX/DIC/FunctionalityNotImplementedException.pm) -
perl(MooseX/DIC/Injectable.pm) -
perl(MooseX/DIC/Injected.pm) -
perl(MooseX/DIC/Loggable.pm) -
perl(MooseX/DIC/PackageIsNotServiceException.pm) -
perl(MooseX/DIC/PackageNotFoundException.pm) -
perl(MooseX/DIC/ServiceCreationException.pm) -
perl(MooseX/DIC/ServiceFactory.pm) -
perl(MooseX/DIC/ServiceFactory/Factory.pm) -
perl(MooseX/DIC/ServiceFactory/Moose.pm) -
perl(MooseX/DIC/ServiceFactoryFactory.pm) -
perl(MooseX/DIC/ServiceRegistry.pm) -
perl(MooseX/DIC/Types.pm) -
perl(MooseX/DIC/UnregisteredServiceException.pm) -
perl-MooseX-DIC = 0.5.0-alt1

Download

Type URL
Binary Package perl-MooseX-DIC-0.5.0-alt1.noarch.rpm
Source Package perl-MooseX-DIC-0.5.0-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-MooseX-DIC rpm package:
    # sudo apt-get install perl-MooseX-DIC

Files

Path
/usr/share/doc/perl-MooseX-DIC-0.5.0/CHANGES
/usr/share/doc/perl-MooseX-DIC-0.5.0/LICENSE
/usr/share/doc/perl-MooseX-DIC-0.5.0/README.md
/usr/share/perl5/MooseX/DIC.pm
/usr/share/perl5/MooseX/DIC/Configuration.pm
/usr/share/perl5/MooseX/DIC/Container.pm
/usr/share/perl5/MooseX/DIC/ContainerConfigurationException.pm
/usr/share/perl5/MooseX/DIC/ContainerException.pm
/usr/share/perl5/MooseX/DIC/ContainerFactory.pm
/usr/share/perl5/MooseX/DIC/FunctionalityNotImplementedException.pm
/usr/share/perl5/MooseX/DIC/Injectable.pm
/usr/share/perl5/MooseX/DIC/Injected.pm
/usr/share/perl5/MooseX/DIC/Loggable.pm
/usr/share/perl5/MooseX/DIC/PackageIsNotServiceException.pm
/usr/share/perl5/MooseX/DIC/PackageNotFoundException.pm
/usr/share/perl5/MooseX/DIC/ServiceCreationException.pm
/usr/share/perl5/MooseX/DIC/ServiceFactory.pm
/usr/share/perl5/MooseX/DIC/ServiceFactoryFactory.pm
/usr/share/perl5/MooseX/DIC/ServiceRegistry.pm
/usr/share/perl5/MooseX/DIC/Types.pm
/usr/share/perl5/MooseX/DIC/UnregisteredServiceException.pm
/usr/share/perl5/MooseX/DIC/Configuration/Code.pm
/usr/share/perl5/MooseX/DIC/Configuration/ServiceMetadata.pm
/usr/share/perl5/MooseX/DIC/Configuration/YAML.pm
/usr/share/perl5/MooseX/DIC/Configuration/Scanner/FileConfig.pm
/usr/share/perl5/MooseX/DIC/Configuration/Scanner/Injectable.pm
/usr/share/perl5/MooseX/DIC/Configuration/ServiceMetadata/Dependency.pm
/usr/share/perl5/MooseX/DIC/Container/DefaultImpl.pm
/usr/share/perl5/MooseX/DIC/ServiceFactory/Factory.pm
/usr/share/perl5/MooseX/DIC/ServiceFactory/Moose.pm

See Also

Package Description
perl-MooseX-DataModel-1.00-alt1.noarch.rpm Create object models from datastructures
perl-MooseX-Declare-Context-WithOptions-Patch-Extensible-0.002-alt1.1.noarch.rpm patch MooseX::Declare for extensibility
perl-MooseX-DeclareX-0.009-alt1.1.noarch.rpm more sugar for MooseX::Declare
perl-MooseX-DeclareX-Keyword-interface-0.004-alt1.1.noarch.rpm shiny syntax for MooseX::Interface
perl-MooseX-DeclareX-Plugin-abstract-0.005-alt1.1.noarch.rpm shiny syntax for MooseX::ABCD
perl-MooseX-DeclareX-Plugin-singleton-0.003-alt1.1.noarch.rpm shiny syntax for MooseX::Singleton
perl-MooseX-DeclareX-Privacy-0.006-alt1.1.noarch.rpm shiny syntax for MooseX::Privacy
perl-MooseX-DeepAccessors-0.02-alt1.1.noarch.rpm Delegate methods to member objects, curried with more methods!
perl-MooseX-Deprecated-0.005-alt1.1.noarch.rpm mark attributes and methods as deprecated
perl-MooseX-Documenter-0.01-alt1.1.noarch.rpm class for getting Moose documentation for your Moose classes
perl-MooseX-Does-Delegated-0.004-alt1.1.noarch.rpm allow your class's DOES method to respond the affirmative to delegated roles
perl-MooseX-EasyAcc-0.001-alt1.1.noarch.rpm Name your accessors foo(), set_foo(), and has_foo()
perl-MooseX-Enumeration-0.005-alt1.1.noarch.rpm a native attribute trait for enums
perl-MooseX-Error-Exception-Class-0.099-alt1.1.noarch.rpm Use Exception::Class exceptions for Moose errors
perl-MooseX-Error-Trap-0.021-alt1.1.noarch.rpm Create error traps for methods
Advertisement
Advertisement