Instrumenting PHP: A Minimalist Approach - 2017-08-11 08:19:25

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 generic and lazy approach. I decided to create a class that wraps the class I want to measure/monitor. Its constructor takes a class instance, it saves that instance. Then, for every function call to the wrapper class, the function in the underlying class is called and information is logged as needed.

Analyzing WordPress Hook Usage with Azure Data Lake - 2017-06-14 09:02:28

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 an excuse to give Microsoft’s Data Lake Analytics a spin. U-SQL looked especially attractive as it brought back fond memories of petabyte-scale data crunching at Bing.

Using ReactJS in WordPress Plugins - 2016-09-23 09:38:41

When I first started developing the Sift Science for WooCommerce plugin last year, I needed interactive controls on the Orders page that displayed fraud scores and allowed the admin to flag fraudulent users. I didn’t want to reload the page every time the user took an action, so the obvious solution was to implement some client-side scripting and background Ajax calls to the server. The goal was to add a new column to the Orders page that contained small icons that displayed the score and a couple of other icons for the user to click like so:

Sift Science for WooCommerce is now in Beta! - 2016-09-07 12:43:17

I am pleased to announce that the Sift Science plugin for WooCommerce is finally ready for beta testing! Lukas and I started this plugin over a year ago and have been working on it off and on as time permitted. But I’m happy to say that it’s now good enough for Beta testing. Note: I work at Automattic on WooCommerce, but this is a personal side project. What is Sift Science for WooCommerce Sift Science for WooCommerce is a plugin that integrates Sift Science fraud detection into your WooCommerce online store.