“Clever code” is a term that you may have heard before, accompanied by sighs and groans from other developers. Often, people seem to think of clever code as annoying, and perhaps even harmful. In this article, I’m going to give a brief overview...Read More Is Clever Code OK?
Pacific Northwest PHP is coming up very soon and kicking off the beginning of fall September 10th-12th in Seattle! A bunch of PHP nerds will be getting together to share their knowledge and meet other awesome folks in the tech community, and...Read More Oh hi, Pacific Northwest PHP! We see you.
If there is one thing I really love to do, it’s migrations. While the requirements for a migration vary from project to project, the purpose is generally the same: Get data from point A to point B in a reasonable amount of...Read More Lesson Learned: PHP Memory Limits
Writing “clean” code is something we talk about a lot in software development. Developing for the web is no different in the pursuit of code that is “clean” than any other type of programming. It’s also something that you could write a book...Read More The Fundamentals of Writing Clean Code
CMB2 creates metaboxes and forms with custom fields that will blow your mind. Attached Posts in an extension of this extremely useful plugin. Every once in a while you may find yourself needing to attach various pieces of content to various other pieces...Read More Attaching Posts with CMB2 for WordPress
There I was. Working on adding PHP docblocks to widgets.php in /wp-includes, like you do, when I came across this: So I set about trying to figure out the appropriate @since parameter to use. Do I base the @since on when the...Read More Removing PHP4 Compatibility in WordPress Custom Widgets