Ensuring better git commit messages with a global template

2017-03-30

I read the advice here some time ago, and I’ve been following it by and large. However, only recently I discovered how to enforce a line limit when git-commit starts up nano: ~/.gitconifg: [core] editor = nano -r 72The problem is that doesn’t help limit the summary to 50 characters,…

Read more: Ensuring better git commit messages with a global template

Logging

2016-11-14

Logging is an important thing to get right. It is a window into what’s happening in your application, right now and [x] days ago. Keeping a close eye on the error logs allows you to find bugs that users haven’t reported, or haven’t noticed. Doing logging right involves a few…

Read more: Logging

Laravel Facades pollute the mindset of junior developers

2016-10-06

Laravel Facades came in for some criticism a couple of years ago. https://www.reddit.com/r/PHP/comments/1zpm0y/laravel_lets_talk_about_facades/ http://paul-m-jones.com/archives/5952 https://www.brandonsavage.net/lets-talk-about-facades/ I’ve got a greenfield project at work using Lumen (Laravel Lite), which is what’s brought it back to my attention. Lumen, by default, switches off the Facades feature. However, a bunch of the documentation asks…

Read more: Laravel Facades pollute the mindset of junior developers

UX and security, so often traded off against each other. Can't we have both?

2016-07-01

In this day and age of frequent large scale data breaches and compromising of passwords, security is rightly being talked about more. Unfortunately, this is often at the expense of user experience. Can’t we have both? The simple answer is no, but the longer answer is a more complicated yes…

Read more: UX and security, so often traded off against each other. Can't we have both?

Password managers and data breaches

2016-05-26

If the LinkedIn hack has told us anything, it’s some stuff that we already knew. You can’t really on even massive, well known sites to store passwords correctly, or to have been doing so since they started out. Get your family and friends setup We as techies have a responsibility…

Read more: Password managers and data breaches