WordPress Version Control with Git

Version control is an integral part of the web development workflow, and it is no less necessary with WordPress sites. However, getting a WordPress site set up with version control, or more specifically, with Git, can be challenging in several ways.

WordPress Plugin Interfaces: Working With Assets

One of the advantages of working with object-oriented programming is the ability to define interfaces so classes that implement those interfaces have a strict set of functions that said classes must implement.

An Introduction to WordPress Shortcodes for Developers

According to the WordPress.com definition, a shortcode is a WordPress-specific code that lets you do nifty things with very little effort. Shortcodes can embed files or create objects that would normally require lots of complicated, ugly code in just one line.

Introduction to automated WordPress deployment

How do you feel when you have to update the code on a client’s WordPress site? Do you feel confident that everything will be ok? Or are you filled with dread as if you were about to play a round of Russian roulette?

Dependency Management and WordPress: A Proposal

‘Dependency hell’ is a problem faced by all software, and it has been rearing its ugly head in the WordPress space over the last few years with more and more plugins using third-party libraries of code.

Working with PHP Sessions and WordPress

it’s important to understand that PHP has a session mechanism that’s part of the language, that’s relatively easy to use, and that doesn’t require a lot of additional code with which to work.

Using Namespaces and Autoloading in WordPress Plugins

Neither namespaces nor autoloading are topics that you absolutely need to use to create plugins. They can, however, provide a better way to organize and structure your code as well as cut down on the number of require, require_once, include, or include_once statements that your plugins use.