<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet href="/feeds.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:base="https://chameth.com/">
    <title>Chameth.com - posts like moving-back-to-a-dynamic-website but not monthly-meanderings-2026-05, why-you-should-be-using-https</title>
    <subtitle>Personal homepage of Chris Smith</subtitle>
    <link href="https://chameth.com/feeds/posts/like/moving-back-to-a-dynamic-website/unlike/monthly-meanderings-2026-05,why-you-should-be-using-https/" rel="self"/>
    <link href="https://chameth.com/"/>
    <icon>https://chameth.com/favicon.png</icon>
    <updated>2025-10-28T00:00:00Z</updated>
    <id>https://chameth.com/</id>
    <author>
        <name>Chris Smith</name>
    </author>
    <entry>
        <title>Moving back to a dynamic website</title>
        <link href="https://chameth.com/moving-back-to-a-dynamic-website/"/>
        <updated>2025-10-28T00:00:00Z</updated>
        <id>https://chameth.com/moving-back-to-a-dynamic-website/</id>
        <content xml:lang="en" type="html">&lt;p&gt;For the past few weeks I’ve been working on converting chameth.com from a static site into a dynamically generated site backed by a database. This is the exact opposite process to one I went through maybe a decade ago. So why the change, and what’s different?&lt;/p&gt;
&lt;p&gt;I’d actually been toying with the idea of switching for a while. Every now and then I’d have a thought along the lines of “it would be nice if I could add X to my website… but how would that work with static site generation?”. Comments, private drafts, dynamic themes based on the date, and many more little bits and pieces. You can definitely &lt;em&gt;do&lt;/em&gt; them with a static site generator, but it felt like going against the grain. The beauty of a static site is that it’s… well… static. Shoehorning in dynamic features takes away a lot of the benefits, or leads to having lots of weird seams where you join the static and dynamic pieces together.&lt;/p&gt;
&lt;p&gt;A bunch of things have changed since I originally switched to a static site generator. In no particular order:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The advent of containers, and managing them with config like in &lt;code&gt;docker-compose&lt;/code&gt;, means standing up and managing a database for the site is trivial.&lt;/li&gt;
&lt;li&gt;I’ve learnt and really like Golang, which makes writing HTTP-based servers a breeze, and makes it easy to deploy the site as a single binary (in a container).&lt;/li&gt;
&lt;li&gt;LLM agents are good enough that I can have it do all the boring CRUD work needed to actually make a dynamic site work (&lt;em&gt;so&lt;/em&gt; many admin functions…).&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href=&#34;https://github.com/csmith/chameth.com/&#34;&gt;The code&lt;/a&gt; is open source if you’re interested. I’ve made no effort to make it generally useful outside of this website, but it might serve as a useful reference if you want to do something similar. Now that’s done, I can safely procrastinate on all those dynamic features I had planned!&lt;/p&gt;
</content>
    </entry>
</feed>
