Author: nabeel

How to Write Clean Code, Even When You’re in a Hurry

Summary Some simple practices to help you write reasonably clean code, even when you’re in a hurry: Split your code into small and simple functions Avoid too much indentation Use good variable and function names Don’t repeat yourself Do the

Instrumenting PHP: A Minimalist Approach

I needed a quick way to measure performance and log errors in my Sift Science for WooCommerce plugin. I didn’t want to go back through all my code and embed logging and timing measurement statements, so I considered a more

Host your own podcast with PHPodcast

I’ve been using a little PHP script for the past few months to host my own private podcast. So I decided to clean it up a little and share it on GitHub. https://github.com/nabsul/phpodcast A little background: I had some audio

Tagged with: , ,

I have a fantastic startup idea!

“I have a fantastic startup idea.” You’d be surprised how often I hear this. When I do, it’s often followed by “All I need is a developer. Let’s partner up!”. Now don’t get me wrong, I think entrepreneurship is a

Analyzing WordPress Hook Usage with Azure Data Lake

WordPress provides a large number of hooks that allow plugins to extend and modify its behavior. A few months ago, I was curious about which of these hooks are popular, and which of them are hardly ever used. I was also looking for

Tagged with: , , , , , , , ,
Top