Professional Documents
Culture Documents
--------------------
Patterns typically exist at a higher level of abstraction than the implementatio
ns
they describe. Indeed, this is one of the primary benefits of patterns to
describe a general solution to a recurring problem. A
-------------
Solution
The MVC Pattern provides a flexible solution to these problems by decoupling
the Model, View, and Controller components of an application while providing
a uniform interface between them. It is often appropriate if one or more of
the following statements are true:
>> You wish to provide different representations of the same application
data (for example, a table versus a graph).
>> You wish to provide different looks and feels (perhaps for different
operating systems) for your user interface without affecting the rest of
your application.
>>User-driven events must immediately update application data or other
user interface components, while changes to application data must be
reflected immediately in user interface components.
>> You wish to reuse one or more user interface components independently
of application data.
-----------------