I have been trying to keep this portfolio and its parts pretty simple and lightweight. Part of this is wanting ton use free services as much as possible, but part of it is to keep my vanilla Javascript skills up to snuff. It also may be my recent interest in permacomputing as well as a great disdain for overcomplicated (and data-sucking) big tech products.
Sometimes though it means I miss out on some features that come a little more “out of the box.” I met up with an former colleague last week and we were talking about just this issue. He pointed out that while he has been enjoying reading these, there was no way to link to a particular post. Well no more!
I did some work this morning to add support for permalinks with these posts despite not using a backend or database. The solution I adopted here was to use query parameters from the url and a custom function to create slugs from the post titles as unique-ish identifiers. This was pretty easy to set up, luckily, and you can look at what I did ton put this together here. This also gave the the ability to refactor some functions to better organize what is happening where and add the navigation buttons to the top of then blog page as well.
Granted, this current system using a javascript array in a .js
file will only last so many more posts before I want to convert this to using a database, but I have genuinely been enjoying this set up and the custom RSS generator to put these together. My tolerance for a too-long file may grow as that file does.
There is something powerful about mastering the “simpler” or lower-level skills in coding. I felt this way when digging more deeply into bash scripting, C, and SQL queries the last few years. But I think that since I am most interested in building out things for the web, I will continue to work in vanilla (or close to) Javascript and try to make things as lightweight as can also be readable (and maintainable).
Moreso than feeling more like a wizard with code, I am feeling good about having my own online space to put the weird things I am working on or just what is interesting me at any time. It is also nice to feel like I have more control over the presentation of that space and its content. I am not necessarily interested in becoming a Content Creator™, I am interested in sharing what I make, how I make it, and especially in helping others to learn how to create spaces like these for themselves.
These posts still feel good to write and especially to see them update in my RSS reader. These will likely continue to be a mix of project updates and personal blogs. I got a lot of good feedback on and have somewhat improved the way I am spending my days, but that is a whole other work in progress.
Thanks for reading!