Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Programming models in graphical chess interfaces

Author: Federico Corigliano

Date: 14:51:28 02/18/06

Go up one level in this thread


On February 18, 2006 at 17:33:32, Mark Boylan wrote:

>On February 18, 2006 at 17:03:37, Federico Corigliano wrote:
>
>>I'm doing my first steps in graphical programming and I need some help to
>>understand how chess interfaces such as Arena are made.
>>A friend tell me that all the communication between windows and internal process
>>is made with the Document/View model. Is that right? If not, what model is used
>>to coordinate all the communication between board, move history windows, chess
>>engine process, etc.
>>
>>Federico
>
>
>The typical pattern for such an application is called Model-View-Controller
>(MVC). The model would embody the underlying data (document, game, position,
>database, whatever). A view is some presentation of that model. And the
>controller updates the views based on chages in the underlying model, and makes
>changes to the underlying model based on user interaction with the view.

I understand. I will investigate about it

>I believe that the term Document/View was popularized by Microsoft with Visual
>C++ and means more or less the same thing as MVC.
>
> - mark

I'm using wxWidgets library because I have Windows and GNU/Linux in my PC and I
want to make the app working in both OS without need of too much changes in the
code.

Federico



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.