D
D
deex2011-03-05 21:38:34
Books
deex, 2011-03-05 21:38:34

what to read about creating software for desktop?

I have this problem - for 5 years I have been writing only for the web, and besides, I
learned to format the code correctly in php :)

but now I started writing the first scripts with gui on python3 / pyqt4 and realized that I was doing everything the way I did in php.
Accordingly, the problems began to come out precisely related to this approach

, I’m already starting to understand something, but I’m tired of going my own way in everything, I understand that it’s interesting and useful to do from scratch, but in this way you can’t create really good tools for your work.

What would you recommend to read about the creation of window software in principle?
those. for example, you can understand for yourself that in order to work with the config, you need to do some kind of layer:
gui <-> class for working with gui <-> class for working with config <-> config file

I want to read exactly about this: about how to structure the application correctly, how to ensure interaction with the GUI (even earlier I read something about the states of the software, depending on which the GUI changes completely, and in the code it is enough just to change the current state - this is what I wanted I would like to study in detail)
how to correctly use multithreading and the like

I am writing here, because there are a lot of books, reading obscene things can kill in me all the desire to read further, so perhaps this summary of my desires will remind you of a previously read book that was written specifically for this.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
M
mr_locke, 2011-03-05
@mr_locke

I read in one smart book that the interface should be separated from the business logic. Both on the web and in desktop applications, this rule must be respected.
In fact, the concept is the same: interface elements generate events, the application catches the necessary events and reacts to them. The same thing happens on the web: the interface "sends a message" (generates an event) that the controller receives and broadcasts it to the right part of the application, which reacts to it.
I think that you already know the basic concepts, you just need to delve into the model that a particular library uses. Doesn't the pyqt manual talk about the underlying mechanisms?

D
deex, 2011-03-06
@deex

I just don't know what the name of what I'm looking for
in the manual is a description of working with pyqt, but I want something more general, regardless of the language
www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/

M
mr_locke, 2011-03-06
@mr_locke

Maybe here http://doc.qt.nokia.com/4.7/signalsandslots.html ? I don’t know cool, but it seems to be described here just how to work with the UI

M
mr_locke, 2011-03-06
@mr_locke

Yes it is clear. but you apparently describe some specifics of Qt, as you can see, it has one more layer of abstractions twisted :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question