Best of Dependency Injection2022

  1. 1
    Article
    Avatar of btrprogBetter Programming·4y

    How To Implement a TypeScript Web App With Clean Architecture

    The Ultimate Clean Architecture Template for Typescript Applications is a guide on creating a layer-based typescript project template following the principles of clean architecture medium. The user should be able to change the amount of increment/decrement for a counter. The user's counters should be saved if they close the application and open it again. We need a way to store data locally, i.

  2. 2
    Article
    Avatar of communityCommunity Picks·4y

    From STUPID to SOLID Code!

    The use of a singleton is not the problem, but the symptom of a problem. SOLID means: Single Responsibility Principle - Open/Closed Principle - Liskov Substitution Principle - Interface Segregation Principle. The ninth rule of the Object Calisthenics is related to this principle. A rectangle is a plane figure with four right angles. It has a width, and a height. A square is a square.

  3. 3
    Article
    Avatar of changelogChangelog·4y

    evrone/go-clean-template: Clean Architecture template for Golang services

    Go-clean-template is created & supported by Evrone. The template shows 2 servers: Gin (RabbitMQ as transport) and REST http (Gin framework) The config structure is in the config.go . The env-required: true tag obliges you to specify a value (either in yaml, or in environment variables)

  4. 4
    Article
    Avatar of dzDZone·4y

    Why Use the NestJS Framework?

    The NestJs framework was the best choice to start touching the backend part of the applications. NestJs is an open-source Node.js framework for developing challenging backend systems. You can build Rest APIs, MVC applications, GraphQL applications, Web Sockets, CLIs, and CRON jobs.

  5. 5
    Article
    Avatar of glcGolang News·4y

    Golang Tutorial – How to do Dependency Injection with Go

    Golang Tutorial - How to do Dependency Injection with Go with Go. How do you properly do Dependencies Injection in your Go applications, and more importantly, why is preferred over other methods? These are the questions I hope to answer with this post.

  6. 6
    Article
    Avatar of itnextITNEXT·4y

    My Golang Bookshelf — The Amazing, Good, and not recommended!

    My Golang Bookshelf is a gentle overview and not a deep review of each book. Go Web Programming Golang is quite common as a language for creating APIs and for web purposes. The book covers a sample application that will be built over multiple chapter to introduce the process of engineering the solution from start to finish. The application is scaled as it evolves through the chapters.

  7. 7
    Article
    Avatar of honeypotHoneypot·4y

    5 Reasons to Use Dependency Injection in Your Code

    Many developers use dependency injection without understanding how it works and why we need it. There are 3 main types of dependency injection: Constructor Injection, Setter Injection and Field Injection. The loosely coupled structure of code using dependency injection makes it easier to reuse business logic implementations around your codebase.