Click here to Skip to main content
15,898,931 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
AnswerRe: So, what is WTL exactly? Pin
Nick Parker11-Oct-02 8:21
protectorNick Parker11-Oct-02 8:21 
GeneralRe: So, what is WTL exactly? Pin
Heath Stewart11-Oct-02 8:34
protectorHeath Stewart11-Oct-02 8:34 
AnswerRe: So, what is WTL exactly? Pin
Paul M Watt11-Oct-02 9:23
mentorPaul M Watt11-Oct-02 9:23 
GeneralRe: So, what is WTL exactly? Pin
Ed Gadziemski11-Oct-02 11:21
professionalEd Gadziemski11-Oct-02 11:21 
GeneralRe: So, what is WTL exactly? Pin
Paul M Watt11-Oct-02 14:24
mentorPaul M Watt11-Oct-02 14:24 
GeneralRe: So, what is WTL exactly? Pin
Jörgen Sigvardsson15-Oct-02 10:59
Jörgen Sigvardsson15-Oct-02 10:59 
GeneralRe: So, what is WTL exactly? Pin
Paul M Watt16-Oct-02 7:44
mentorPaul M Watt16-Oct-02 7:44 
GeneralRe: So, what is WTL exactly? Pin
Jörgen Sigvardsson16-Oct-02 12:48
Jörgen Sigvardsson16-Oct-02 12:48 
Paul Watt (kilowatt) wrote:
I am interested in the MVC model, do you have any good links, or should I just google to find some?

I don't have any links on the top of my mind. I was acquainted with the MVC paradigm in a OO-course using Smalltalk (I chose not to say model to avoid confusion - the M in MVC stands for Model Smile | :) ). The entire GUI was built using this paradigm. Anyhow, MVC is a fairly well-known OO-concept in GUI modelling. I think a Google search would give you more than you can read in a life time. Smile | :)

MVC stands for Model View Controller. The View(s) observe(s) a Model and updates itself for each change in the Model. The Controller(s) control the Model and the View. The Controller(s) also observe(s) the Model and the View and may update accordingly.

Example scenario: Model = geographical map data. View = graphical representation of map data. Controllers = scrollbars for panning and buttons for zooming in and out. The scrollbar Controllers observes the Model and the View - thus it is able to determine how large the thumbs should be. When the thumbs are moved, the scrollbar Controller notifies the View that it should depict another portion of the map. It's all very simple really, it's just a division of responsibility to make it easier and more flexible.

If you haven't noticed, Microsofts Document is equivalent to the Model, and the View is equivalent to View+Controller. It's easy to see that the Document/View isn't half has flexible as "pure" MVC. I don't know why Microsoft settled for a less powerful paradigm - nobody bothered to question it perhaps?


Paul Watt (kilowatt) wrote:
Also, Microsoft strongly believes in the Document centeric model. If you look at all of their current software, Office being the main model, they are all document centric. As a general rule they do not do MDI interfaces anymore (development environments excluded).

Yes, but Office is per se file-centric. Everything you do in MS Office results in a file. What if the "document" is reading data from the network never intended to be docified? In situations like that, the doc-template stuff is really mind-boggling. And all those weird frame/view/document "protocols"? Not very intuitive at all. I get the shivers everytime I do it.. Hmmm | :|


Paul Watt (kilowatt) wrote:
thats actually a bunch of BS because WTL does this the proper way with the Multi-threaded SDI model

WTL does very little - but what it does is proper and well done. MFC does a whole lot, but misses the point 90% of the time. But that's just my not too objective oppinion. Smile | :)

--
Please state the nature of your medical emergency.
AnswerRe: So, what is WTL exactly? Pin
Nick Parker14-Oct-02 5:16
protectorNick Parker14-Oct-02 5:16 
QuestionHow do I work with CComPtr Pin
Jose Cruz11-Oct-02 4:30
Jose Cruz11-Oct-02 4:30 
AnswerRe: How do I work with CComPtr Pin
Paul M Watt11-Oct-02 5:42
mentorPaul M Watt11-Oct-02 5:42 
AnswerRe: How do I work with CComPtr Pin
Jörgen Sigvardsson16-Oct-02 12:49
Jörgen Sigvardsson16-Oct-02 12:49 
GeneralRe: How do I work with CComPtr Pin
Le centriste21-Oct-02 18:13
Le centriste21-Oct-02 18:13 
QuestionYou into LL(k) parsers? Pin
Jörgen Sigvardsson11-Oct-02 3:51
Jörgen Sigvardsson11-Oct-02 3:51 
AnswerRe: You into LL(k) parsers? Pin
Paul M Watt11-Oct-02 5:30
mentorPaul M Watt11-Oct-02 5:30 
GeneralRe: You into LL(k) parsers? Pin
Jörgen Sigvardsson11-Oct-02 7:09
Jörgen Sigvardsson11-Oct-02 7:09 
AnswerRe: You into LL(k) parsers? Pin
Joao Vaz15-Oct-02 6:04
Joao Vaz15-Oct-02 6:04 
GeneralRe: You into LL(k) parsers? Pin
Jörgen Sigvardsson15-Oct-02 10:54
Jörgen Sigvardsson15-Oct-02 10:54 
GeneralRe: You into LL(k) parsers? Pin
Joao Vaz15-Oct-02 12:41
Joao Vaz15-Oct-02 12:41 
GeneralRe: You into LL(k) parsers? Pin
Alexandru Savescu15-Oct-02 21:49
Alexandru Savescu15-Oct-02 21:49 
GeneralRe: You into LL(k) parsers? Pin
Jörgen Sigvardsson15-Oct-02 22:09
Jörgen Sigvardsson15-Oct-02 22:09 
GeneralRe: You into LL(k) parsers? Pin
Alexandru Savescu15-Oct-02 22:24
Alexandru Savescu15-Oct-02 22:24 
GeneralATL and XP themes Pin
LukeV9-Oct-02 15:04
LukeV9-Oct-02 15:04 
GeneralRe: ATL and XP themes Pin
Heath Stewart11-Oct-02 8:12
protectorHeath Stewart11-Oct-02 8:12 
GeneralRe: ATL and XP themes Pin
LukeV29-Oct-02 2:56
LukeV29-Oct-02 2:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.