PHP Tutorial – Variables

In this article I discuss PHP variable declaration and initialization, naming rules and conventions, and using variables in expressions and statements. I’ll also examine two methods of referencing one variable from another: variable variables and references.

PHP Tutorial – Basic Syntax

In this article we’ll take a look at some basic PHP syntax topics that explain how the PHP interpreter treats source files containing a mixture of HTML and PHP. We’ll discuss tags that the PHP interpreter recognizes as delimiters of PHP code. We’ll look at the concept of expressions and statements in PHP and what the echo statement does. We’ll also take a look at how to embed comments in your programs in order to document the code.

PHP Tutorial – Introduction

PHP is undoubtedly one of the most popular programming languages in use today. This is the first in a series of articles that will teach you how to program in PHP. I intend to cover the core language including variables, constants, data types, operators, strings, arrays, branching, looping, functions, objects, files, directories, web development, and MySQL access.

Saucy Salamander Cookbook

Ubuntu Desktop 13.10, also known as “Saucy Salamander” was recently released. This article provides a “no frills” recipe for building a LAMP (Linux, Apache, MySQL, PHP) development environment on Salamander, including OpenJDK and NetBeans IDE. The entire environment is housed in a VirtualBox VM running on Windows 7. We’ll finish up by cloning the VM for a particular project.

Dissecting WordPress Themes Part 3: Single-Post Hierarchy

The WordPress Template Hierarchy allows selective, dynamic replacement of generic template files with more specific template files by just creating them in the theme directory. In this article we’ll begin our exploration of the template hierarchy for single posts, post formats, and custom post types. We will create a functions.php file, where we’ll utilize a few action hooks in order to implement post formats and a custom post type. We’ll also show how to integrate the custom post type into our main post stream.

Dissecting WordPress Themes Part 1: Creating a Theme

The WordPress Theme is the skeleton and skin of your web site. Like a skeleton, a theme’s template files determine the structure of a site’s pages. And like skin wrapped around the skeleton, a theme’s style sheet determines its aesthetics. In the first article of this series on dissecting WordPress themes, we develop a simple “Trace” theme to aid in understanding the mechanics of the theme architecture and algorithms. We’ll look at what constitutes a valid theme and put together a few simple template files to build a valid HTML page. Regardless of your development language and platform, software development is aided in many ways by using a robust Integrated Development Environment. In this series I’ll be using my favorite open source IDE, NetBeans.

Installing NetBeans IDE on Windows

As a long-time Java/J2EE developer I’ve used NetBeans IDE as my primary development environment for years. But it’s also a capable environment for developing HTML/CSS/PHP applications, especially in the latest 7.3 release. In this article, I’ll describe how to download and install the IDE on Windows. We’ll then check out the IDE by creating Java and PHP projects.