Articles

Get Up and Running with Mercurial and BitBucket

Over the holidays Santa hooked me up with a MacBook Air. I decided to take advantage of this clean slate and streamline my development process by incorporating version control.

Here’s a step-by step tutorial on getting Mercurial and Bitbucket integrated on OSX and a production server from the perspective of a single developer working on multiple machines and multiple servers.
Continue reading

WordPress 3.2: Creating Custom Permalinks for Non-WP Data

This short tutorial explains how to use WordPress filter hooks to create a custom permalink structure based on data from a non-WP database, and how to access and use URL variables within custom templates.
Continue reading

Notes on the Historical Significance of JavaScript

Over today’s Saturday morning coffee, I tuned into the Yahoo! public lecture series given by JavaScript architect Douglas Crockford.

In the first lecture, Crockford presents the history of computers and programming from the JavaScript developer’s perspective. Here I’ve distilled the gist of programming language history into a few notes and added links to further reading.
Continue reading

Kohana 3.1: Snippets

I’ve been working on an app using Kohaha 3.1 HMVC PHP framework. Although I’m stoked on Kohana 3.1, the documentation isn’t as easy to get at as I’d like. So here we go: snippets! Mostly for the Query Builder. Continue reading

WordPress 3.2: Writing a Plugin, part 2 of 3

In this tutorial we will implement an an object-oriented solution into our admin pages.
Continue reading

WordPress 3.2: Writing a Plugin, Part 1 of 3

In this three-part tutorial I will cover the steps to creating a WordPress 3.2 plugin to manage a Web Projects portfolio.

This part focuses on setting up the plugin and WordPress 3 administration screens.
Continue reading

Drupal 6: Text-based Blog Pagination

In this tutorial I’ll show you how to add text-based next/previous pagination functionality to a Drupal blog. Continue reading

WordPress Snippet: Hide Page Titles of Select Pages

Here is a quick programmatic usage of three lines of PHP along with the custom fields for pages to control whether the page title is displayed. Continue reading

Hello, world. This is going to get complicated.

Welcome to my new web site. For this iteration of zagar.biz I’ve decided to use WordPress. In the past I’ve used my own CMS, but WordPress 3 is looking pretty good now so I will move over to it.
Continue reading