Posts Tagged ‘Design Patterns’

Create Your Own lightweight PHP MVC Framework

July 13th, 2010

A quick walk though of creating your own PHP MVC Framework. A useful exercise to better understand the roles of the MVC players.

PHP

AS3 PureMVC Review

July 6th, 2010

A review of the basic usage of the AS3 PureMVC framework. Great for a quick reminder of how to use the PureMVC.

Flash / Actionscript

Traditional Inheritance With Javascript

July 6th, 2010

Javascript allows inheritance. It is however more complex than using when using traditional OOP languages with their built in extend functionality. Javascript Design Patterns.

Javascript / AJAX

Using Encapsulation With Javascript

July 6th, 2010

Javascript doesn’t natively support encapsulation as OOP languages do. It is however possible to achieve encapsulation with javascript using fairly simple workarounds. Encapsulation is done through closures.

Javascript / AJAX

PHP Database Singleton

October 25th, 2009

Explanation and example of the singleton design pattern used to connect to a mysql database.

PHP ,