Tim Smith said:
V does not mean UI it means view, a mode or manner of looking at or
regarding something. I am looking for direction on how to decouple the way
data is presented from they way the data is stored. MVC is typically used
in UI contexts, but IMHO its not and exclusive UI pattern.
Thanks for clarification. I knew V stands for view. Just somehow "view" is
too close to "UI" and is actually often interpreted as UI, therefore I make
such a claim. If view is after all another representation, then I personally
believe the MVC pattern do not help much if your purpose is to isolate data
storage from data presentation. You may want to look at something such as
Builder/Memento to separate the storage of data from the presentation of the
data. For example, you might want to have a Parser/Write (i.e. A builder) to
parse/write a XML file and represent the data as plain C++ object.