Model-View-Controller

First (important, but unrelated): I will be sending out personal notes to all of you today and/or this weekend, and will review any work you have pointed me at/handed in this weekend. Send things my way if you want feedback!

Model-View-Controller

Next week, I'll be introducing a common pattern in object-orientation. In particular, the Model-View-Controller pattern tends to make it easier to manage the complexity of both GUI and web-based applications.

I've just posted (to the Materials section) the code and PDF I handed out in class on Wednesday. I will be going through it next Monday and Wednesday, and we may spill into Friday with that material. It should be eye-opening/educational regardless of the object-oriented language you prefer. In this case, my sample code is written using Scheme, largely because the object system makes it easier/more concise to express the MVC pattern.

I'm heavily leaning towards rewriting the last interpreter lab to be about object-orientation instead of lazy evaluation. I think it will be more interesting to you, and it should be able to be built directly off the code from Lab 5. I need to spend some time with it, but will do my best if you think that sounds good.