A Path Less Taken

Breaking with convention in a very conventional fashion. Powered by WordPress

"What would you attempt to do if you knew you could not fail?"
Dr. Robert Schuller

Sunday, August 23, 2009

Category: Design Patterns Author: JJ 0 Comments

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.

  • I’m Mike offers a very simple explanation on his blog site. The nice thing about this post is it distills the information down to just the essentials of a front controller with nothing else. This is a good place to start.
  • w3 style has a far more detailed explanation of a PHP 5 front controller as part of a Model View Controller implementation. He does not go all the way through the MVC process, but his article is a really good read. He does promise in his comments to write about composite views, but since that post is over 2 years old as of this writing and there is no post on composite views I would say we are out of luck.

As I find additional articles of interest I will update this post.

No comments found. Please enter a comment if you have a question or contribution.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">