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
210
Powerduo Nx and Sheriff
Rainer Hahnekamp
February 14, 2024
Tweet
Share
More Decks by Rainer Hahnekamp
See All by Rainer Hahnekamp
Towards Modern Change Detection
rainerhahnekamp
0
6
Testing in 2024: A "dynamic" Situation
rainerhahnekamp
0
65
End of Barrel Files: New Modularization Techniques with Sheriff
rainerhahnekamp
0
300
ESLint: Low Hanging Fruits
rainerhahnekamp
0
380
Refactoring in Angular via Metrics, Modularity & Testing
rainerhahnekamp
0
340
Testing in 2024
rainerhahnekamp
0
310
Modern Angular
rainerhahnekamp
0
160
Deep Dive: Change Detection
rainerhahnekamp
0
290
Testing Angular in 2024
rainerhahnekamp
0
200
Other Decks in Technology
See All in Technology
アジャイルチームがらしさを発揮するための目標づくり / Making the goal and enabling the team
kakehashi
3
150
アプリエンジニアのためのGraphQL入門.pdf
spycwolf
0
100
TypeScriptの次なる大進化なるか!? 条件型を返り値とする関数の型推論
uhyo
2
1.7k
なぜ今 AI Agent なのか _近藤憲児
kenjikondobai
4
1.4k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
0
110
『Firebase Dynamic Links終了に備える』 FlutterアプリでのAdjust導入とDeeplink最適化
techiro
0
150
インフラとバックエンドとフロントエンドをくまなく調べて遅いアプリを早くした件
tubone24
1
430
DynamoDB でスロットリングが発生したとき/when_throttling_occurs_in_dynamodb_short
emiki
0
260
Introduction to Works of ML Engineer in LY Corporation
lycorp_recruit_jp
0
140
AWS Media Services 最新サービスアップデート 2024
eijikominami
0
200
リンクアンドモチベーション ソフトウェアエンジニア向け紹介資料 / Introduction to Link and Motivation for Software Engineers
lmi
4
300k
DynamoDB でスロットリングが発生したとき_大盛りver/when_throttling_occurs_in_dynamodb_long
emiki
1
440
Featured
See All Featured
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
42
9.2k
Measuring & Analyzing Core Web Vitals
bluesmoon
4
130
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
YesSQL, Process and Tooling at Scale
rocio
169
14k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
159
15k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
26
2.1k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
109
49k
Building a Modern Day E-commerce SEO Strategy
aleyda
38
6.9k
How to train your dragon (web standard)
notwaldorf
88
5.7k
Building a Scalable Design System with Sketch
lauravandoore
459
33k
The Language of Interfaces
destraynor
154
24k
Site-Speed That Sticks
csswizardry
0
31
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