Slide 1

Slide 1 text

Miroslav Jonas / @meeroslav / nx.dev / nrwl.io The Obvious Choice Angular Munich Meetup / March 2022

Slide 2

Slide 2 text

Miroslav 
 Jonaš @meeroslav

Slide 3

Slide 3 text

CHOICES

Slide 4

Slide 4 text

STAY FRESH LONGER

Slide 5

Slide 5 text

FILTER THE NOISE

Slide 6

Slide 6 text

ONE EASY CHOICE

Slide 7

Slide 7 text

ONE OBVIOUS CHOICE

Slide 8

Slide 8 text

Homepage App Backend Every application* UI Components 
 / 
 Design system

Slide 9

Slide 9 text

Homepage App Backend Every application* UI Components 
 / 
 Design system Service 1 Service 1 Service 1 Service 1 Service 1 Service 1 Service 1

Slide 10

Slide 10 text

Homepage App Backend Every application* UI Components 
 / 
 Design system Service 1 Service 1 Service 1 Service 1 Service 1 Service 1 Service 1 Admin Portal App Mobile App

Slide 11

Slide 11 text

Homepage App Backend Every application* UI Components 
 / 
 Design system Service 1 Service 1 Service 1 Service 1 Service 1 Service 1 Service 1 Admin Portal App Mobile App Utility

Slide 12

Slide 12 text

Main library Website / Docs Every open source* Demo 1 Example 2 Showcase 3

Slide 13

Slide 13 text

Homepage App Backend Collocation UI Components 
 / 
 Design system Service 1 Service 1 Service 1 Service 1 Service 1 Service 1 Service 1 Admin Portal App Mobile App Utility

Slide 14

Slide 14 text

Code sharing

Slide 15

Slide 15 text

Just collocation NOT

Slide 16

Slide 16 text

Affected graph store games sales coupons core shared admin

Slide 17

Slide 17 text

Workspace analysis

Slide 18

Slide 18 text

Task orchestration Test Build Lint Build Lint Test Build Lint Test

Slide 19

Slide 19 text

Caching Never { build, test, lint… } same code twice { build, test, lint,... } Nx Local cache { build, test, lint,... } Nx Local cache

Slide 20

Slide 20 text

Distributed task execution 10 tasks 110 tasks 100 tasks 150 tasks 10 tasks 105 tasks 5 tasks 60 tasks 35 tasks Agent 1 Agent 2 Agent 3 Agent 4 Agent 5 Single agent

Slide 21

Slide 21 text

Code constraints

Slide 22

Slide 22 text

Code constraints store games sales coupons core shared admin

Slide 23

Slide 23 text

But I have only one project…

Slide 24

Slide 24 text

@angular/cli is awesome but Nx is über awesome

Slide 25

Slide 25 text

Powerful generators

Slide 26

Slide 26 text

Consistent tooling

Slide 27

Slide 27 text

Demo time

Slide 28

Slide 28 text

Monorepos bring clarity - workspace analysis - graph visualization

Slide 29

Slide 29 text

- local & remote caching - task orchestration - detecting affected nodes - distributed task execution - remote execution Monorepos bring speed

Slide 30

Slide 30 text

- code sharing - code collocation - powerful generators - consistent tooling - code constraints Monorepos make it easy

Slide 31

Slide 31 text

nx.dev / nrwl.io Use

Slide 32

Slide 32 text

Miroslav Jonas / @meeroslav / nx.dev / nrwl.io The Obvious Choice Angular Munich Meetup / March 2022