
498 9 Chapter 23: Documents and Files
Likewise, a view object uses controller objects and has its own
controller methods, which it uses to communicate with docu-
ment (model) controller objects.
Whatever your feeling about architectures and theories such
as these, remember that their purpose is to help you under-
stand code that you read and to help you write better code.
The architecture, paradigm, or theory is a tool to help you, not
a goal in and of itself.
This idea is discussed at this point because the classic model-view-control-
ler architecture has trouble accommodating documents, as they logically fall
into two categories (models ...