If you have not been to a WordCamp yet, you’re missing out on learning some really helpful information and meeting some really interesting people. If you do go to WordCamps, especially those in or around North Carolina, you have most likely encountered Ray Mitchell. Ray, and people like him, are the reason I think WordCamps are so effective and fun.
I’ve been using BackupBuddy by iThemes for backing up my WordPress sites for quite a while. But did you know that you can do a lot more than just backup WordPress sites with BackupBuddy? Here’s a look at some more advanced things you can do with BackupBuddy. The ability to pull and push changes back and forth between sites can literally change the way you build and maintain your WordPress sites.
Here is how to get a basic WordPress site up and running using WP-CLI. This is particularly helpful for spinning up local WordPress installations for development of plugins and themes. You can also use WP-CLI to get started with unit testing your WordPress plugins with PHPUnit. For now, let’s see about getting WordPress installed.
After running multiple online businesses, here is a nice summary of things things that have worked well, things that haven’t worked so well, and tools we use to keep things going. I had a great time catching up with my friends at WordCamp Raleigh. Here’s a recording of my presentation.
I got a SanDisk Clip Sport the other day and became exceedingly vexed by my inability to get an ordered playlist working. I’m using Ubuntu, and here’s the secret that finally got things going.
I’ve been using Ubuntu on my laptop for the past few weeks and have found a few handy tips for flinging windows around. Here are a few keyboard shortcuts as well as some custom little commands that use wmctrl to do some custom window sizes and locations.
The Network Manager in Ubuntu 14.04 LTS uses dnsmasq already. This makes it easy to set up a development domain to always return your localhost IP address. That way you can route *.dev to always return 127.0.0.1. Here’s what you need to do.
WP-CLI and PHPUnit are excellent tools to use when developing and testing WordPress plugins. Composer is a great tool as well. It seems most people use Composer on a per-project basis – installing the packages they need just for the project they are working on. You can also install “global” packages, like these system tools, that you can use across multiple projects.
I code on a MacBook where there are many ways to set up your local WordPress development environment. I’ve used really simple solutions like MAMP as well as really robust and setups like Vagrant with VVV. I have recently enjoyed the simplicity of this new setup using Homebrew to install a LAMP stack that, once setup, you never have to touch again to create new development sites. The key is dynamic virtual hosts!
Codeception can be used to write automated tests for PHP apps like you’d write with PHPUnit. In fact, Codeception uses PHPUnit under the hood to run unit tests. Codeception also has support for functional and acceptance tests. Here is a tip that took me over an hour of reading the Codeception source code to figure out. Hopefully this will save you some time if you want to use StepObjects in your Cest files.