PHP Memento Design Pattern Part II: Store & Retrieve
With a Little Help from Our Friends As you saw in Part I of the Memento Design Pattern post, the design itself is fairly simple; at least judging from the class diagram. Also, in the first example, you...
View ArticlePHP Bridge Pattern CMS
A Flexible CMS The previous post on the PHP Bridge Design pattern shows how a Bridge pattern has two connected but independent interfaces to make design flexibility for different online devices. This...
View ArticlePHP Command Design Pattern: Part I
Encapsulate a Request On occasion when developing an application, you may want to issue a request, but you may not know about the requested operation or its receiver. Imagine that you’re developing a...
View ArticleSandlight CMS I: Device Closures
In previous posts on this blog, I’ve included PHP patterns that deal with the issue of creating sites for multiple devices. In developing a Content Management System (CMS) for my Sandlight site, I...
View ArticleSimple Functional Sniffer & Switch Alternative
Because PHP is a server-side language, you will have times that you need to rely on client-side languages like CSS, JavaScript and even HTML5 to accomplish certain tasks. In developing the CMS, I...
View Article