Slide 1

Slide 1 text

Workshop Naufal Hakim Building Modern Monolith Application

Slide 2

Slide 2 text

naufal@jsd:~$ whoami naufal@jsd:~$ > Naufal Hakim hostname > Jenderal Solusi Digital naufal@jsd:~$ echo $SIDEJOB > Electrical Engineering Student

Slide 3

Slide 3 text

SPA Single Page Application a web app implementation that loads only a single web document

Slide 4

Slide 4 text

SPA vs MPA SPA Modern Fast Great UX Complex Poor SEO MPA Traditional Slower than SPA Standard UX Simple Good SEO SPA MPA which one will you choose?

Slide 5

Slide 5 text

SMPA SPA or MPA? SMPA

Slide 6

Slide 6 text

RILT React Inertia Laravel Tailwind B Bootsrap

Slide 7

Slide 7 text

Core Concept Component Props State Hook Unopinionated

Slide 8

Slide 8 text

Core Concept Component “independent and reusable bits of code”

Slide 9

Slide 9 text

Core Concept Component JSX JavaScript Expression ES6 masih labil, 11? 12? 11/12?

Slide 10

Slide 10 text

Core Concept Props “Data”

Slide 11

Slide 11 text

Core Concept State & Hook Data yang dinamis

Slide 12

Slide 12 text

Laravel is a web application framework with expressive, elegant syntax Framework sejuta umat Ecosystem Developer Experience

Slide 13

Slide 13 text

Monolith??? Eitsss kata siapa? PHP??? Lambat dong??

Slide 14

Slide 14 text

client-side rendered, single-page apps without building an API “Modern Monolith” Official Adapters Client Side Server Side

Slide 15

Slide 15 text

How it works XHR/Ajax First Request Subsequent Request With Header : X-Inertia X-Inertia-Version { "component": "Event", "props": { "event": { "id": 1, "title": "Workshop Unsoed" }, "url": "/events/1", "version": "", "encryptHistory": true, "clearHistory": false }

Slide 16

Slide 16 text

Let’s Code