Skip to Main Content
Js typewriter

TypeScript - PHP style error checking in JS

421899024 10160014929187201 3541990577107788219 n 2024 06 19 120204 sylo
By Matt on

What is it and should you be using it? Does it replace other libraries or work alongside them? We take a look and find all the answers in this deep dive / tutorial.

Latest Code Posts

Ecologi Eden Reforestation Tree Planting Projects
Andrew profile
By Andrew on
A Digital , Code

A Digital are supporting tree planting projects through a partnership with Ecologi. For every piece of code we commit to our version control system, we're planting a tree!

Fibre Optic Cables
421899024 10160014929187201 3541990577107788219 n 2024 06 19 120204 sylo
By Matt on
Craft CMS , Code

Exploring database connection methods in CraftCMS and Yii. We connect to a Microsoft Azure database and show examples of how we can handle the data in a number of different ways between our plugin code and templates

Loading screen
421899024 10160014929187201 3541990577107788219 n 2024 06 19 120204 sylo
By Matt on
Craft CMS , Code

When connecting to enterprise systems we need to return the most recent data, this means we can't use caching but we end up with a slow loading page as a result. In this article we explain how to improve the speed whilst keeping the data fresh.

Hidden bug
421899024 10160014929187201 3541990577107788219 n 2024 06 19 120204 sylo
By Matt on
Craft CMS , eCommerce , Code

An honest look into some weaknesses in a site we've built, exposed by the perfect storm of situations. We set the scene and describe how we fixed it.

Jigsaw puzzle
Mark profile
By Mark on
Code

Following up on a previous post, this is how we implemented Tachyons into our CSS build process with Gulp.

Queue from above
Mark profile
By Mark on
Craft CMS , Code

Using Redis for higher availability is great, but there is a potential pitfall.

Lego heads
Laura profile
By Laura on
Code

Getting to grips with HTML headings on each page of your website is a surprising simple, yet powerful way to improve both accessibility and technical SEO.

Emma svalstad 1273069 unsplash
421899024 10160014929187201 3541990577107788219 n 2024 06 19 120204 sylo
By Matt on
Craft CMS , Code

Optimising our font loading and htaccess file. Includes image manipulations using srcset, webp and lazy loading. Make your sites load faster!

Suraj patil 1104516 unsplash
421899024 10160014929187201 3541990577107788219 n 2024 06 19 120204 sylo
By Matt on
Craft CMS , Code

Setting up local development with MAMP and composer without the need for valet, homestead, docker, etc. We also make use of project config and automation.

High availability scalable tree
421899024 10160014929187201 3541990577107788219 n 2024 06 19 120204 sylo
By Matt on
Craft CMS , Code

We look at how to build and configure a HA server environment using the command line. We also configure Craft to use external Redis and Database servers.