This is the third article in a series of developing for WordPress in a DevOps friendly way. The previous articles: Introduction to WordPress and DevOps Developing with WordPress and Vagrant Grunt Automation for WordPress developers WordPress configuration management In the previous two posts we’ve had a look at the various tools we need to create an… Continue reading Grunt Automation for WordPress developers
Tag: php
eBook on WordPress development and deployment
Last weeks I’ve been busy finishing up an eBook with the kind of straight forward title: WordPress DevOps – Strategies for developing and deploying with WordPress It’s a 100 page guide covering how You can get WordPress to work a little bit better in a proper development process, covering automation, testing and deployment. If you’re interested,… Continue reading eBook on WordPress development and deployment
WordPress profiler
This post is part two of a mini series where I (1) explain why keeping track of WordPress load timing is important and (2) discuss how WordPress load time profiling can be done using a newly created plugin. If you want to skip the chatter and go straight to the plugin, you can download it here.… Continue reading WordPress profiler
WordPress load time analysis
UPDATE Dec 8th 2013: I’ve updated the plugin even more. Read about it in part 2. UPDATE Dec 3rd 2013: While testing the plugin on a few installations, I discovered a couple of bugs. If you downloaded the plugin on Dec 2nd 2013, you may want to try the improved version available below. I’ve been working a lot with WordPress… Continue reading WordPress load time analysis
WordPress file permissions
In order for WordPress to be able to install a plugin and plugins or themes automatically there are a number of conditions that have to be met. If all those conditions aren’t met, one-click installations or upgrades won’t happen, instead, whenever you try to upgrade, WordPress will show you the FTP credentials input form. If… Continue reading WordPress file permissions
LoadImpact
I’ve just started blogging as a guest writer at LoadImpact.com. If you’re not already familiar with LoadImpact, go check them out. They provide the word leading load test as cloud service solution and is free to try out. Today my first post was published about the difference between Node.js and PHP as server side languages/environments. So,… Continue reading LoadImpact
Debugging your phpunit test cases in CodeIgniter
I don’t know why it feels ironic, but it does. Sometimes I need to debug my phpunit test cases and it wasn’t very very self explanatory to understand how to set it up . The solution however, is quite easy. I’ve previously written about how to enable the php debugger xdebug from a command line… Continue reading Debugging your phpunit test cases in CodeIgniter
Using CodeIgniter migrations with PHPUnit
Even some of the CodeIgniter developers are not especially happy about how Migrations are implemented in the current version. Never the less, if you have a CodeIgniter 2.x code base that you want to write unit tests for, you may want to use them. In a PHPUnit test class, you can use setUp() and tearDown()… Continue reading Using CodeIgniter migrations with PHPUnit
Debug PHP-cli scripts with Xdebug and Sublime Text 2
In my previous post, I explained how I’ve set up debugging PHP scripts with Xdebug and Sublime Text 2 in a web based environment. In this part, I’ll outline how I debug PHP command line scripts. If you want to follow this guide, make sure you have everything setup as explained in the previous post.… Continue reading Debug PHP-cli scripts with Xdebug and Sublime Text 2
CodeIgniter for PHP CodeSniffer gets better
Just a quick note, my PHP CodeSniffer standard for CodeIgniter improves gradually, since I originally mentioned it a month ago, the following improvements have been made to the repo: Improved indentation checks in switch statements, works with tabs now Correct file and class naming when creating libraries (CodeIgniter expects capitalized file names for libraries) Support… Continue reading CodeIgniter for PHP CodeSniffer gets better