ArchitectureIntermediate
Repository, Unit of Work & CQRS: Spring, NestJS, FastAPI
Repository, Unit of Work and CQRS in Spring Boot, NestJS and FastAPI — real code, the framework built-ins, and when each pattern earns its keep.
23 min
Repository, Unit of Work and CQRS in Spring Boot, NestJS and FastAPI — real code, the framework built-ins, and when each pattern earns its keep.
Strategy and Template Method, side by side in Java, Node.js, and Python: real code, the framework built-ins, and when each pattern earns its keep.
Proxy, Decorator and Adapter already run your Spring Boot app — @Transactional, @Cacheable, HandlerAdapter. Real code, the built-ins, and the traps.
Factory, Builder, and Singleton in real Spring Boot code: @Bean factories, fluent builders, and why the container makes hand-rolled singletons obsolete.