Project

General

Profile

Actions

Enhancement #177

closed

Rework component dependencies

Added by Marc Dequènes about 14 years ago. Updated over 13 years ago.

Status:
Resolved
Priority:
Normal
Category:
Global :: Architecture
Target version:
Start date:
2010-10-31
Due date:
% Done:

100%

Estimated time:
Patch Available:
No
Found in Versions:
Confirmed:
No
Branch:
Help Needed:

Description

Now that the DNS services has been reworked and is much cleaner, i was about to use a Factory, but i discovered the details about the dependency injection pattern, and it seems quite a better design.

We should then try to use the Needle library and construct a Service Library. The bot would then instanciate its registry and be able to plug parts à needed. This will help split the CyborgHood framework in logical pieces.

Moreover, the deferred Service Models can help autoload a service with its dependencies.

Actions

Also available in: Atom PDF