Tuesday 04 Nov 17:30

Dependency Injection with JavaScript and Node

Node Malmö

FOOD: Yes

LEVEL: Intermediate

Node is known for making it simple to build small usable tools and libraries that can easily be imported elsewhere. But if you want to go bigger and create a full application does this model still hold? Is it easy to construct all your internal modules if they have complex dependencies within your own application? And is it possible to test them all in isolation?



The answer is yes, and a very good way to solve this problem is to use dependency injection (DI). There are actually very many DI libraries in node and we will look at good and bad aspects of them. We will get an introduction to what DI actually is, the difference between module loading and DI will be explained and the presenter, Ludwig Magnusson, will also show a small DI library he wrote for node in roughly 100 lines of code.



Before the main presentation we will have a few short module presentations where attenders of Node Malmö will present modules available in npm that they like or have created themselves, encouraging the other participants to use them.



Agenda

17:30 - 17:50 Micro presentations

17:50 - 18.30 Dependency injection

18:30 - Pizza and beer.



Platinum Partners

Capish100px

Premium Partners

Mediaevolution100px Netset100px Axis100px Verisure100 Qlik100px Webstep100pxnew Playtechbgt100px Oneagency100px Neo4j 100px Edument100px Knightec100 Connectitude100px Securelink100px Omegapoint100px Advenica100 Tetrapak100x50

Partners

Tieto100pxnew Handelsbanken100px Thirdbase100px U blox100px Yrkesorange100px Oddhill100px Tedkomp100px Stratiteq100pxbl Crosstech100px Hotnew100px Purplescout100px Frontiot100px Empear100px Lundalogik100px Servicewell 100x50 24hr100px Lytics100px Softhouse100px Schneider100px Ifacts logo partner 100px Resursbank 100px Pinmeto100px Terranet100px Bimobject100px Essiq100px Falconio100px Aveva 100x50 Seavus web partner 100 Humanit100px Avensia100px Relax100px Forefront 100x50 Cybercom 100x50 Hittahem small Additude100x50
Sign in