Best of Dependency InjectionJune 2025

  1. 1
    Article
    Avatar of freecodecampfreeCodeCamp·49w

    The NestJS Handbook – Learn to Use Nest with Code Examples

    NestJS is a progressive Node.js framework that combines object-oriented, functional, and reactive programming paradigms to build scalable server-side applications. Built on top of Express or Fastify, it provides a structured architecture using modules, controllers, and providers with built-in dependency injection. The framework offers TypeScript-first development, decorators for routing and validation, middleware support, guards for authorization, exception filters for error handling, and interceptors for response transformation. It includes comprehensive database integration options with TypeORM, Mongoose, and Prisma, along with built-in testing capabilities and CLI tools for code generation.

  2. 2
    Article
    Avatar of collectionsCollections·47w

    Effect: A TypeScript Library That Transforms Backend Development

    Effect is a TypeScript framework for building robust backend applications using generators and advanced TypeScript features. Despite its initially intimidating syntax with function* and yield* patterns, it provides powerful benefits including type-safe error handling, sophisticated dependency injection, and improved observability. The library enables compile-time validation and offers comprehensive modules for concurrency and resource management, making backend applications more reliable and maintainable.

  3. 3
    Article
    Avatar of jetbrainsJetBrains·48w

    Ktor 3.2.0 Is Now Available

    Ktor 3.2.0 introduces significant new features including dependency injection module, HTMX integration, typed configuration deserialization, Unix domain socket support for CIO engine, and Gradle version catalog support. The release also adds suspend modules for asynchronous initialization and improved integration with existing DI frameworks like Koin. Notable improvements include automatic configuration file deserialization into data classes and enhanced HTML attribute handling for HTMX applications.