Episode 12. Giving the Model a Controlling View (The Model-View-Controller pattern)
Java Pub House - Een podcast door Freddy Guime & Bob Paulin
Categorieën:
In this podcast we talk about the Model-View-Controller pattern (and is prettier cousin, the Model-View-Presenter), and go over how to go about implementing the MVC/MVP Pattern (really, what to instantiate first, and how to wire the whole thing). We also cover the caveats of implementing the MVC, including escaped references in construction, and making the view alway update from the model state. Lastly we talk about where to store view information (such as window size and colors, etc. Hint: not in the model). In all, if you ever needed to touch MVC code, this will help you light the path to awesome interaction! (and ease of unit testing)
http://googletesting.blogspot.com/2009/02/with-all-sport-drug-scandals-of-late.html(Google reference to the MVP pattern)
Questions, feedback or comments! [email protected]
Subscribe to our podcast! (http://javapubhouse.libsyn.com/rss)
ITunes link (http://itunes.apple.com/us/podcast/java-pub-house/id467641329)
Java 7 Recipes book! (http://www.amazon.com/Java-7-Recipes-Problem-Solution-Approach/dp/1430240563)