💾 Archived View for thurk.org › blog › 549.gmi captured on 2024-05-26 at 15:01:30. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-03-01)
-=-=-=-=-=-=-
As I have noted, I changed the architecture of Martenblog. Specifically, I rid it of MongoDB, opting for a filesystem storage. Even the topics themselves are represented by a colossal json that occludes the memory of several partial universes. I'm content with the new *form*. *Form* is a word that our happy-go-lucky chum Christian often uses to describe structures created and maintained since antiquity, and mostly in the realm of musics and arts. He is very happy-go-lucky. In fact, he is so happy-go-lucky that he has no idea of the architecture change which envelopes Martenblog. No superficial modification is apparent. The *form* between the fundamental and the surface blundered into a new reality. In this respect, we are all happy-go-lucky.
Each entry is a separate file. New raw input can be placed anywhere as long as it adheres to a proprietary *form*. Said proprietary *form* is quite simple and consists of a header and body like this:
Subject: The Heat Death of the Universe Topic: relationships,entropy Babble burble blather in markdown.
I simply execute a function on the filename and it is transformed. Existence becomes a bit more happy-go-lucky.
Why did I opt for MongoDB in the first place, an only semi-happy-go-lucky reader might ask? Well! I wanted to learn MongoDB, after all. What better way to do it than insert it into a personal project. Martenblog has blundered through a number of database forms during its existence since 2006. I believe the original was MySql. MySql is an abomination, of course. Perhaps some particularly happy-go-lucky humans in a few partial universes may disagree with this statement, but I stand by it. I stand by it in any number of partial universes.
Obviously MongoDB is a bit overblown for a blog. It's taken me approximately 12 years to guide the blundering form into the simple nirvana of the filesystem. What tempered grace! What patience! I've read much discussion concerning data longevity, and in particular personal data longevity. I haven't read anything about Martenblog's longevity in specific, but I assure myself that the blunderings of a few partial universes need its persistence. It's obvious to me that the less complex a system is, the easier it is to maintain its longevity. It follows that MongoDB is scrapped. This change is on the relative heels of making the whole of the codebase a so-called *static blog generator* with a few accessory items such as the creation of Rss & Atom feeds, as well as accessing a much maligned Postgres (only slightly less of an abomination than MySql) database for Lakife. I'll eventually blunder away from the latter.
@flavigula@sonomu.club
CC BY-NC-SA 4.0