Skip to content
Go to file
Cannot retrieve contributors at this time
71 lines (43 sloc) 1.73 KB

Dependency injection

DALMP offers a set of classes that allows you to work with MySQL, Cache backends and sessions, but when trying to use all this together, some perfomance issues may be raised, so to deal with this, a DI (dependecy injector) is high recomendable.

The idea of using a DI is to load once, and use any time with out need to reload the objects.


abstractDI is the name of an abstrac class that works as a base for building a dependecy injector.


The abstracDI class can be used as a base for any project not only DALMP


DI (Dependecy Injector) extends abstractDI and creates the DI for DALMP.


Using mysql, cache (redis), sessions.

TODO Examples

You can’t perform that action at this time.