In this second part of the series, I demonstrated how to use the “Plug-in” pattern for developing a fully-pluggable application that renders different types of elements on screen. The “plug-ins” passed to the client renderer will be objects that generate basic HTML/JavaScript code and nothing else.


Read the full article here: Plug-in Pattern in PHP and JavaScript

For more discussion go here: Blog Article Discussion