Skip to content

Dependency Injection / Code Decoupling #37

Open
@shadowhand

Description

@shadowhand

Right now the usage of static classes as factories makes it really had to extend the query builder on a per-project basis. A more decoupled approach that would allow for complete dependency injection, would be highly desirable.

Fundamentally, very little needs to change. Primary changes required are:

  • using factories to create instances of all classes
  • converting static classes to instances
  • use some kind of service locator or class map

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions