Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Workspace Model

Workspace Model

Scheduled Pinned Locked Moved C / C++ / MFC
c++designarchitecturetutorialquestion
3 Posts 2 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Ryan B
    wrote on last edited by
    #1

    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.

    R 1 Reply Last reply
    0
    • R Ryan B

      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.

      R Offline
      R Offline
      Ryan B
      wrote on last edited by
      #2

      Has anyone even read this? Ryan Baillargeon Software Specialist Fuel Cell Technologies Inc.

      B 1 Reply Last reply
      0
      • R Ryan B

        Has anyone even read this? Ryan Baillargeon Software Specialist Fuel Cell Technologies Inc.

        B Offline
        B Offline
        Bill Wilson
        wrote on last edited by
        #3

        Yes.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups