Some things are either 0 or I.
Thoughts about managing binary machines (computers), which are controlled by the people called: programmers, software engineers, coders, developers, hackers.
By Igor Roztropiński
---
-
Multi vs Single Page Apps: user experience, performance, complexity and more
2025-03-08
To establish what these differences are, we will go through two implementations of Projects App - one as HTMX MPA and the other as React SPA. This makes our comparison more concrete and objective, since the same functionalities were implemented twice, only approach - MPA vs SPA - is what makes these cases different.
-
React and HTMX: different abstractions, different tradeoffs
2025-01-28
React and HTMX represent two completely different approaches to building web applications. React approach is JSON centric. It is driven by JSON, a data format that is totally different from what is needed to render web pages or their fragments - HTML ... HTMX approach is HTML centric. It is driven by HTML - data is received in the exactly same way it is required for rendering, there is no need for any transformations.
-
SQLite DB: simple, in-process, reliable, fast
2024-12-24
I love simplicity. Complexity is our eternal enemy and Simplicity is beautiful; rarely something is as simple as SQLite: a single-file, in-process database. It runs inside our application, there is no need for a separate database server.
-
MySQL and PostgreSQL: different approaches to solve the same problem
2024-11-11
Both databases solve the same problem: how to most effectively store and provide access to data, in an ACID-compliant way? ACID compliance might be implemented in various ways and SQL databases can vary quite substantially how they choose to go about it.
-
HTMX with Shoelace Web Components: using framework-agnostic components in an example app
2024-10-12
As we already know, HTMX pairs really nicely with Web Components. Shoelace is a popular and mature collection of configurable Web Components, which by definition are framework agnostic. Since writing our own components library is a ton of work, we should rather prefer using something ready and battle tested. Let's then see how this library plays with HTMX by building a real application!