Articles & Tutorials

2024/10/18

Using Craft CMS Live Preview with Next.js

Live preview is awesome for seeing your content before it's published. Whenever I have built a client site, it's important for them to see changes reflected in real time. Within this post we'll explore how to get Craft and Next.js talking.

Read Article

2024/10/06

The WordPress Problem & Alternative CMS’s You Should Use

Over the past several weeks, there has been a lot of drama around WordPress and it's use. This has made developers very wary of WordPress and its longevity. In this article, I discuss the problem and provide you with a few CMS's that you can use as alternatives.

Read Article

2024/10/01

Using Craft CMS Headless with Next.js

Craft CMS is awesome, so I like to use it wherever possible. In this article, we'll talk about how to set Craft up as a headless CMS and set up Next.js so that it can read and handle the data.

Read Article

2021/10/08

Subscriptions & Selling Plans with Shopify's Storefront API

Shopify's API recently (October 2021) received an update that allows for stores to both receive subscriptions for products add said subscriptions (selling plans) to the cart. Let's look at how we can use this

Read Article

2021/06/28

Lazy Loading Vanilla JS with WebPack (+ Laravel Mix)

When using a lot of JS we need to look at ways we can optimise the loading of our scripts. We can do this by lazy loading the JavaScript so it's only loaded when requested through the browser.

Read Article

2021/05/15

Creating a Marquee with Tailwind CSS

Let us look at setting up a marquee element using only Tailwind and HTML that will loop infinitely.

Read Article

2021/03/25

Creating a Modal with TailwindCSS & Alpine JS

In this article, we'll talk about how we can set up a modal that can be used anywhere on your site by combining Alpine.js with Tailwind CSS.

Read Article

2021/03/22

Deep Dive: Building a Shopify Add-on for Statamic

Following the release of my Shopify add-on I wanted to breakdown what went on behind the scenes whilst building it, the issues occurred, and the ways I solved them. In this article I discuss the CMS integration to Statamic.

Read Article

2020/08/20

Generating Sitemap Entries For Nuxt Content

When generating a sitemap for our Nuxt site files in the content module are not automatically included. Let's find out how we can solve that and how best to include all of the paths you want to be present.

Read Article

2020/08/05

Adding Fathom Analytics to a Nuxt Project

How to add Fathom Analytics to your Nuxt project and stop it tracking on your development environment.

Read Article

2020/05/30

Parsing JSON Files from a Remote URL with Node, JSONStream and Hyperquest

Node is pretty awesome at handling large chunks of data. In this article we will learn how to utilise JSONStream and Hyperquest to parse and stream JSON files from remote URLs within Node.

Read Article

2020/01/14

Refactoring and Optimising Our Router Within Svelte

In Part 3 of the series on Working with Svelte, We are going to take a look at how to improve our router (implemented with Page.js) and refactor the code to provide a more solid approach. We will also set up our application to easily add in new routes.

Read Article