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

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!

By Andrew on A Digital , Code
Fibre Optic Cables
421899024 10160014929187201 3541990577107788219 n 2024 06 19 120204 sylo

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

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

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.

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

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.

By Matt on Craft CMS , eCommerce , Code
Jigsaw puzzle
Mark profile

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

By Mark on Code
Queue from above
Mark profile

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

By Mark on Craft CMS , Code
Lego heads
Laura profile

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.

By Laura on Code
Emma svalstad 1273069 unsplash
421899024 10160014929187201 3541990577107788219 n 2024 06 19 120204 sylo

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

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

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.

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

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.

By Matt on Craft CMS , Code