Archive for the Design Patterns category

« Previous Next »

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

One Step Closer to an Abstract Singleton

Saturday, November 24th, 2007

The singleton is an incredibly useful pattern in PHP for many reasons. I tend to find myself using them when I know I should be using static classes, but can’t because of PHP’s lack of proper class name discovery in extended static classes. Also, they make great containers for database connections, configuration objects, session wrappers, [...]

Posted in Code, Design Patterns, PHP | 1 Comment

« Previous Next »

Site Stuff

Pages

Projects

Archives

Categories