---
title: Essays
description: "On hypermedia and building for the web."
---
import { getFolder } from '../../lib/content';
export const essayFolder = await getFolder('essays');
export const localEssays = essayFolder.files;
export const externalEssays = [
{title: "HATEOAS Is For Humans", url: "https://intercoolerjs.org/2016/05/08/hatoeas-is-for-humans.html", author: "Carson Gross", date: "2016-05-08", tags: "foundations"},
{title: "Taking HTML Seriously", url: "https://intercoolerjs.org/2020/01/14/taking-html-seriously", author: "Carson Gross", date: "2020-01-14", tags: "foundations"},
{title: "The API Churn/Security Trade-off", url: "https://intercoolerjs.org/2016/02/17/api-churn-vs-security.html", author: "Carson Gross", date: "2016-02-17", tags: "the-case-for-hypermedia"},
{title: "A Modest Critique of htmx", url: "https://chrisdone.com/posts/htmx-critique/", author: "Chris Done", date: "2024-10-01", tags: "counterpoints"},
{title: "A Modest Critique of htmx (Response)", url: "https://news.ycombinator.com/item?id=41782080", date: "2024-10-01", tags: "counterpoints"},
{title: "I tried HTMX, then ditched it", url: "https://ajmoon.com/posts/mesh-i-tried-htmx-then-ditched-it", author: "AJ Moon", tags: "counterpoints"},
{title: "Is Rendering JSON More Efficient Than HTML?", url: "https://github.com/1cg/html-json-speed-comparison", author: "Carson Gross", tags: "guides"},
{title: "Is JSON Smaller Than HTML?", url: "https://github.com/1cg/html-json-size-comparison", author: "Carson Gross", tags: "guides"},
{title: "The Grug Brained Developer", url: "https://grugbrain.dev", author: "Carson Gross", tags: "simplicity"},
{title: "htmx Implementation Deep Dive", url: "https://www.youtube.com/watch?v=javGxN-h9VQ", author: "Carson Gross", tags: "simplicity"},
{title: "A File Structure For The Complex, The Changing and the Indeterminate", url: "https://dl.acm.org/doi/pdf/10.1145/800197.806036", author: "Ted Nelson", date: "1965-01-01", tags: "research"},
{title: "The Mother Of All Demos", url: "https://www.youtube.com/watch?v=B6rKUf9DWRI", author: "Doug Engelbart", date: "1968-01-01", tags: "research"},
{title: "The First Web Page", url: "http://info.cern.ch/hypertext/WWW/TheProject.html", date: "1991-01-01", tags: "research"},
{title: "Architectural Styles and the Design of Network-based Software Architectures", url: "https://ics.uci.edu/~fielding/pubs/dissertation/top.htm", author: "Roy Fielding", date: "2000-01-01", tags: "research"},
{title: "State of the Art Review on Hypermedia Issues and Applications", url: "https://web.archive.org/web/20240428215142/https://paul.luon.net/hypermedia/index.html", date: "2006-01-01", tags: "research"},
{title: "How Primer changed JavaScript at Facebook", url: "https://youtu.be/BZmfCjtv6cM", author: "Makinde Adeagbo & Tom Occhino", date: "2010-01-01", tags: "research"},
{title: "Hypermedia Controls: Feral to Formal", url: "https://dl.acm.org/doi/pdf/10.1145/3648188.3675127", author: "ACM HT'24", date: "2024-01-01", tags: "research"},
{title: "Preserving REST-ful Visibility With Generalized Hypermedia Controls", url: "https://hypermedia.cs.montana.edu/papers/preserving-restful.pdf", author: "ACM SIGWEB", date: "2024-01-01", tags: "research"},
];
export const fmtDate = (d) => {
if (!d) return undefined;
return new Date(d).toLocaleDateString('en-US', {year: 'numeric', month: 'short', day: 'numeric'});
};
export const allEssays = [
...localEssays.map(e => ({
title: e.frontmatter.title,
url: e.url,
author: e.frontmatter.authors?.join(', '),
date: fmtDate(e.frontmatter.created),
rawDate: e.frontmatter.created,
tags: Array.isArray(e.frontmatter.tags) ? e.frontmatter.tags.join(' ') : '',
external: false,
})),
...externalEssays.map(e => ({
title: e.title,
url: e.url,
author: e.author,
date: fmtDate(e.date),
rawDate: e.date ? new Date(e.date) : null,
tags: e.tags,
external: true,
})),
].sort((a, b) => {
if (!a.rawDate && !b.rawDate) return 0;
if (!a.rawDate) return 1;
if (!b.rawDate) return 1;
return new Date(b.rawDate).getTime() - new Date(a.rawDate).getTime();
});
export const GROUPS = [
{id: 'foundations', label: 'Hypermedia and REST'},
{id: 'the-case-for-hypermedia', label: 'Why Hypermedia?'},
{id: 'case-studies', label: 'Real World htmx Experiences'},
{id: 'counterpoints', label: 'On The Other Hand…'},
{id: 'guides', label: 'Building Hypermedia Applications'},
{id: 'simplicity', label: 'Complexity Very, Very Bad'},
{id: 'research', label: 'Hypermedia Research'},
];
export const recentEssays = allEssays.filter(e => e.rawDate).slice(0, 5);
export const grouped = GROUPS.map(g => ({
...g,
essays: allEssays.filter(e => (e.tags || '').includes(g.id)),
})).filter(g => g.essays.length > 0);
export const essayRow = (essay) => ({
class: "stretch-link",
'data-filter': `${essay.title} ${essay.author || ''} ${essay.tags || ''}`.toLowerCase(),
});
{grouped.map(group => (
))}