HTMX and Web Components: a Perfect Match
2023-12-21; 2109 words; 17 minutes to read;
Web Components are a set of browser APIs that allow us to create custom HTML elements. They are one of the major things that SPA (Single Page Application) frameworks have been giving us for a long time ... HTMX is highly interesting, useful and a promising technology. It simplifies many things and allows us to build SPA or SPA-like applications without complex tooling, dependencies, frameworks and mostly without writing application-specific JavaScript code.
Modular Monolith and Microservices: Modularity is what truly matters
2023-11-26; 3468 words; 28 minutes to read;
Modularity is a crucial concept when designing and creating software. Independent of whether our chosen architecture style is to have a single unit of deployment - Monolith or multiple units of deployment - Microservices/Services. It is a quality that should be treated completely independent of how many deployable units of software we choose to have.
Unit, Integration, E2E, Contract, X tests: what should we focus on?
2023-11-04; 3014 words; 24 minutes to read;
When we write software, we intend it to be used in some, usually predefined and desirable, way. All software has some specification, either explicitly described or implicitly assumed. How do we know that it (software) works? We can test it manually, using all of its features and functionalities. Unfortunately, this approach breaks down pretty fast.
Index: a crucial data structure for search performance
2023-10-08; 2909 words; 23 minutes to read;
There are many variations and types of it, depending on the underlying database/search engine and its purpose, but the core concept is always the same: let's have an additional data structure that points to/references the original data and makes searching fast.