Blog (page 2)

WordPress Gutenberg: React & Advanced Custom Fields (ACF)

The new WordPress Gutenberg editor has been in release for over a year. Post content is composed of “blocks”. Everything is a block. From the humble paragraph to the more advanced gallery and video embed — all blocks. There are two common methods to create Gutenberg blocks. The first is to follow the offical handbook. Blocks and […]

Debugging a Todo App

So lately I’ve been boasting about how easy it is to build Progressive Web Apps. I’ve been dogfooding my glorified todo app Mute Swan for weeks thinking it was perfect (bug-free) and quite possibly a game changer, if I dare say. As it turns out these things are not so easy to test. This week I […]

Bundle a PWA as an Android App

A Progressive Web App (PWA) is a website with a few extra pieces. PWAs can be installed or bookmarked from the browser using “Add to Home Screen”. On Android 9 doing this via Firefox (v68, left) and Chrome (v80, right) gives two different results on my Samsung S8: The Firefox icon isn’t desirable. Although the […]

HTTP Security Headers and Inline Resources

As it turns out, HTTPS is not the end-all to securing a website. Mozilla Observatory and Security Headers both scan HTTP headers and report back on adherence to, or lack thereof, best practices. In my case gets a big fat “F”. I’m hosting on GitHub Pages so there is not much I can do except use […]

Docker, WordPress, and Portless Localhost Domains

The Docker life chooses you. I bet a lot of developers have had a similar introduction. You’re brought onto a project and it’s like; “Hey we’re using Docker, just run ‘docker-compose up’.“ they say, “Sure, I know Docker,“ you shrug. Then you spend the better part of the week debugging. I’ve worked on maybe two dozen […]

Building a PWA with Netlify Functions

A couple of weeks ago I took Netlify for a spin. I found the platform to be much easier to use than I’d anticipated. I was keen to test more features. Netlify Functions provide back-end functionality through API endpoints. They’re powered by AWS Lambda. I’m using AWS for my contact form. It took me forever to […]

A Morning with Vue.js

I’m a React person but I’m not devoted to it. Honest! Earlier this week I found a morning to flirt with Vue.js. My intention was to pen an article comparing the two frameworks. Upon reflection it feels somewhat pointless. Like React, Vue is primarily “focused on the view layer”. And like React, Vue does a pretty […]