Navigation:  Programming Cookbook > Creating GUI Applications > Pluggability >

Flexibility

Previous pageReturn to chapter overviewNext page

The effect of this is that you can only plug together model, view and presenter objects if they have been designed to work together. The bandwidth of communication between each of model, presenter and view (i.e. the size of their message and event protocols) is important and is in direct opposition to the flexibility of the elements.

In other words, the simpler you keep the protocols the more flexible and interchangeable the elements will be. Hence the use of the very simple Value Model protocol for many common components.