K
K
kruta2020-08-30 20:39:33
Design patterns
kruta, 2020-08-30 20:39:33

How to design a desktop application?

Good evening, dear ones :)
I just can't find the answer. Can you
please tell me how to design a desktop application?
There is the main function of the application, what it will do, there is an interface. How to set up the work of the modules so that a signal comes from the interface, some kind of controller manages what is called where and so on. As a result, the state of the application is updated

Essence:
1) How to encapsulate the transfer of a command from the interface to the functional part of the program?
2) How will it all interact there?

I know that it is very abstract, but I am also waiting for an answer at the level of patterns, share your experience. Is it possible to use MVC, command, etc. here? If you do not want to write a lot, at least direct in the right direction.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladimir Korotenko, 2020-08-30
@firedragon

Make a data model, bind form events to it. I gave an example code.

R
Roman Mirilaczvili, 2020-08-31
@2ord

Read about the MVVM design pattern.
Martin Fowler
Maybe MVC is enough.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question