Two Paradigms of Web Development
Post from June 19, 2017 (↻ June 5, 2021), filed under Web Development.
On a sunny Tuesday in Düsseldorf a few weeks back, at Beyond Tellerrand, I had a pleasant recorded conversation (in German) with the team of Working Draft. In our discussion we briefly touched on the idea of web development paradigms—I vaguely borrowed from Thomas Kuhn—when it comes to the ideas behind the maintenance and optimization of frontend code, particularly HTML.
I suggested that we were dealing with two paradigms, and two models of web development.
The first model, which can be called the traditional or conservative model, follows the idea that HTML should only be touched on structural changes, and that the vision are CSS-only refreshs and redesigns. In this model, separation of concerns is critical, and the quality of the markup the highest priority. (You usually find me squarely in this camp.)
The second model, which may be called the ubiquitous model (other names? please leave suggestions), reflects the idea that all changes are so easy—including HTML changes that have ceased to mean edits to huge collections of static files—that there are no fix boundaries anymore around what to place particular emphasis or importance on: If anything we’ve become so efficiency-oriented that most now appears to be a matter of process and automation.
As I added on the Working Draft podcast, “paradigm” is somewhat of a misnomer in a sense that one is not currently superseding the other (Kuhn again), but they’ll likely stay with us to represent two different development realities. I personally believe in strict separation of concerns and to put most emphasis on quality HTML code (first model), yet the technological landscape has changed and one can find more taste not making such distinctions (second model).
The most important piece, however, is that we recognize and learn to work well with these paradigms, just as we’ve long been benefiting from differentiating between sites and apps, and research and production code. Like in other parts of life, answers in web development often start with “it depends,” too.
I’m Jens Oliver Meiert, and I’m an engineering manager and author. I’ve worked as a technical lead for Google, I’m close to the W3C and the WHATWG, and I write and review books for O’Reilly. Other than that, I love trying things, sometimes including philosophy, art, and adventure. Here on meiert.com I share some of my views and experiences.
If you have questions or suggestions about what I write, please leave a comment (if available) or a message.
Have a look at the most popular posts, possibly including:
Looking for a way to comment? Comments have been disabled, unfortunately.
Perhaps my most comprehensive book: The Web Development Glossary (2020). With explanations and definitions for literally thousands of terms from Web Development and related fields, building on Wikipedia as well as the MDN Web Docs. Available at Apple Books, Kobo, Google Play Books, and Leanpub.