Our great sponsors
-
di
A compile-time powered Dependency-Injection container for Typescript that holds services and can produce instances of them as required. (by wessberg)
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
All the configs and settings you can find in the project repo on GitHub.
For setting up the dependency injection (DI), we will use wessberg/DI as a DI-container and wessberg/di-compiler to resolve all the dependencies at compile-time.
The custom di transformer replaces interfaces with according class instances. In the future, we will explicitly define which class should implement a particular interface.