Dependency injection frameworks are relatively uncommon in node. On the client, Angular uses dependency injection, but the learning curve of Angular is so steep that the core of dependency injection ends up being obscured by all the other concepts. Generally, javascripters think of dependency injection as "that thing Martin Fowler invented."
Despite its reputation as an obscure Design Pattern, dependency injection is a pretty good idea. In fact, i.TV wrote their own dependency injection framework, dependable, when they realized they were doing it manually throughout their application code. By using dependency injection, we've been able to clean up a bunch of boilerplate code, keep our codebase tidy, and solve Real Problems in application development.
Your new post is loading...