Setting up Apache with Dropbox on OS X

September 15, 2012 by

Getting Apache to work together with Dropbox turns out to be slightly more difficult than most would have anticipated. Adding a virtual host to point directly to a Dropbox folder will only get you a 403 Forbidden error. In this article, we will solve this problem by using symbolic links.

Module Based Forms Directory

September 1, 2012 by

Keeping form classes together in each module is the preferred way to store them, rather than in the library folder, for instance. Keeping the Zend Framework naming conventions in mind, this is a very easy task.

Adding Custom Variables to Zend Framework Forms

July 25, 2012 by

It is often necessary to add data to form elements from outside of the form. Examples of scenarios where this would be useful include data fetched from a data store or data saved in sessions. In this article, we will discuss two ways of doing this, one of which has several advantages over the other.

Using a Separate Routes Configuration File

July 22, 2012 by

In the Zend Framework, there are many ways to add custom routes to a project. Adding them to the application.ini file quickly makes the file very big and harder to maintain. In this article, we will show two ways of writing custom routes in a separate configuration file.

The Singleton Pattern

July 22, 2012 by

The singleton pattern is one of the most popular and well known patterns in software development. It is extremely simple and yet solves a fundamental and common problem. However, as this article discusses, everything has a cost.