Blog

Thoughts from Generate Conference

The other week I was lucky enough to get a ticket to Generate Conference by .net Magazine. There were some really interesting talks, some technical, others more inspirational.

Building the Orkos House website with Foundation

I was recently asked to update the website for Orkos House. The old website was built with a free website creator and used tables for the page layout. It had some great images and I saw a lot of potential for this site.

Adding Twitter cards to Jekyll

Twitter cards are a great way of making links to your site stand out to other twitter users. They can be used to provide additional information and an image about your page, from within twitter when you expand a tweet. Examples include twitter summary cards that provide a title, description and image, or product cards that can provide information such as price or product category.

Upcoming Book Promotions

Just a quick message to let you know of a couple of promotions on my books on the Amazon UK kindle store.

Thinking about design

I was following a bus the other day and it was so slow. It started me thinking about the design of a bus and how could it be imporved with modern technology. Some of the problems with buses include:

Welcome to my new site!

Hello and welcome to my new site, powered by Jekyll.

Latest Posts

The PHP for loop
The PHP for loop

If you have something you want to repeat then consider using a PHP for loop, saving you from copying and pasting the same code multiple times. Adding the code into a loop means you only have to write it once, and you also only have to maintain the code in one place in future.

Refactoring to Laravel 8 Class Model Factories
Refactoring to Laravel 8 Class Model Factories

Laravel 8 introduced new class based model factories and if you have an existing project you can use the legacy factories package to keep using the old factories. I have tended to keep the factories as they were and continue development, but after working on a fresh Laravel 8 project and using the new class based syntax I decided to go back and update the factories in the older Laravel apps. This article explains how I went about refactoring the factories to classes.

The PHP array
The PHP array

Arrays are a useful toolt to store multiple values. You can access a specific value in an array using a key. By default, if you don’t specify keys, they will be numeric and start at zero (not one);

How NOT to make a website

How NOT to make a Website

By C.S. Rhymes

From £8.99

Nigel's Intranet Adventure

Nigel's Intranet Adventure

By C.S. Rhymes

From £2.69