Manfred Steyer
Sustainable Angular Architectures with Nx and Strategic Design
#1about 4 minutes
Using Strategic Design to decompose large systems
Strategic Domain-Driven Design (DDD) provides a methodology for decomposing a large, complex system into smaller, more maintainable sub-domains to prevent tight coupling.
#2about 6 minutes
Understanding the benefits of using monorepos
Monorepos simplify development by co-locating all projects, eliminating dependency version conflicts, and removing the burden of distributing internal libraries via NPM.
#3about 2 minutes
Enhancing Angular monorepos with Nx tooling
Nx extends the Angular CLI with powerful tools for monorepos, including the ability to visualize the dependency graph between libraries to prevent unwanted coupling.
#4about 4 minutes
Structuring libraries with Domain-Driven Design principles
Organize your monorepo by creating folders for each domain and a shared kernel, then categorize libraries into feature, UI, domain, and utility types to bring order.
#5about 3 minutes
Defining and enforcing architectural access restrictions
Implement strict access rules, such as layering where higher layers access lower ones, and domain boundaries to prevent direct communication and ensure loose coupling.
#6about 4 minutes
Using APIs to safely share code between domains
Avoid an overgrown shared kernel by creating dedicated API libraries that expose a small, stable public interface from one domain for use by others.
#7about 3 minutes
Isolating the domain model and business logic
Structure your domain library into three parts: the core domain logic, an infrastructure layer for data access, and an application layer with facades for state management.
#8about 8 minutes
Code walkthrough of an Nx and DDD project structure
A practical demonstration shows how an Nx monorepo is organized into apps and libs, with domains containing layered libraries and using index.ts to define public APIs.
#9about 4 minutes
Enforcing architectural rules with Nx linting
Nx can automatically enforce your architectural boundaries and layering rules using custom linting configurations, preventing violations directly in the IDE and CI pipeline.
#10about 5 minutes
Speeding up CI builds with Nx affected commands
Use Nx's `affected` commands to intelligently run tests and builds only on the projects impacted by your code changes, dramatically speeding up your CI/CD pipeline.
#11about 4 minutes
Summary of sustainable architecture principles
A recap of key takeaways including subdividing applications into domains and layers, using fine-grained libraries as units of recompilation, and enforcing rules with Nx.
Related jobs
Jobs that call for the skills explored in this talk.
Matching moments
44:56 MIN
Key takeaways for adopting Nx and monorepos
Nx - the easy choice
12:19 MIN
Using Nx to manage and scale a frontend monorepo
Stairway to Heaven - Scaling Frontends the Right Way
18:45 MIN
Migrating to standalone and architecting your application
Stand alone components in Angular
27:10 MIN
Addressing common misconceptions about Nx
Nx - the easy choice
23:22 MIN
Q&A on backend, git structure, and micro frontends
Generate Customer Journeys from reusable Building Blocks
18:08 MIN
A practical demonstration of an Nx workspace
Stairway to Heaven - Scaling Frontends the Right Way
51:51 MIN
Audience Q&A on signals and Angular development
Angular Signals: what's all the fuss about?
40:18 MIN
Enterprise-grade features like caching and boundary enforcement
Nx - the easy choice
Featured Partners
Related Videos
Stairway to Heaven - Scaling Frontends the Right Way
Florian Rappl
Micro Frontends with Module Federation: Why and How?
Manfred Steyer
Multiple Ships to the Island - Micro Frontends & Island Architectures
Florian Rappl
Nx - the easy choice
Miroslav Jonas
Angular Unleashed: Mastering Modern Web Development with Angular
Indu Chaube
Angular tips/tricks you can use from tomorrow on
Benedikt Starzengruber
The Microfrontend Revolution- Using Webpack 5 Module Federation with Angular
Manfred Steyer
NgRx Tips for Future-Proof Angular Apps
Marko Stanimirović
Related Articles
View all articles



From learning to earning
Jobs that call for the skills explored in this talk.




Softwareentwickler Angular
4k analytics
4k analytics
Leipzig, Germany
DevOps
Python
Gitlab
Docker
Angular
+2


Angular Software Developer
Multi-media-management Gmbh
Hannover, Germany
CSS
HTML
NestJS
Angular
TypeScript
+1

Modern Frontend Developer - Clean Code & UX Thinking
Rocken AG
Rorschach, Switzerland
Remote
CHF95-105K
CSS
JSON
gRPC
+5

H/F Développeur Backend Node.js / NestJS - Architecture Hexagonale & DDD
Sept Lieues
Paris, France
€65-70K
Go
C++
Java
Vue.js
+9

Web Developer - Angular
Minnt Gmbh
Unterföhring, Germany
CSS
Angular
JavaScript
TypeScript
Agile Methodologies