My avatar...

Dave Henry Blog

Syndication feed icon

2025 Blaugust 02 - Brand new start

Published -
Cover Image

If you're on the site this is the new build, using the myPOSSE-builder. I'm still not happy with the site layout and there are a lot of things that aren't in place yet, but I'll keep working on it. This post is mostly going to be me trying to get straight what I've done up to now and where I want to go with my builder. Mostly because I think it's good to get the ideas that have been rattling around in my head for the past year out.

The problem I had with SSG, as my first attempt at making a static site generator was that I made it as I thought of things. It had no flexibility in it all. All the HTML was in the application. For me to change anything I had to rebuild the code then run it against the content to get the site out the other end.

The first thing I did was create a new project and this time made it as if I was going to release it for other people to use. This approach is both good and bad. Good because it made me think about how I was going to maintain it, but also bad because I would start trying to plan too far out with what if scenarios for things I haven't got to yet.

It's also been fun building something from scratch in a way I don't get to do for work. Actually picking design patterns, and putting together all the things that are normally decided before I get my grubby hands on it. At work even when I'm working on a new project someone else is the architect. I'm just the code monkey that is tasked with making the thing work.

Repository-Service Pattern with Dependency Injection, a design that I've been using for years but I'd never built a project from nothing using it. How do the projects link together? What are the packages that each of them are going to depend on to work? Do I need to add the same package to each of them or is there an abstractions package? Stupid things that I'd never had to think about before. And I realised something, I'm a good developer, but I suck at project architecture.

Even now, I am not happy with how things have come together. But that's the point of working on your own things. You can make them better. You can shape them into the picture in your head, and the more you work at it the better it'll be.

Anyway the site will have to look like a disappointment to me for now. I have to get back to working on the new server API so I can start adding things like a comments system and figuring out how ping-backs work. Oh bugger that reminds me I've hard coded the OpenGraph bits.😱

Well that'll have to be tomorrows job.


It will get better I promise but until then Stay lucky. 👨‍🏭

Comments

Leave a comment by replying to this post on Mastodon.

Loading comments...