That's an off-the-cuff comment I made during a presentation at the Nashville PHP meetup last night, and one of the attendees messaged me later asking if I could expand on that thought. First, I think a definition is important. Data is facts, statistics, quantities, values, characters, etc. In the context of programming, it’s anything that can be assigned to a variable. Procedural code sends data through a series of instructional steps to accomplish the goals of the…
Read on ›

One of my core responsibilities as a senior software engineer is mentoring the junior engineers and interns at work. It's one I don't take lightly, and as a follow-up to discussions where new concepts are introduced, I usually try to find a good written reference for them to bookmark for later.

Recently a question came up with our new interns while talking through the design of a feature:

The full post ›
One of the most common security threats in web applications is SQL injection. It continues to top the OWASP application security risk list. Yet somehow many developers don't even know what it is. SQL injection is when a malicious SQL query is injected into a legitimate query run by the application, usually by a nefarious user through an input field in the user interface. It happens when the application isn't protecting the database from raw user input—common in so many…
Read on ›

Wow, my last post got way more attention than I expected, even making it all the way to the front page of Hacker News this past Saturday! To my surprise most of the response was positive. Even Reddit and Hacker News weren't too brutal. There was the expected amount of snark, to be sure, but there was also some genuine misunderstanding and confusion about a few things, so let's clear them up.

The full post ›
I've got a challenge for you. The next time you start a new project, try not using a PHP framework. Now, this isn't an anti-framework screed. Neither is it a promotion of not-invented-here thinking. After all, we're going to be using some packages written by several framework developers in this tutorial. I've got nothing but great respect for the innovation going on in that space. This isn't about them. This is about you. It's about giving yourself…
Read on ›

I love this contrasting pair of quotes, perfectly capturing the mindset of great leaders.

The full post ›
According to psychologist Mihaly Csikszentmihalyi, the human nervous system can only process about 110 bits of information per second. Understanding someone speaking to you requires about 60 bits per second. That's why we can't listen to more than one person at a time. Multitasking isn’t actually doing multiple things at once. It’s rapidly switching between multiple things with incredible frequency. It fatigues the brain and results in much lower quality decision-making all around. If you're feeling overwhelmed and like…
Read on ›
Next Page ›