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
240
Powerduo Nx and Sheriff
Rainer Hahnekamp
February 14, 2024
Tweet
Share
More Decks by Rainer Hahnekamp
See All by Rainer Hahnekamp
Microfrontends: Necessities - Implementations - Challenges
rainerhahnekamp
0
94
Zoneless Testing
rainerhahnekamp
0
120
Towards Modern Change Detection
rainerhahnekamp
0
11
Testing in 2024: A "dynamic" Situation
rainerhahnekamp
0
89
End of Barrel Files: New Modularization Techniques with Sheriff
rainerhahnekamp
0
360
ESLint: Low Hanging Fruits
rainerhahnekamp
0
390
Refactoring in Angular via Metrics, Modularity & Testing
rainerhahnekamp
0
360
Testing in 2024
rainerhahnekamp
0
320
Modern Angular
rainerhahnekamp
0
170
Other Decks in Technology
See All in Technology
型情報を用いたLintでコード品質を向上させる
sansantech
PRO
2
140
Storage Browser for Amazon S3
miu_crescent
1
290
社内イベント管理システムを1週間でAKSからACAに移行した話し
shingo_kawahara
0
200
普通のエンジニアがLaravelコアチームメンバーになるまで
avosalmon
0
120
GitHub Copilot のテクニック集/GitHub Copilot Techniques
rayuron
39
16k
サービスでLLMを採用したばっかりに振り回され続けたこの一年のあれやこれや
segavvy
2
550
怖くない!ゼロから始めるPHPソースコードコンパイル入門
colopl
0
160
Work as an App Engineer
lycorp_recruit_jp
0
370
re:Invent をおうちで楽しんでみた ~CloudWatch のオブザーバビリティ機能がスゴい!/ Enjoyed AWS re:Invent from Home and CloudWatch Observability Feature is Amazing!
yuj1osm
0
140
Microsoft Azure全冠になってみた ~アレを使い倒した者が試験を制す!?~/Obtained all Microsoft Azure certifications Those who use "that" to the full will win the exam! ?
yuj1osm
2
120
小学3年生夏休みの自由研究「夏休みに Copilot で遊んでみた」
taichinakamura
0
180
組織に自動テストを書く文化を根付かせる戦略(2024冬版) / Building Automated Test Culture 2024 Winter Edition
twada
PRO
18
5.6k
Featured
See All Featured
Statistics for Hackers
jakevdp
796
220k
Writing Fast Ruby
sferik
628
61k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
3
170
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
29
2k
Facilitating Awesome Meetings
lara
50
6.1k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
Docker and Python
trallard
42
3.1k
How to train your dragon (web standard)
notwaldorf
88
5.7k
Put a Button on it: Removing Barriers to Going Fast.
kastner
59
3.6k
Designing Experiences People Love
moore
138
23k
Fontdeck: Realign not Redesign
paulrobertlloyd
82
5.3k
Being A Developer After 40
akosma
87
590k
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