Workspace Model
-
You guys are all familiar with SDI and MDI models of application design (ie Document View Architecture). Im reading through Prosise (MFC) and came across this:
Alternatives to MDI A workspace-based model that groups related documents in objects called worspaces and allows documents contained in a workspace to be viewed and edited in MDI-like document frames that are children of a top level frame window. Visual C++ is one example of an application that uses the workspace containment model.
I would be interested to know if anyone has had any success programming an application with a model similar to this. I am interested in this model mainly because the application I am designing is going to need "modular" documents. That is, a user is going to be able to add many different types of documents to their workspace. The workspace object will need to be serialized so that it can be saved and loaded. Its a major undertaking because there is also a document designer application that the user can use to generate active documents that can be loaded into the workspace. These documents are just "views" of data objects that will also have to be serialized along with a workspace. In other words containment is workspace --> multiple data objects (dynamically added) --> multiple documents (views) (dynamically added) Has anyone seen or read any articles on this style? Seen any similar open source projects / examples? The model has also been called the "floating Document Interface". Apparantly CodeWarrior uses it as a stock programming model (along with MDI / SDI). Ryan Baillargeon Software Specialist Fuel Cell Technologies Inc.
-
You guys are all familiar with SDI and MDI models of application design (ie Document View Architecture). Im reading through Prosise (MFC) and came across this:
Alternatives to MDI A workspace-based model that groups related documents in objects called worspaces and allows documents contained in a workspace to be viewed and edited in MDI-like document frames that are children of a top level frame window. Visual C++ is one example of an application that uses the workspace containment model.
I would be interested to know if anyone has had any success programming an application with a model similar to this. I am interested in this model mainly because the application I am designing is going to need "modular" documents. That is, a user is going to be able to add many different types of documents to their workspace. The workspace object will need to be serialized so that it can be saved and loaded. Its a major undertaking because there is also a document designer application that the user can use to generate active documents that can be loaded into the workspace. These documents are just "views" of data objects that will also have to be serialized along with a workspace. In other words containment is workspace --> multiple data objects (dynamically added) --> multiple documents (views) (dynamically added) Has anyone seen or read any articles on this style? Seen any similar open source projects / examples? The model has also been called the "floating Document Interface". Apparantly CodeWarrior uses it as a stock programming model (along with MDI / SDI). Ryan Baillargeon Software Specialist Fuel Cell Technologies Inc.
-
Has anyone even read this? Ryan Baillargeon Software Specialist Fuel Cell Technologies Inc.
Yes.