Taking a trip down memory lane
I'd like to tell you a story of a weird journey I undertook this summer. I don't really remember how and why. Perhaps a conversation on the Dev Days triggered it. Or I just wanted to calm a junior dev complaining about the backend by telling grandpa like stories. I honestly don't remember. But at some point in early August I thought about TYPO3's beginnings. Well, at least my first steps with it. (My own history with TYPO3 is a bit patchy anyway: I glanced at 3.3 occasionally. I did one project in 3.8 — where I basically just overwrote one of those shipped templates — and only from 4.0 on I worked with it more professionally.)
So how did this one end up eating my summer? It all started with a simple question: Do I still remember that TYPO3 from 2002? I was pretty sure I did, even though I had only booted it once or twice back then and never really worked with it, because at the time it was simply too complex for me. But I remembered some of it and that it wasn't too different from today. (After all we still carry traces of Kasper's code today.) And that started something which is at the same time a complete waste of energy and time and one of the funnest projects I did the last few months.
I somehow got it running locally, opened the backend, and realized I had forgotten a lot of details about it. The odd
logo, the frames, the way it was still spelled "Typo 3", the whole feel of working in it. And then, the moment it loaded,
it all came flooding back,
Of course I couldn't leave it at that. If 3.3 and 3.8 could do this to me, what would the others do? I remembered that the logos had changed over the years, and I could even picture a few of them, but I couldn't have told you tiny details and which logo belonged to which release. So I wanted to see them all again, like flipping through an old photo album.
Somewhere around then the idea got out of hand. Wouldn't it be great to show this to my colleagues? The ones who were around back then would recognize it right away, and the younger ones could finally see what they missed, and what we used to build real websites with. My plan was modest. Recreate every version at a resolution that works for everyone, take a few screenshots, publish them here, done. Would have been cool enough.
Except you can't screenshot something that only lives in your memory. I had to run those versions for real, and you can probably guess how that went. One thing led to another.
Getting them into containers was a bit of a fight, mostly because of PHP 4, which nobody ships anymore .. for reasons. I ended up learning to compile PHP 4.4.9 from the original source, and when I finally logged into 3.3 and clicked through the backend like it was June 2002. I just sat there for a moment. No mockup, no recording, the real thing. I took a video capture anyhow and shared it with my colleagues. Not long after that, I had one Docker image for every major version from 3.3 to 6.2.
Obviously, nobody but me would ever see any of it in action. My InfoSec colleagues would probably kill me if they saw me running this in our infrastructure. I mean, these containers carry a shitload of CVEs, years of unpatched holes you'd never want anywhere near the internet. There I sat with a bunch of working instances and no visitors, a museum with all the exhibits ready and the doors locked.
My wishful thought was a disposable, time-limited and somewhat secure wrapper, something like demo.typo3.org, then. But I didn't feel like building and running that kind of infrastructure, and with all the cuts it would need for security, there wouldn't have been much fun left anyway.
Then came the TYPO3 Community Sprint in Düsseldorf in October. There, Thomas Maroschik pointed me to WordPress Playground and to how they compiled PHP to WebAssembly so it runs right in the browser. That was the moment the whole thing flipped for me, because suddenly the problem looked completely different, and visitors wouldn't need a server of mine at all.
My background in C or WebAssembly is close to nil, so I had no business trying this. But I asked a popular LLM for help, and it lifted me over the finish line, and the result is an exceptional experience, for me and hopefully for you too.
So, if you want to see what TYPO3 looked and felt like back then, and maybe get a little misty-eyed when the old logo shows up, go and try it at throwback.mteu.cc.
A lot of what makes this work in the browser is, let's be honest, borrowed (or even stolen with LLMs in the mix) from someone else. Naturally, all of it is public and licensed accordingly where I could do that myself. The Docker images and the WebAssembly apps (both hosted on GitHub) are there for everyone to use, run and take apart at github.com/mteu/typo3-throwback.
As mentioned here earlier and a gazillion times in the GitHub repo, these stacks are insecure by design, so please run them only on your own machine and never expose them to a network. You have been warned.