My name is Stefan Ashwell and when I'm not coding personal projects or painting miniatures, I'm a Software Engineer at Holmes Media in Market Harborough.

This blog is a place for me to write about things that require that little bit extra to solve. We all have gaps in our knowledge and every now and then I need to reach out on search engines or blogs to find an answer. Often, these answers come from multiple sources. This blog serves as a personal resource, but if it's helpful for me I'm sure it'll help others too!


CodeIgniter Base Model

Posted on 14 September 2016

Why Use a Base Model? I like to use a base model for common CRUD tasks that every model will need to perform. Rather than duplicating lots of code to retrieve database records this stuff can be written once and used by all of them. Of course, some models might need something slightly different, which […]

Continue reading

Advanced User Authenication Handling in CodeIgniter

Posted on 12 July 2016

This article is part of the CodeIgniter Development Series where we discuss some advanced and real world topics involving the CodeIgniter framework. Today we focus on user authentication¬†and some best practices to use when building a secure login environment for members of an application. Our goal here is not to simply allow users to login […]

Continue reading

CodeIgniter Development Series

Posted on 11 July 2016

What is This Series? Welcome to a new series on Code Bastard – CodeIgniter Development. I’ve been using CodeIgniter extensively now for over 5 years, and have learnt a lot over that time. With this series I’d like to add some meaningful tutorials discussing how you can use CodeIgniter in real world situations. What I […]

Continue reading