Matthew Daly

Matthew Daly @matthewbdaly

About: I'm a professional PHP, Python and Javascript developer from the UK. I've worked with Django, Laravel, and React, among others. I also maintain a legacy Zend 1 application.

Location:
UK
Joined:
Sep 8, 2018

Matthew Daly
articles - 38 total

30 Plants a Week Tracker - React Native app built for the GitHub Copilot Challenge

This is a submission for the GitHub Copilot Challenge : New Beginnings What I Built For a...

Learn More 5 0Jan 19

Dynamic image handling with Glide and GraphQL

I've used Glide on several PHP projects in the past. It's a great package that makes it really easy...

Learn More 5 1Sep 20 '21

Lightweight Laravel - deconstructing a full stack framework

Back when I used to work with Django, I read the book Lightweight Django, and it completely changed...

Learn More 9 2Dec 30 '20

What I want in a PHP CMS

I maintain a custom PHP legacy CMS for a client, and have also been building a micro-CMS as a...

Learn More 9 5Oct 4 '20

Flow typed AJAX responses with React Hooks

I’m a big fan of type systems in general. Using Psalm to find missing type declarations and incorrect...

Learn More 1 0Jun 14 '20

Does technical debt make burnout more likely?

I've been working on a large legacy project for just over two years, and it's been my primary focus...

Learn More 2 3May 14 '20

Caching the Laravel user provider with a decorator

A couple of years ago I posted this article about constructing a caching user provider for Laravel....

Learn More 13 3Mar 11 '20

The trouble with integrated static analysis

I’ve always been a big fan in general of tools that provide feedback about the quality of my code....

Learn More 5 0Feb 13 '20

Don't use stdClass

The digital agency I work for specialises in marketing, so some of my work tends to relate to mailing...

Learn More 9 0Feb 10 '20

F*** PHPStorm Man and the high horse he rode in on

There’s a particularly unpleasant type of programmer that exists, and you’ve probably met him, either...

Learn More 6 9Jan 26 '20

Unconventional backends and data sources

I've been a web dev for seven years now, and most of the sites I've worked on have used a database,...

Learn More 4 1Dec 16 '19

Input components with the useState and useEffect hooks in React

Like many developers who use React.js, I’ve been eager to explore the Hooks API in the last year or...

Learn More 7 0Oct 28 '19

Flexible data types with the JSON field

Relational databases have many advantages over other data stores. They’re (mostly) solid, mature...

Learn More 10 0Oct 14 '19

Storing Wordpress configuration in environment variables

Wordpress configuration can be a serious pain in the proverbial. Hard-coding configuration details in...

Learn More 6 0Sep 22 '19

Using Mix versioning outside Laravel

Laravel Mix is a really convenient front end scaffold, and not just in the context of a Laravel...

Learn More 7 0Sep 21 '19

Setting private properties in tests

Sometimes when writing a test, you come across a situation where you need to set a private field...

Learn More 8 6Sep 8 '19

Skipping environment specific PHPUnit tests

If you’re doing client work, you don’t generally have to worry too much about working with any...

Learn More 9 0Jul 30 '19

What have you been watching on TV lately?

Interested to know what other developers have been watching, or are looking forward to. Doesn't...

Learn More 3 8Jul 13 '19

Powering up git bisect with the run command

The bisect command in Git can be very useful when trying to catch any regressions. If you know that a...

Learn More 9 0Jun 20 '19

Writing golden master tests for Laravel applications

Last year I wrote a post illustrating how to write golden master tests for PHP applications in...

Learn More 10 2May 14 '19

How much difference does adding an index to a database table make?

For the last few weeks, I’ve been kept busy at work building out a new homepage for the legacy...

Learn More 11 0Mar 6 '19

Searching content with Fuse.js

Search is a problem I’m currently taking a big interest in. The legacy project I maintain has an...

Learn More 10 0Feb 26 '19

Higher-order components in React

In the last few weeks I’ve been working on a big rebuild of the homepage of the legacy application I...

Learn More 8 0Feb 20 '19

Creating your own dependency injection container in PHP

Dependency injection can be a difficult concept to understand in the early stages. Even when you’re...

Learn More 7 0Feb 9 '19

Understanding query objects

The project I’ve been maintaining for the last year has inherited a rather dubious database structure...

Learn More 6 0Jan 29 '19

Writing a custom sniff for PHP CodeSniffer

I’ve recently come around to the idea that in PHP all classes should be final by default, and have...

Learn More 5 0Jan 20 '19

You don't need that module package

Lately I’ve seen a number of Laravel packages being posted on places like Reddit that offer ways to...

Learn More 8 0Jan 9 '19

Why bad code is bad

This may sound a little trite, but why is it bad to write bad code? Suppose you’re a client, or a...

Learn More 6 0Jan 3 '19

Improving search in Vim and Neovim with FZF and Ripgrep

A while back I was asked to make some changes to a legacy project that was still using Subversion....

Learn More 10 0Dec 31 '18

Decorating service classes

I’ve written before about using decorators to extend the functionality of existing classes, in the...

Learn More 10 1Dec 7 '18