The Front Controller design pattern is very useful in building scalable and maintainable web sites. I am building a proof of concept application and I need a good reference. As usual I searched the web and found some references on the pattern. Of particular interest were two that focused on implementing the pattern in PHP (the language I was using for my POC). I listed them here in the event they might be of help to you.
Continue ReadingThe Singleton Pattern is one of the simplest software design patterns to understand. It is helpful when you want to create a utility class in your applications to handle certain functions like database connections and you want to assure there is never more than one object of that class at a time. Here is a brief example of how the Singleton Pattern can be implemented in a PHP class.
Continue Reading