Tag: programming
The damage of examples
This is a fantastic reminder for us, as we all love checking out code demos don’t we? And this is inevitably damaging. These examples can be horrible in many ways – reliability, portability, security – and accessibility. It raises a question of laziness, something for which I am a repeat offender. Code examples are how […]
Posted: July 15, 2015
Flip the Script!
How frustrating can it be to try and debug minified code? How much harder is it to try and debug someone else’s minified code that you have absolutely no control over? Flip the Script is a Chrome extension that does something amazing by adding a new tab to the Web Inspector: The extension lists all […]
Posted: June 02, 2015
Restricting Access to Custom Post Types Using Roles in WordPress
Restricting access within the WordPress admin can quickly become an intimidating place to work. When it comes to access control there are a number of really great solutions to restrict access to content on the front end, but there’s a decent learning curve when preventing logged in users from accessing various aspects of the back […]
Posted: May 01, 2015
The WordPress Plugin Boilerplate 3.0.0
I really like code boilerplates. They’re such a great way to show up-and-coming developers one of many ways to accomplish something. They can also teach veteran developers a thing or two. They usually embrace the codebase for which they were written, and follow established conventions of the project. I also like Tom McFarlin. If you […]
Posted: September 02, 2014
WordPress Support in PhpStorm 8
I’ve been using PhpStorm for a couple years now, and in version 8 (due in Q3 2014) has the best WordPress integration I’ve ever seen in an IDE. #smitten
Posted: August 26, 2014
Write your own code profiler in PHP
I’ve made it a focus of mine over the next few months to tighten my belt on tests and profiling, specifically with my WordPress projects. I’ve been doing a lot of tinkering with Vagrant, VVV, Xdebug, and xhprof with the specific intent of easily profiling my code. I was quick to discover that while these […]
Posted: August 11, 2014
Programming Sucks
This article has rightfully been making the rounds for the past few days, but I want to call out the reality of it. Yes it’s mostly hyperbolic but it’s awesome. Have you ever sat back for a minute to think about what you’re doing? Typing these words in specific ways that eventually translate into other […]
Posted: May 01, 2014
A Strategy for Organizing WordPress Theme Functions
I’ve adopted a similar strategy to Tom. I use functions.php as a bootloader of sorts for all of my theme-specific dependencies. Breaking out things like Custom Post Type/Taxonomy registration from other logic like Walkers has proven to be extremely helpful both when initially building & revisiting projects down the line.
Posted: May 01, 2014
WordPress Code Reference
DocBlocks got a lot of love recently in WordPress which is awesome for developers. In fact it’s beyond awesome. It opens the doors for so many awesome implementations of that data set, things like the newly offered WordPress.org Code Reference. This information is insanely useful to anyone writing any bit of code for WordPress. We […]
Posted: April 28, 2014
joehoyle/Time-Stack
While everyone is spending time reflecting on 2013 with heartfelt goals for next year, I’ve been spending time reflecting on my toolset. Again. I’ve been a big fan of PhpStorm for the past year or so, but I couldn’t help myself from revisiting the last editor I used: Sublime Text 3. What prompted this? I […]
Posted: January 03, 2014