Using async await with jQuery’s $.ajax

Photo by Denys Nevozhai on Unsplash If you’re like me, you’re probably stuck using jQuery more often than not. It’s everywhere, and to be honest it’s a solid, mature library. It’s also often already loaded on the page, especially if you’re working with WordPress. Outside of DOM manipulations (which you can now do mostly with native JS), jQuery’s […]

JavaScript’s cryptic ‘this’ – what, when and why

*Photo by Tarun Ram on Unsplash Before MDN started to organize their JavaScript documentation, finding answers to your JavaScript questions often landed you on Stack Overflow. Welp, these days MDN has mostly done away with that practice, that is, except if you’re looking for answers around the usage of JavaScript’s this keyword. The documentation is […]

PHPStorm, MAMP and Xdebug – How to keep (some of) your hair

I’m mostly logging this here for my own benefit, but if the Google gods brought your here, sweet! Just came across another fun quirk with running Xdebug, MAMP and PHPStorm together. 😅😅😅😅 I’ve talked about this combination causing me issues in the past, but this is a whole new situation that killed a couple hours […]

MAMP, Xdebug, PHPStorm and symlink madness

Ask any PHP developer and they’ll tell you Xdebug is the best thing since sliced bread. While true, it’s also one of the biggest pain in the asses to setup. I’ve probably set it up, in various incarnations, close to 10 times. There’s always something that get’s me caught up and messed up. This time […]