Skip to content
Agustin Perez Paladini edited this page Apr 11, 2016 · 1 revision

Functionality desktop

The app will be divided into two parts:

  • Data editor
  • Data accessor (or viewer)

the first one will be in charge of filling the data base (xml or whatever) while the second one will be a "daemon" (or single app) so we can easily load it (show it) and we don't have to load all the data again each time.

To be able to do this and also to re-synch when new data is ready we will use sockets, so the Data accessor will run and listen for events locally. Everytime it is executed will try to connect to an specific port and if it is able to communicate then will send an event like (rise+coords) so the real app could show and rise in the proper position.

Once the Data editor also has new changes will connect to the same port and notify the accessor of the new changes, if it is available, otherwise will do nothing.

We will keep this simple and use the completer module from qt already so we don't invest time on this unnecessarely. Improvements will come later :)

Clone this wiki locally