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.

Installing WordPress on Ubuntu Desktop

WordPress is one of the most popular open-source blogging and content management systems in use today with millions of users. This article describes the installation and basic configuration of WordPress 3.6.1 on Ubuntu Desktop. In the process, we’ll demonstrate how to extract the software, how to set file ownership and permissions, how to create a MySQL database, and how to configure Apache mod_rewrite for WordPress Permalinks.

Installing MySQL on Ubuntu Desktop

MySQL is the most popular open source database management system in use today and is a component of the LAMP architecture (Linux, Apache, MySQL, PHP). In this article we complete the LAMP stack by installing MySQL on our Ubuntu Desktop virtual machine. I’ll demonstrate how to install MySQL Server as well as a couple of useful development/administration tools: phpMyAdmin and MySQL Workbench. I’ll also walk through the creation of a basic Web page that tests the integration of the components.

Installing PHP on Ubuntu Desktop

PHP is one of the most popular programming languages used for Web development and is a component of the popular open-source LAMP architecture (Linux, Apache, MySQL, PHP). In this article I will demonstrate how to install PHP on Ubuntu Desktop and provide an overview of configuring the interpreter. In a future article, I’ll show how to install MySQL on the platform to complete the build-out of a LAMP development environment on Ubuntu Desktop.

Installing Apache Web Server on Ubuntu Desktop

Apache Web Server is easily the most popular web server on the internet and is a primary component of the popular open source LAMP architecture. In this article I’ll describe how to install Apache Web Server on Ubuntu Desktop. This configuration will be appropriate for a development server. I’ll also point out some of the configuration and administration tasks that you may need to perform to manage the server. In future articles I’ll continue to build out a LAMP development server by installing and MySQL and PHP.

Dissecting WordPress Themes Part 11: Page Hierarchy

In this article we’ll explore the template hierarchy for pages. We’ll first create a few pages in our development instance and take a look at the default page display using the template of last resort, index.php. We’ll then begin to layer on templates from the hierarchy, demonstrating how each more specific template overrides its more general parent. We’ll examine the role of custom page templates in the hierarchy by creating one and assigning it to a few of our pages. Finally, we’ll observe how we can use page templates to design pages with both static and dynamic content.

Installing Ubuntu Desktop on VirtualBox

Ubuntu is one of the most popular GNU/Linux distributions. The Desktop version, when coupled with an AMP stack, makes a very useful software development platform. In this article I’ll describe the step-by-step process of downloading and installing Ubuntu Desktop in a VirtualBox VM.