whateverthing.com

Portfolio and Technology Blog
by Kevin Boyd

The Heart of Darkness: Preventing SQL Injection using PDO Parameter Binding

Lately I’ve been feeling a bit burnt out about technology and even the world in general. This summer has been a bit of a pounding in a few ways, at least if you follow the news. And I do follow the news - entirely too much. The world seems to be trending to a dark place.

Again.

But on the bright side, there’s one place that has always been dark and foreboding. No matter how bad the world gets, this one place can’t get any worse than it already is.

I speak, of course, of forgotten code. Not dead code, not mere legacy code, but rather, code that runs every day yet hasn’t been looked at by a developer in years. Often, the code was written in a hurry using the fastest time-to-implement solution available. Sometimes by a very inexperienced developer.

All of that means one thing: it could be vulnerable.

Read more of this post »

August 28, 2014

Tags: dev, development, coding, howto, sql, pdo, legacy


My First Ruby Steps

Changes are afoot: I’ve been given the opportunity to learn Ruby on Rails on a project at work. It’s been a while since I started a new language, and my last attempt at Python kind of fizzled, so I’m hoping that Ruby will be easier to pick up.

So Far, So Good

I’ve had some exposure to Ruby in the past, such as with Puppet modules and Capistrano deployments, but until now I haven’t really concentrated on understanding the language itself. Compared to PHP, it’s lean and clean. I’m definitely liking what I’m seeing.

Read more of this post »

July 17, 2014

Tags: dev, development, opinion, environment, ruby, rails