advanced Excuse me, do you have a moment to talk about our Lord and Saviour, WP_Rewrite? WP Rewrite is dark voodoo magic. I screwed up, so you don't have to!
development Here are 3 ways to help you load test your websites Do you want to know where your server's breaking point is? Read this and use one of them to find out.
wordpress Loading templates in WordPress and WooCommerce WooCommerce has a number of functions to load different templates. I describe what they do and how they're connected in this post.
advanced Why is the list of log handlers in WooCommerce an array? This is going to be as much a help for me, as, I hope, it will be for you. So WooCommerce 2.7 3.0.0 introduced a new way to handle logs [woocommerce_register_log_handlers], which is brilliant. There are two pieces to it: 1. the logger class
laravel Re: Laravel / Spark and their token authentication system A few days ago I wrote a rather lengthy article about how I modified Spark’s built in token authentication system [https://javorszky.co.uk/2017/03/18/i-modified-the-token-authentication-in-laravel-spark/] by extending / replacing some of the classes, adding columns to the table it created, and renaming things. I haven’t had
laravel I Modified The Token Authentication in Laravel / Spark! Okay, that was yet another case of “programming by next error thrown”. It was frustrating. But also hilarious. Hilarious in the sense that I can’t believe how much code I had to shovel to implement something seemingly simple. Background: I set up a Laravel / Spark project. Out of the
woocommerce The Curious Case of WooCommerce Shipping and the Hackiest Code I’ve Ever Written We all have those moments when sizing up a programming problem. It usually starts with this: > But really, how hard can that be? Turns out, it can be pretty damn hard. A Tale of Recalculating Shipping Currently on a client project one of my tasks included recalculating shipping costs
woocommerce New pet project: WooCommerce cloud logging WooCommerce 2.7 introduced a new class for handling logging. The handler itself can be replaced, which is awesome. The default handler creates log files on the server and stores the entries in plain text. The trouble I have with that: * it's kind of hard to get access
meetup Scaling WooCommerce talk at WooCommerce London on 23rd May 2016 Let me start by expressing my shock: * Slideshare is owned by LinkedIn * Slideshare has no idea what to do with keynote files Hence this blog post. You can grab my slides by clicking this very link [https://www.dropbox.com/s/0bmvxlige8pkhh9/woocommerce-london-scaling.key?dl=0] (it will open a
performance How I improved a query for our plugin by several orders of magnitude This is going to be super developer heavy. 99% of the article is going to be about SQL, so don’t really expect PHP or javascript things. Background We’ve been getting support tickets about the admin area being rather slow at times. We’ve recently released a new, 2.
wordpress What happens on wp_insert_post()? This question came up in the Advanced WordPress Facebook group in the form of whether we should be using direct database inserts when converting non-WP data to WP data, or use the APIs. On one hand, using the WP API ensures that data will be sanitised and checked throughout the