ParlaChoreDocs

đź§© What is an SPA?

SPA = Single‑Page Application.
It’s a web app architecture where:


🔎 How ParlaChore’s swapper is similar to an SPA


🔎 How ParlaChore is different from a full SPA


🎯 Think of it like this

It’s a hybrid: SPA‑like user experience (no full reloads, dynamic nav, smooth transitions) but with server‑rendered fragments instead of client‑side components.


👉 A “mini SPA framework” with vanilla JS and Thymeleaf. It’s lighter, easier to debug, and still gives the smooth overlay transitions we all want.

🎯 SPA ParlaChore
Behavior Full screen updates .overlay-content swap
Data Handling JSON API for UI and Data Mix of JSON API and server render
LifeCycle Attach persistant handlers Attach one-shot handlers or persistant handlers

đź§© How to read it