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. The Lounge
  3. MFC Doc / View Architecture vs. Alternatives

MFC Doc / View Architecture vs. Alternatives

Scheduled Pinned Locked Moved The Lounge
15 Posts 13 Posters 0 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 Ray Gregory

    Does the .NET framework have anything comparable to Doc / View?

    G Offline
    G Offline
    George
    wrote on last edited by
    #6

    Sure - it's a new, revolutionary model called Spaghetti / Code. Basically you stick to global variables and copy-paste as much code as you possibly can (so called re-use code). ;)

    1 Reply Last reply
    0
    • R Ray Gregory

      Are any of you aware of viable alternatives to the MFC Doc / View architecture? If so, how would you rate them compared to Doc / View?

      N Offline
      N Offline
      Neville Franks
      wrote on last edited by
      #7

      I'm not aware of any alternatives to MFC's Doc/View in the Windows world, other than Stingrays MVC, which I would be very reluctant to use. The MVC model is defintely the way to go but its a pity that MFC left out the Controller. CView derived classes can also be difficult to reuse, for example in docked dialog bars. Neville Franks, Author of ED for Windows http://www.getsoft.com

      F 1 Reply Last reply
      0
      • N Neville Franks

        I'm not aware of any alternatives to MFC's Doc/View in the Windows world, other than Stingrays MVC, which I would be very reluctant to use. The MVC model is defintely the way to go but its a pity that MFC left out the Controller. CView derived classes can also be difficult to reuse, for example in docked dialog bars. Neville Franks, Author of ED for Windows http://www.getsoft.com

        F Offline
        F Offline
        Francisco Viella
        wrote on last edited by
        #8

        Sometime ago I heard about IBM having the doc/view/controller model implemented in their Visual Age for OS/2. Since now there is a Visual Age working in Windows, I presume there will be a doc/view/controller too.

        1 Reply Last reply
        0
        • E Erik Funkenbusch

          Stingray has it's "Stingray Foundation Classes" which includes a Model/View/Controller model, I think it's free to download last I looked.

          C Offline
          C Offline
          Christian Skovdal Andersen
          wrote on last edited by
          #9

          I do not think Stingray is free at all. Actually it is goddamn expensive. Something like $10K+ when my company bought it some years ago. Not really worth the money, to be honest :-( Christian Skovdal Andersen

          T E 2 Replies Last reply
          0
          • C Christian Skovdal Andersen

            I do not think Stingray is free at all. Actually it is goddamn expensive. Something like $10K+ when my company bought it some years ago. Not really worth the money, to be honest :-( Christian Skovdal Andersen

            T Offline
            T Offline
            Tomasz Sowinski
            wrote on last edited by
            #10

            > Not really worth the money, to be honest I had good experience with Stingray's Objective Grid. The rest of the Stingray suite... well, it simply stinks. Tomasz Sowinski -- http://www.shooltz.com.pl

            S R 2 Replies Last reply
            0
            • C Christian Skovdal Andersen

              I do not think Stingray is free at all. Actually it is goddamn expensive. Something like $10K+ when my company bought it some years ago. Not really worth the money, to be honest :-( Christian Skovdal Andersen

              E Offline
              E Offline
              Erik Funkenbusch
              wrote on last edited by
              #11

              I didn't say all of Stingray's code was free, just the Stingray Foundation Classes. This may have changed since RW bought them.. so i'll take a look.

              1 Reply Last reply
              0
              • R Ray Gregory

                Are any of you aware of viable alternatives to the MFC Doc / View architecture? If so, how would you rate them compared to Doc / View?

                C Offline
                C Offline
                CodeGuy
                wrote on last edited by
                #12

                I'm wondering if the original question was referring to architectures akin to Doc/View, or something completely different from Doc/View, like a Blackboard design pattern?

                1 Reply Last reply
                0
                • R Ray Gregory

                  Are any of you aware of viable alternatives to the MFC Doc / View architecture? If so, how would you rate them compared to Doc / View?

                  A Offline
                  A Offline
                  Aza
                  wrote on last edited by
                  #13

                  The MVC. For larger projects (> 50000 lines) there is also the StateMaster pattern. Too much overhead on smaller projects though. Johannes

                  1 Reply Last reply
                  0
                  • T Tomasz Sowinski

                    > Not really worth the money, to be honest I had good experience with Stingray's Objective Grid. The rest of the Stingray suite... well, it simply stinks. Tomasz Sowinski -- http://www.shooltz.com.pl

                    S Offline
                    S Offline
                    Stephen Kellett
                    wrote on last edited by
                    #14

                    Wow! Don't hold back on your opinion there Tomasz. :-) Stephen Kellett -- C++/Java/Win NT/Unix variants Memory leaks/corruptions/performance/system problems. UK based. Problems with RSI/WRULD? Contact me for advice.

                    1 Reply Last reply
                    0
                    • T Tomasz Sowinski

                      > Not really worth the money, to be honest I had good experience with Stingray's Objective Grid. The rest of the Stingray suite... well, it simply stinks. Tomasz Sowinski -- http://www.shooltz.com.pl

                      R Offline
                      R Offline
                      realJSOP
                      wrote on last edited by
                      #15

                      And it doesn't help when their support sucks as bad as it does.

                      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