atsid / permissive

Permissions management console and services
Apache License 2.0
3 stars 1 forks source link

add a dependency injection framework #134

Open natoverse opened 9 years ago

natoverse commented 9 years ago

We're currently doing anything 'DI-like' by pulling config params and using them to switch on module names for require statements. That works but will not scale. It also makes it unwieldy to inject mocks for testing.