Monthly Archives: March 2012
I ran into a problem the other day when building a new CentOS 6 VPS template. After doing some of the initial work I ran yum update, and it worked fine. Later on, after installing the AtomiCorp repo, I tried to run it again and it failed with errors about Qmail obsoleting Sendmail, not being […]
Introduction to Shared GitHub Repositories
Michael Botsko has a good writeup on cloning and pushing updates to shared GitHub repositories, as opposed to the traditional method of forking a repository.
Using Constants for a Text Domain in WordPress
Normally any kind of global values that don’t change within a program’s execution should be defined as constants, but text domains within internationalized WordPress plugins are an exception to that rule. Mark Jaquith explains why it’s important to use a string instead.
WordPress Developer’s Meetup Presentation on Child Themes
I’ll be giving a presentation on building Child Themes at the Seattle WordPress Developer’s Meetup tomorrow. You can follow along with the presentation if you plan on attending.
BackPress PHP Library
BackPress is a useful project that packages the re-usable code from WordPress into an independent library you can use in non-WordPress projects.
Composite Primary Keys
Here’s a good introduction to composite primary keys by Jeff Smith. When you’re defining a database table that’s being used to relate two other tables (e.g., products_discounts to map discounts to particular products), you should always create it with a composite primary key (i.e., both the product_id and discount_id columns) rather than a single identity column […]