Idea Notebook

Like most developers, I have ideas. Some of those ideas are built, some are still bouncing around in my head and that is a productivity killer for me. Constantly having new ideas and constantly thinking about old ideas is distracting. Not only is it distracting, it makes me feel uninspired. So what did I do? […]

Refactoring in Practice

I love taking larger functions and slimming them down into a more efficient and readable format. Here is a simple example of just that. The original function: function strip_slashes( $data ) { if( is_array($data) ) { foreach($data as $key => $val ) { $data[$key] = strip_slashes($val); } } else { return stripslashes($data); } return $data; […]