An introduction to the useDispatch and useSelect hooks exposed via the wp.data api of the new WordPress editor.
(Edit October 10, 2018) Note: This article is now out of date but is kept published for reference purposes. Nearly everything in Gutenberg is published as a package so for the purpose of testing you can include those packages as a devDependency in your package.json file and jest will know to reference those in tests. As a […]
This is a post that has been percolating as a draft post for nearly two or three months now. But as a theme, its something I’ve wrestled with far longer. Those who know me well, know that at my core, I’m kind of a systems and strategy kind of guy. What makes gets my ticker picking […]
A few months ago, one of the teams I work with went on the hunt for a good continuous integration service for running tests on the code we write. We jumped on the unit test bandwagon at the beginning of the year and wanted to really amp up the quality of our product by having tests […]
Yes, this is one of those “If I was in charge, I’d do this…” posts. Don’t we all have opinions on how companies should be run? Just had these thoughts today so decided to write them down. Canada is known as one of the worst places for mobile phone plans (from a consumer perspective), largely […]
Recently, one of my clients purchased a server with FireHost.com. We’d been on the search for a new web host for some time now to serve as the infrastructure supporting upcoming web applications we have in the works. We needed a company who is well recommended, and will help us scale and scale quickly. You pay […]
I thought I was following the development of WordPress 3.7 fairly closely but something totally missed my notice and only caught my attention when a plugin I develop stopped working with the latest version of WordPress. The culprit? do_action( ‘save_post’, $post_ID, $post, $update ); Notice anything different? The difference is that this hook used to only have […]
I got really intrigued with the wp-cli tool for command line WordPress (seriously awesome, check it out)… however I haven’t switched my osx machine to use the built in php and mysql so I kept getting this error: ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock’ (2) Easy fix: sudo ln […]
Thought this is a great overview of the differences among four generations in the workplace.