Web Development Articles

Read the latest blog posts about all things web development. Featuring posts about Laravel, WordPress and front-end technologies.

WordPress Caching | No Plugins
WordPress

3 mins

WordPress Caching - No Plugins

Implement caching in WordPress plugins and themes without using a plugin. WordPress' transient API provides us with the ability to create a database caching right out of the box. By implementing a simply API over the top, we can easily start to cache parts of our theme or plugins.

Interact with a WordPress Database from a Laravel Application
Laravel

2 mins

Interact with a WordPress Database from a Laravel Application

Have a Laravel application on a subdomain that interacts with a WordPress database? In some cases a REST API connection is simply unnecessary, especially for simple database queries. In this post we take a look at how we can improve performance and use the Eloquent ORM to interact with WordPress' data.

Laravel SEO Tips
SEO

5 mins

Simple Laravel SEO Tips for Beginners

The most important factor to consider with your technical SEO is the information you supply to search engines in the head of your pages, this includes the title tag, meta data such as description and OpenGraph data. When using the layouts feature of Blade, you may notice that updating the head tags can quickly become as mess.

6 CSS Generators to Save You Time
Front End

2 mins

6 CSS Generators to Save You Time

Save time developing CSS with these handy CSS generators. From linear and radial gradient generators to more complex animation keyframes generators - these tools are a great addition to your toolbox!

WordPress Maintenance
WordPress

4 mins

WordPress Maintenance

WordPress maintenance is essential for keeping your site running at peak performance and reducing security risks. This article covers the most essential tasks required for WordPress maintenance.

Deployment with Github Actions
Dev Ops

2 mins

Deployment with Github Actions

Recently I discovered the power of using Github workflows to automate dev ops. Github actions allows us to customise and execute workflows from right inside the repository. Let's look at what we can do with Github actions.

Developing WordPress with Docker
WordPress

6 mins

Developing WordPress with Docker - Quick Start Guide

Developing WordPress couldn't be easier than by using Docker. Quickly spin up any version of WordPress and any version of PHP with just a few simple tweaks to a config file! Including e-mail support with MailHog and visual database management with PhpMyAdmin.

Improve Your Testing Suites Readability
Dev Ops

4 mins

Improve Your Testing Suites Readability

Take a look at your testing suite, think to yourself... If I come back to this project in a months time and decide to refactor this function, which then causes my tests to fail, could I read the tests that are failing and still be able to deduce what I broke? A well written test suite would certainly be able to do this.

Copyright © 2024 | bonnick.dev