LoveDuckie

PHP

A popular general-purpose scripting language that is especially suited to web development.

Blogs

I've written 7 blogs about PHP.

SilverStripe: Generating URL Segments for DataObjects
Posted 24 months ago by LoveDuckie

As documented on the official SilverStripe website, you can render DataObjects as individual pages using controller actions.

SilverStripe: Integrating Memcached Caching with Docker
Posted 2 years ago by LoveDuckie

In this blog post, I am going to demonstrate how you can hook up an existing memcached server instance with SilverStripe.

SilverStripe: Generating Google Sitemaps for DataObjects
Posted 2 years ago by LoveDuckie

Lately I've been trying to expose as much as my website as possible through the Google Sitemap that is generated automatically when you navigate to the /sitemap.

SilverStripe: JSON-LD Structured Data
Posted 2 years ago by LoveDuckie

This website is currently powered by SilverStripe which is an all encompassing Content Management System (CMS) and framework for building web applications using PHP.

Tips for Optimizing Page Speeds
Posted 3 years ago by LoveDuckie
An in-depth guide on how to improve the performance of your website in several areas, including Docker, NGINX, and SilverStripe.
Setting Up a Windows PHP Development Environment
Posted 5 years ago by LoveDuckie

Setting up a local development environment for PHP on Windows has proven to be tricky if you're using an existing web-server package such as XAMPP or WAMP.

Enabling Syntax Highlighting in SilverStripe 4
Posted 5 years ago by LoveDuckie

SilverStripe's backend HTML WYSIWYG editor does not come out-of-the-box with support for inserting code snippets or samples with syntax highlighting enabled.