Shortdark Web Development

Posts

Upgrading Gatsby and Fixing Version Mismatches 25 April, 2021

I recently cloned one of my GatsbyJS websites. It was a fresh computer with nothing installed on it, so I originally followed this guide to…

Wordpress Vs Static Websites 30 December, 2020

I watched a lecture from "Clean Coding" author, Robert C. Martin (Uncle Bob), recently. He was talking about making a website with his son…

Serving a S3 Static Website through CloudFront and CloudFlare 06 December, 2020

It is possible to set up a static website on S3 and serve it through CloudFlare without needing CloudFront. The reason you might like to use…

PHP Coding Style (More Than One Way to Skin a Cat) 29 November, 2020

I look up everything before I use it. An IDE such as PHP Storm has the PHP docs built in so can tell you a lot of the information you need…

Regex Examples 19 July, 2020

Coding that is simple yet powerful allows you to get many different problems solved. As such, using regex is one of my favorite coding…

Some CSS Discussion 01 March, 2020

The actual CSS is no longer in this post, it has been moved here Bart Simpson Head Animation How did we manage before smartphones? The other…

Setting up AWS Elastic Beanstalk with Laravel to update with GIT 08 December, 2019

Here's what you do to set up an AWS Elastic Beanstalk instance and update it through GIT. So, you'll need the correct access on your AWS…

Updating Headers for Extra Security 02 June, 2019

In this post, we looked at some ways to tighten up security and increase the speed of websites in modern times. How to Implement Security…

Optimizing MySQL Queries 22 April, 2019

When you first build a website the database may seem fast. All your queries may get executed quickly. But, after a while when the database…

Creating a Composer Package Tutorial 21 April, 2019

This is a simple step-by-step guide to making a PHP composer package that can be listed publicly on packagist.org for anyone in the world to…