Monday, August 7th, 2006
He first talks about what the Model/View/Controller pattern is for those that haven’t used it before (a simple definition). He applies it more to web applications t make it easier to bridge the gap between traditional web development and this design method.
From there it’s all about thge code, first the creation of the ‘ListModel’ to handle the functionality, then the ‘ListView’ to make the HTML output of the script, and, finally, the ‘ListController’ to manage the view and model when a request comes in. Code for that is included too, making a simple multi-select box you can easily add and remove items from.
Posted by Chris Cornutt at 8:23 am