Archive for the Design Patterns category

« Previous

Improving the Module

Tuesday, June 17th, 2008

Update: In my code example below, I make use of a self variable. This probably isn’t the best idea in hindsight since JavaScript reserves self as a secondary reference to window.

I’m always fascinated by the JavaScript language. What impressed me most, almost a year ago, was my discovery of Douglas Crockford’s module pattern. This […]

Posted in Code, Design Patterns, JavaScript | 3 Comments

Rolling Your Own MVC: The Page Load Scenario

Monday, April 7th, 2008

In my previous article, I announced that I would be documenting the process of developing a simple MVC framework. In this post I will go into a little more detail about each of the specific components of our MVC and will discuss the series of events which occur each time a page loads, otherwise known as […]

Posted in Code, Design Patterns, PHP | 8 Comments

Rolling Your Own MVC: Introduction

Thursday, February 21st, 2008

2007 was the year of framework development for PHP. Cake, Code Igniter, Zend, Solar, Symfony, and piles more began to really get some well deserved attention. Today, you can throw a rock and hit a half dozen production-ready frameworks that are actually worth using.
Last year, I spent quite a bit of time surveying each framework […]

Posted in Code, Design Patterns, PHP | 4 Comments

Autoloading Element References with the DOM

Thursday, December 13th, 2007

It’s been a long time since I sat down and wrote anything about JavaScript; and with Dustin’s new book on design patterns in JavaScript, I felt that this would be a good time to post about a pattern that I’ve found myself using often.
You’d be hard pressed to find a JavaScript application that doesn’t manipulate […]

Posted in Code, Design Patterns, JavaScript | No Comments

« Previous

Site Stuff

Pages

Projects

Archives

Categories