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
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
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.
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.
Mutate HTML with PHP and Laravel
Mutate HTML input with DOMDocument and DOMXPath. Interacting with DOMElements with element queries.
Tailwind CSS with WordPress - The Ultimate Guide
Create a WordPress theme using Tailwind CSS using the JIT compiler and how to watch for file changes to regenerate CSS automatically.
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 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.
How to Improve WordPress Performance
WordPress performance can be a difficult task to approach but with these simple tips and quick wins you can be off to a great start.
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 - 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
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