Share options

Links to related pages

Essays about code. Essays about context. Critiques of coding practices.

Essays about connection

Tying it all together: API design, HTTP, protocols, file & folder hierarchies, architectures, collaboration, etc.

Data-driven UIs
DDUIs mean a single source of truth and the benefits that come with it.
A key to reducing tech debt and eliminating bugs is to maintain a single source of truth. Driving the UI (and the API) from the database schema is a great way to achieve this.
DOM to JSON and back
We can persist and rehydrate DOM objects with simple vanilla JS.
We can easily use vanilla JS to convert DOM objects to JSON (including events), persist them, and then rehydrate them. Or generate the DOM programmatically. Nice, eh?
The Craft Code approach
A craft coding primer.
Web APIs and the DOM already provide more than enough power. All that React code is nothing more than an abstraction layer on top of the DOM. Why not use the DOM directly?

Links to related pages

Essays about code. Essays about context. Critiques of coding practices.

Get notified form

Get notified of site updates
Button bar

Carbon emissions for this page

Cleaner than 99% of pages tested
0.014g on first visit; then on return visits 0.008g
QR Code

Scan this code to open this page on another device.