Skip to content

Month: January 2018

PHP Interfaces, Traits, and Inheritance, how and when to use them

Hi all So this one is going to be fairly short and simple, I hope! What I am going to cover, and this does assume so prior knowledge, is what interfaces, traits, and inheritance are; and some different use cases for them. So the first one, and maybe the easiest one to cover, first: Inheritance In its simplest term, and I’m going to try and keep things simple in this article. In very brief terms, inheritance is about extending something which exists. Of course, you may well have created this base on which you’re extending. Simple use case: User class,…

Leave a Comment

Why I’ve Been Quiet

Hi everyone, As I’m about to write another blog post, I thought it was a good idea to drop a quick line up on here to explain my recent absence from my blog. I’d been trying to post every couple of weeks, to a 3 month absence is a bit noticeable. Firstly, in December, I participated in a white collar boxing match, for charity. This was through an organisation called Ultra White Collar Boxing (UWCB) and was in aide of Cancer Research UK. I know the question you’re going to ask, so I’ll answer it here, no, I didn’t win.…

Leave a Comment