If you’re just starting out as a developer, and you’re learning PHP through WordPress, you might be intimidated by the idea of object-oriented programming (OOP), but the reality is you’ve probably already seen it in use. For example, have you ever retrieved the ID of a current post like this: global $post; $id = $post->ID; That’s object-oriented programing. You might not know the terminology, but what you’ve done in the first line is get the current post as an object of the standard class. In the second line you get the value of that class’s property ID. Another example of […]
Getting Started with Vagrant for Local Development
Vagrant is a system for creating local web servers in portable, highly-configurable virtual machines on Linux, Windows, and Mac. Though there are lots of ways to create a local testing environment for WordPress development, Vagrant is one of the most powerful and configurable options. In this article, I’ll introduce Vagrant, and I will walk you through setting up VVV, a popular WordPress vagrant setup. The real advantage of Vagrant is that it’s totally customizable. This means you can emulate your production environment in your local development environment. When done right, this means no surprises when you go live. Developing with the […]
A Glimpse into the Future of WordPress from WordCamp Milwaukee
This year’s WordCamp Milwaukee featured an array of impressive speakers who discussed trending topics on WordPress business and development. The speakers even included a presentation on Joomla and how to use other PHP frameworks to overcome the limitations of WordPress. A few weeks ago, I wrote about what you can expect in WordPress 4.0, but at WordCamp Milwaukee last weekend I actually got a glimpse into what the future of WordPress has to offer. Presentations by Andrew Nacin, one of the lead developers of WordPress, as well as the lead developers of the REST API project, Ryan McCue of Human […]
Improving WordPress Search with FacetWP and SearchWP
When we create websites with WordPress, it’s easy to get distracted by all of the amazing tools, plugins, and themes, and forget that the content is most important. If relevant information is difficult to find on your website, then all of the time you spent creating it will ultimately be overlooked. Naturally, the easier you make it for visitors to navigate to content that is both relevant and useful to them, the more time they’ll stay engaged with your site. Traditionally, WordPress sites have relied on a sidebar with a list of recent posts, categories, tags, and a search widget to keep users engaged. For […]
A Developer’s Guide to Learning SASS in Twenty Minutes or Less
Like it or not, if you’re a WordPress developer CSS is part of your life. One of the reasons that CSS bothers me so much is that writing it involves a constant violation of the golden rule of programming: “don’t repeat yourself.” While I’m still not a designer, learning to use the CSS pre-processor SASS has allowed me to write CSS in a sane manner. Not only is SASS more efficient, but I think it leads to an overall better design. The best part about SASS is that its an actual programming language, which means if you know the basics […]
WordPress 4.0: What’s Coming and How to Get Involved
The launch date for WordPress 4.0 is still over a month away, but its exciting new features are starting to take shape. The major changes in 4.0 are improvements for embedded media, internationalization, and improving the user experience for plugin installs and the media library. With a target release date of August 27, 2014, there is still plenty of time to get ahead of the changes—to ensure that your site and any plugins or themes you’ve developed are compatible—and even contribute to its development. Keep in mind that until 4.0 is actually released, anything can change, but now is a good time to get […]
Pragmatic Idealism: Pay It Forward by Giving Back
Like most people in the WordPress ecosystem, I strongly believe that giving back is an important way to “pay forward” everything this community has given me. My first formal contribution was reviewing themes for WordPress.org. I found out about the volunteer theme review team when I was researching how to submit a theme I was working on to be included in the theme listings at WordPress.org/themes. It turned out that the wait time was months long for an initial review. So, I signed up to be a reviewer, expecting that I would help reduce the time it would take for […]
Git it Right: Better WordPress Development
Git (and version control in general) is one of those things that can take time to understand why you need it. But once you do, you’ll never want to live without it. If you’re not sure if you should be using a version control system, ask yourself if you ever work in teams, make mistakes, or lack a perfect memory of everything you do. If you answered yes to any of those questions, I recommend you use a version control system. A version control system, such as Git, tracks every change to the content of a version control repository—a theme, […]
Yes, You Really Can Use WordPress To Build Apps
On a recent episode of the WordPress podcast, The DradCast, WordPress co-founder Matt Mullenweg said that “when you think about it, we’re kind of building a web operating system.” This remark mirrored statements he made in last year’s State of the Word address about making WordPress into a foundation for mobile apps. Not only has WordPress itself evolved into a more suitable tool for app development, but there’s also a slew of new plugins and services available that make it even easier to build web and mobile apps. Thanks to these developments, WordPress is a relatively easy and affordable option […]
The Second Freedom
If you drive down the street I grew up on too fast, my dad will yell at you. You will not hear him because you’re inside a car, and you’re already half way down the street, but my dad will still have yelled at you to slow down because he’s worried about the kids in the neighborhood. I grew up in a pretty tight-knit community that’s focused on its children. Unsafe drivers are a risk to one of the things the community of the neighborhood is built-on: children. Recently, in the WordPress community we had another site pop up re-selling […]
13 Comments