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
12:19 MIN
Using Nx to manage and scale a frontend monorepo
Stairway to Heaven - Scaling Frontends the Right Way
44:56 MIN
Key takeaways for adopting Nx and monorepos
Nx - the easy choice
18:45 MIN
Migrating to standalone and architecting your application
Stand alone components in Angular
23:22 MIN
Q&A on backend, git structure, and micro frontends
Generate Customer Journeys from reusable Building Blocks
27:10 MIN
Addressing common misconceptions about Nx
Nx - the easy choice
18:08 MIN
A practical demonstration of an Nx workspace
Stairway to Heaven - Scaling Frontends the Right Way
29:14 MIN
Answering questions on advanced Angular topics
Angular Features You Should be Using
02:37 MIN
Understanding Angular's all-in-one framework approach
Angular Features You Should be Using
Featured Partners
Related Videos
Stairway to Heaven - Scaling Frontends the Right Way
Florian Rappl
Nx - the easy choice
Miroslav Jonas
Micro Frontends with Module Federation: Why and How?
Manfred Steyer
Multiple Ships to the Island - Micro Frontends & Island Architectures
Florian Rappl
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
Meet Your New BFF: Backend to Frontend without the Duct Tape
Noam Honig
Related Articles
View all articles



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

Senior Angular Developer (m/w/d)
autoiXpert GmbH & Co. KG
Stuttgart, Germany
Senior
Node.js
Angular
MongoDB
TypeScript

(Senior-) Frontend-Developer Angular (m/w/d)
BMS Corporate Solutions GmbH
Düsseldorf, Germany
Intermediate
Senior
CSS
HTML
Angular
TypeScript



H/F Développeur Backend Node.js / NestJS - Architecture Hexagonale & DDD
Sept Lieues
€65-70K
Vue.js
NestJS
Docker
MongoDB
+5



