Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Powerduo Nx and Sheriff
Search
Rainer Hahnekamp
February 14, 2024
Technology
0
81
Powerduo Nx and Sheriff
Rainer Hahnekamp
February 14, 2024
Tweet
Share
More Decks by Rainer Hahnekamp
See All by Rainer Hahnekamp
Testing Angular in 2024
rainerhahnekamp
0
6
Towards Modern Change Detection
rainerhahnekamp
0
270
Cypress or Playwright?
rainerhahnekamp
0
200
Powerduo Nx and Sheriff
rainerhahnekamp
0
67
NgRx Signal Store
rainerhahnekamp
0
200
Signals Unleashed: The Full Guide
rainerhahnekamp
0
470
Change Detection - Deep Dive
rainerhahnekamp
0
170
NgRx Signal Store
rainerhahnekamp
0
84
Basta Spring 2024 - Cypress und Playwright
rainerhahnekamp
0
300
Other Decks in Technology
See All in Technology
知識と実践を紡ぐGenAI / Connecting Knowledge and experience with GenAI
aki_moon
2
180
iThome2024 Wailing Wall of Enterprise Security
notsurprised
0
300
回り回って効いてくる副次的効果としての技術広報/techpr
nishiuma
1
190
Prisma ORMを2年運用して培ったノウハウを共有する
tockn
19
5.1k
Deno で作る快適な “as Code” プラットフォーム – TSKaigi 2024
pizzacat83
4
310
OPENLOGI Company Profile for engineer
hr01
1
2.2k
Password cracking: past, present, future
openwall
0
280
NewSQL Landscape
oracle4engineer
PRO
5
3.2k
TypescriptでのContextualな構造化ロギングと社内全体への導入
leveragestech
3
590
Dungeons and Dragons and Rails
joelq
0
240
Real World Type Puzzle and Code Generation
yukukotani
4
640
令和版ソフトウェアエンジニアの情報収集術 PHPカンファレンス香川2024
ysknsid25
4
900
Featured
See All Featured
Into the Great Unknown - MozCon
thekraken
15
1.1k
Designing Experiences People Love
moore
136
23k
Bootstrapping a Software Product
garrettdimon
PRO
302
110k
How To Stay Up To Date on Web Technology
chriscoyier
782
250k
Design by the Numbers
sachag
274
18k
Unsuck your backbone
ammeep
664
57k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
41
4.5k
Rebuilding a faster, lazier Slack
samanthasiow
74
8.3k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
245
20k
Making the Leap to Tech Lead
cromwellryan
125
8.6k
10 Git Anti Patterns You Should be Aware of
lemiorhan
649
58k
Fireside Chat
paigeccino
22
2.7k
Transcript
RainerHahnekamp Rainer Hahnekamp - 10. February 2024 - Ng-India Powerduo
Nx and Sheriff Rainer Hahnekamp - 14. February 2024
RainerHahnekamp About Me... Professional NgRx https://www.youtube.com/ @RainerHahnekamp https://www.ng-news.com https://github.com/softarc-consulting/sheriff •
Rainer Hahnekamp ANGULARarchitects.io • Developer / Trainer / Speaker Modern Spring for Angular @RainerHahnekamp
RainerHahnekamp Agenda 1. What is Nx? 2. Nx Quick Feature
Run 3. Nx and Modules 4. Sheriff 5. Sheriff & Nx 6. Current Challenges: Barrel File / Tree Shaking / Code Splitting
RainerHahnekamp
RainerHahnekamp
RainerHahnekamp
RainerHahnekamp Nx Highlights 1. Tooling 2. Caching & Affected 3.
Cloud 4. Visualization 5. Library Support
RainerHahnekamp Shared Forms Grid Error Handling Widgets Backend Middleware ...
App Shell Domain (Holidays ) Domain (Customers) Domain (Bookings) Domain (Diary) Layer 1 - Domain modules
RainerHahnekamp Domain Feature (Container Cmp.) Data UI (Presentational Cmp.) Domain
Models Layer 2 Sub Modules
RainerHahnekamp Sheriff: Modularity in TypeScript • Module Encapsulation
RainerHahnekamp
RainerHahnekamp
RainerHahnekamp
RainerHahnekamp
RainerHahnekamp Sheriff: Modularity in TypeScript • Module Encapsulation • Dependency
Rules
RainerHahnekamp
RainerHahnekamp
RainerHahnekamp Sheriff: Modularity in TypeScript • Module Encapsulation • Dependency
Rules • Lightweight
RainerHahnekamp Sheriff: Modularity in TypeScript • Module Encapsulation • Dependency
Rules • Lightweight • Convention over Configuration
RainerHahnekamp Sheriff: Modularity in TypeScript • Module Encapsulation • Dependency
Rules • Lightweight • Convention over Configuration • Zero Dependencies
RainerHahnekamp Sheriff: Modularity in TypeScript • Module Encapsulation • Dependency
Rules • Lightweight • Convention over Configuration • Zero Dependencies • For all TypeScript Projects
RainerHahnekamp Sheriff: Modularity in TypeScript • Module Encapsulation • Dependency
Rules • Lightweight • Convention over Configuration • Zero Dependencies • For all TypeScript Projects • (Heavily) Influenced by Nx
RainerHahnekamp Nx Pros & Cons ✅ Provides a set of
exclusive Features ✅ Must-Have for certain application size ⛔ Diverging from the Angular CLI ⛔ Small Modules unfit as Libraries ⛔ Additional Layer ⛔ Not that stable as Angular CLI
RainerHahnekamp Domain Feature (Container Cmp.) UI (Presentational Cmp.) Domain Models
Nx Lib Sheriff Module Data
RainerHahnekamp Application Evolution 1. Angular CLI or NX Standalone with
Sheriff 2. Nx with Domain Libs (and Sheriff) 3. Nx with build-optimized Libs (and Sheriff)
RainerHahnekamp The Problem with the Barrel File…
RainerHahnekamp Thanks