Jun
25

It's Live! 2017

It's about a week later and we're finally deployed.

I assume it works? I never know if it will once it's been deployed and I've had to flip various switches to ensure it's "production". I fully expect to spend the next hour frantically fixing things that didn't show up during local development, but it's always a nice surprise when things work first time - like this time.

But enough of that; what's the point of this?

I like reading development blogs, so once again I've began my own. At a guess, this is my third; originally they were called .plan sites based on some archaic thing developers maintained for those interested - or themselves? Dunno, really.

At the end of a day's development, I'll post here. Of course there won't be any posts for development-free days.

Now to hit Submit to see if this works...


RSS Feed: Attempt 1

Like my main site, I want to add an RSS feed to this one, except rather than write it myself I thought I'd make use of an existing package - why not, eh?

Because it doesn't bloody work, that's why. Some service provider error in Laravel. Screw it - another day.

Onto categories: unless you're me (lucky, lucky you), the way the filtering works probably doesn't make sense; I wasn't sure where I was going with it during the preliminary stages. Need to work on it later.

Edit: Noticed that there is a problem with multiple posts on the same day; or, rather, an aesthetic issue rather than functional. The date and year isn't supposed to be displayed for posts that are on the same day. Works locally, so no idea why it doesn't on the actual server.

Jun
26

Fixed Date Grouping 2017

It appears the time was being included when comparing dates to determine if posts should be grouped under the same year-month-day heading; not sure how my stupid brain managed that, but it wasn't caught due to the database seeding data not exactly being optimal and gave the impression of everything working fine.

Added Analytics to the site - which I entirely forgot about, initially.


Sub-Sorting Problem

Had a bit of an issue - and still do - with sorting returned database results; all posts are returned in descending creation date order, which is expected.

Unfortunately, due to the whole date-grouping-thing where multiple posts on the same day only use one date heading to reduce visual clutter, the posts for said day would be sorted in reverse, as a side-effect of the overreaching creation date ordering above.

I briefly tried to perform a sub-sort as part of the initial SQL query but I didn't get anywhere. I'm still not sure how to fix this without creating additional arrays and sorting those. That'll be saved as a last resort.

Jul
07

Changing to Main Domain 2017

Okay, I've decided that I'm going to move this to the main BootBlock.co.uk domain tomorrow.

I'm going to move over all of the previous articles and posts to this blog-thing in the morning as some may find them useful, and then see what happens when I shove the lot over.

Unless I decide to add more features to this before putting it on the site proper.