Event Driven Frontends
WHAT, WHY & HOW
(not necessarily in that order)
Matthew Cox
Software Engineer with
linkedin.com/in/matthewcoxlondon�
@matt-matters.bsky.social
First… some caveats
The Why
Example�Reporting in a Property Management System (PMS)
PMS
Customer A�THE GRAND HOTEL
Customer B�COMFORT STAY HOTEL
Customer C�LAKESIDE INN
Example�Reporting in a Property Management System (PMS)
PMS
Customer A�THE GRAND HOTEL
Customer B�COMFORT STAY HOTEL
Customer C�LAKESIDE INN
Revenue Manager
Why
Why
Why
Why
Why
Problems to solve
Why
Why
Backend team
Frontend team
Why
Why
Problems to solve
The How
How
How
calcOccupancyForecast {}
JS
How
How
Problems to solve
How
Problems to solve
How
Problems to solve
How
Problems to solve
The What
Event Driven Microservices Architecture
Event Driven Microservices Architecture
Event Driven Microservices Architecture
Event Driven Microservices Architecture�Event Sourcing
Event Driven Microservices Architecture�Event Sourcing
Event Driven Microservices Architecture�Event Sourcing
Event Driven Microservices Architecture�Event Sourcing – Key Benefits
Historic state
Debugging
Memory image
What. Events…
What? Events… in the browser
Write JS to create whatever state you like. Interrogate it to create your models on-the-fly.
What
This is obviously potentially huge!
What�Customer Partitioned Event Sourcing
What�Customer Partitioned Event Sourcing
Reservation events log file for Customer A
What�Snapshotting
Reservations event log for Customer A
Beginning of time
What�Snapshotting
What�Snapshotting
Event-Carried State Transfer
What�Snapshotting
Event-Carried State Transfer
What�Snapshotting
What�Snapshotting
What�Snapshotting
What
What
What
What
Default VFS
SyncAccessHandle Pool
What
Default VFS
SyncAccessHandle Pool
What
Two big advantages to using OPFS
What
Two big advantages to using OPFS
What
Two big advantages to using OPFS
What
Two big advantages to using OPFS
What
Two big advantages to using OPFS
What
Two big advantages to using OPFS
What
Two big advantages to using OPFS
What
Two big advantages to using OPFS
What
Do fetching and processing inside web workers
What
Do fetching and processing inside web workers
What
Do fetching and processing inside web workers
Final thoughts
Final thoughts
Event Driven Frontends
WHAT, WHY & HOW
Matthew Cox
Software Engineer with
linkedin.com/in/matthewcoxlondon�
@matt-matters.bsky.social