Quantcast
Channel: JavaScript and PHP – PHP Design Patterns
Browsing all 5 articles
Browse latest View live

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 Article



PHP 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 Article

PHP 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 Article

Sandlight 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 Article

Simple 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

Browsing all 5 articles
Browse latest View live


Latest Images