PHP

Web Development Articles

Stay up to date with the blog posts about web development. Featuring posts about Laravel, WordPress, PHP, JavaScript and other technologies for web development.

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.

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.

Copyright © 2024 | bonnick.dev