15 Apr '12, 5pm

@petermichaux Fowler describes this use case well in his Presentation Model — selected album in a list.

@petermichaux Fowler describes this use case well in his Presentation Model — selected album in a list.

When someone clicks the classical check box the check box changes its state and then calls the appropriate event handler in the view. This event handler saves the state of the view to Presentation Model and then updates itself from the Presentation Model (I'm assuming a coarse-grained synchronization here.) The Presentation Model contains the logic that says that the composer field is only enabled if the check box is checked, so the when the view updates itself from the Presentation Model , the composer field control changes its enablement state. I've indicated on the diagram that the Presentation Model would typically have a property specifically to mark whether the composer field should be enabled. This will, of course, just return the value of the isClassical property in this case - but the separate property is important because that property encapsulates how the Presen...

Full article: http://martinfowler.com/eaaDev/PresentationModel.html

Tweets

My Presentation at Mendaki Youth Symposium 2012

My Presentation at Mendaki Youth Symposium 2012

mhisham.org 14 Apr '12, 7am

Slide 1 Introduction – hisham mhisham.org @mhisham Slide 2 An association between two or more people that may range from f...

Ethical, Green, and Eco Fashion News

Ethical, Green, and Eco Fashion News

ecofashionworld.com 14 Apr '12, 9pm

: Working as a model you must be acutely aware of what can become seen as the ‘consumerist’ nature of fashion industry – f...