Pixelite

A technology blog or rant area depending on the topic

  • Home
  • Drupal
  • About
  • Contact
Preparing for a high traffic event, simple steps to success
Performance

Preparing for a high traffic event, simple steps to success

The steps that any new launch or high traffic event should go through in order to have the best chance of success.

  • Sean Hamlin
    Sean Hamlin
6 min read
Search API attachments and storing reasonable amounts of data
Drupal

Search API attachments and storing reasonable amounts of data

Search API Attachments has a setting that allows you to store only the most important information in the database.

  • Sean Hamlin
    Sean Hamlin
4 min read
How to add sub tabs under the User profile in Drupal 8
Drupal

How to add sub tabs under the User profile in Drupal 8

A simple step by step tutorial on adding a custom sub tab in a user's profile in Drupal 8.

  • Sean Hamlin
    Sean Hamlin
2 min read
How the feeds module in Drupal 7 ended up causing MySQL to sever the connection
Drupal

How the feeds module in Drupal 7 ended up causing MySQL to sever the connection

This is a short story on an interesting problem we were having with the Feeds module and Feeds directory fetcher module in Drupal 7.

  • Sean Hamlin
    Sean Hamlin
5 min read
PHP 7.3 and when you can upgrade your Drupal site
Drupal

PHP 7.3 and when you can upgrade your Drupal site

PHP 7.3.0 was released in December 2018, and brings with it a number of improvements in both performance and the language. As always with Drupal you need to strike a balance between adopting these new improvements early and running into issues

  • Sean Hamlin
    Sean Hamlin
4 min read
Analyzing Cloudflare Logs (formally ELS) with the command line
Cloudflare

Analyzing Cloudflare Logs (formally ELS) with the command line

If you have an enterprise zone with Cloudflare, there is the ability to request the raw request logs using 'Cloudflare Logs' (formally called Enterprise Log Share or ELS for short).

  • Sean Hamlin
    Sean Hamlin
6 min read
Adding Google Analytics to AMP posts in Ghost
Ghost

Adding Google Analytics to AMP posts in Ghost

Ghost comes with AMP support, however there is no built in way to in the administration UI to add Google Analytics to your AMP theme. Fortunately, implementing this is relatively simple.

  • Sean Hamlin
    Sean Hamlin
3 min read
How to generate a CSR with SANs in PHP
PHP

How to generate a CSR with SANs in PHP

A simple tutorial on how to generate a CSR with SANs in PHP. Code samples are supplied.

  • Sean Hamlin
    Sean Hamlin
2 min read
Custom Cloudflare WAF rules that every Drupal site should run
Drupal

Custom Cloudflare WAF rules that every Drupal site should run

This blog post helps to summarise some of the default rules I will deploy to every Drupal (7 or 8) site as a base line.

  • Sean Hamlin
    Sean Hamlin
5 min read
New features coming in PHP 7.4
PHP

New features coming in PHP 7.4

PHP 7.4 is scheduled for release in November of this year, with it bring some performance improvements along with some new features. Here are a couple of the new features that are

  • Craig Pearson
    Craig Pearson
4 min read
The history of Pixelite, a progression through the CMS landscape
Meta

The history of Pixelite, a progression through the CMS landscape

This website www.pixelite.co.nz has gone through a few iterations over the years. I thought I would go through a few of the various CMSs and hosting providers we have used, and what went well, and what lessons we learned.

  • Sean Hamlin
    Sean Hamlin
4 min read
Creating a cluster with Rancher - Part 1: Installing rancher
Docker

Creating a cluster with Rancher - Part 1: Installing rancher

Rancher is an open-source self-hosted Kubernetes user interface. I'm going to show you how easy it is to get up and running with Rancher so that you can have a play.

  • Craig Pearson
    Craig Pearson
3 min read
Using Docker for PHP development.
Development

Using Docker for PHP development.

I'm going to assume you have some basic knowledge of docker. I also assume you have installed docker and docker-compose locally. You can read more about docker here. I'm going to be doing

  • Craig Pearson
    Craig Pearson
4 min read
Add PrismJS to Ghost for syntax highlighting of code snippets
Ghost

Add PrismJS to Ghost for syntax highlighting of code snippets

Out of the box Ghost will not syntax highlight your code snippets. I will explain how to implement these changes in your own site.

  • Sean Hamlin
    Sean Hamlin
3 min read
JSON:API testing with Cypress
Drupal

JSON:API testing with Cypress

Upgrading JSON:API and Drupal core can be tricky to keep your API intact. Using Cypress is an easy way to have an extra set of eyeballs on the upgrade.

  • Sean Hamlin
    Sean Hamlin
3 min read
API testing using CasperJS
CasperJS

API testing using CasperJS

Having tests across your API endpoints is essential in order to avoid regression issues down the track

  • Sean Hamlin
    Sean Hamlin
4 min read
10 things I learnt building in Drupal 8
Drupal

10 things I learnt building in Drupal 8

Some of the neat things I have found with Drupal 8 and some of my lessons learned

  • Sean Hamlin
    Sean Hamlin
6 min read
Writing PHPunit tests for your custom modules in Drupal 8
Drupal

Writing PHPunit tests for your custom modules in Drupal 8

Integrating PHPunit into your custom modules is now even easier.

  • Sean Hamlin
    Sean Hamlin
4 min read
Deleting multiple fields with large amounts of data in Drupal 7
Drupal

Deleting multiple fields with large amounts of data in Drupal 7

Sometimes truncation is best

  • Sean Hamlin
    Sean Hamlin
2 min read
Estimating Drupal projects
Drupal

Estimating Drupal projects

A collection of resources from Drupal development shops

  • Sean Hamlin
    Sean Hamlin
3 min read
Measuring Drupal content growth over time
Drupal

Measuring Drupal content growth over time

A graphical way to see how your Drupal site content is growing over time

  • Sean Hamlin
    Sean Hamlin
3 min read
Integrating multisite Drupal with Apache Solr
Drupal

Integrating multisite Drupal with Apache Solr

Your options, the pros and the cons

  • Sean Hamlin
    Sean Hamlin
2 min read
Dynamic content caching based on attributes in Drupal 7
Drupal

Dynamic content caching based on attributes in Drupal 7

Simple code to maximise your varnish hitrate

  • Sean Hamlin
    Sean Hamlin
5 min read
Starter regression test suite powered by CasperJS
CasperJS

Starter regression test suite powered by CasperJS

Kick start your automated testing

  • Sean Hamlin
    Sean Hamlin
2 min read
Using Snap.svg for rich interactivity
SVG

Using Snap.svg for rich interactivity

A quick intro into using Snap.svg

  • Craig Pearson
    Craig Pearson
5 min read
Pixelite © 2019 Creative Commons Attribution-NonCommercial 4.0 International License.
Latest Posts Facebook Twitter Ghost