A coding editor. Among developers, news of a quality editor travels fast. However, every developer will have their own preferences. Our advice is to test out a number of them, before narrowing down your options to one or two. We like Atom because it’s open-source and free, but there are plenty of other stellar options. A local development environment. Creating a site offline is possible, and a local WordPress installation is the answer. There are a few strong solutions around, but DesktopServer is a front-runner, mainly because you can set up a fresh WordPress installation in seconds using the smooth interface. A selection of starter themes. While this isn’t a necessary step, having a well-coded starter (i.e. ‘bare bones’) theme at your disposal saves you countless hours of development, and gives you a solid base to work from. Underscores is a top option, as it’s maintained by Automattic (the developers of WordPress). We’ve covered how to use … [Read more...] about Back to Basics: A New Developer’s Guide to Creating WordPress Products
Nick SchäferhoffNick Schäferhoff is an entrepreneur, online marketer, and professional blogger from Germany. He found WordPress when he needed a website for his first business and instantly fell in love. When not building websites, creating content or helping his clients improve their online business, he can most often be found at the gym, the dojo or traveling the world with his wife. If you want to get in touch with him, you can do so via Twitter or through his website. … [Read more...] about Are WordPress Developers Really Cheaper to Hire?
Designing an interface before a concrete implementation, if possible may prevent having to do the kind of refactoring I’m about to walk through. But it is often more practical to build the first implementation without the constraints of an interface and then once it works, design the interface. Sometimes when I start with an interface, I’ll find myself struggling to conform my concrete implementation to an interface and put too much time trying to make it work before I realize the contract I set out was wrong. … [Read more...] about Advanced OOP: Refactoring Is An Opportunity To Adopt Test-Driven Development
It needs to consume an object implementing the <code>ModifySchemaContract</code> interface in order to modify the schema of certain REST API routes and know which routes to modify. It needs to consume an object implementing the <code>ModifyQueryArgsContract</code> interface in order to modify the white list of query arguments. It needs to connect to the WordPress Plugins API (hooks) to make these changes. Let’s start with the last one — connecting to the Plugins API. That’s what we have the least control over and dictates what we have to work with. A lot of my concern about how to get all of the right dependent objects — WP_Query and WP_REST_Request from core went away by letting the plugins API supply the data. … [Read more...] about Developing New Features For Extensible WordPress Plugins Using Test-Driven Development