Projekt

Obecné

Profil

Akce

Project architecture » Historie » Revize 7

« Předchozí | Revize 7/56 (rozdíl) | Další »
Alex Konig, 2021-04-27 12:52


Project architecture

The application consists of two parts

  • Server
  • Client application

Server architecture

In the following text will be specified the communication between parts of the server application.

In the simple visualisation below are displayed the relevant classes and requests that take place between packages.

  • Model asks parser for information acquired from data
  • Parser asks data downloader for path to folder containing data

The path to data folder itself is specified from user as a command line argument upon launching the application.

Model architecture

Interface model-parser

Handing over information in lists containing separate entries.

Method Parse() enables specifying the interval by which to divide the days. By default parses one day as one entry.

For example if a day is divided with a 3h interval for each day are created entries for the following times

  • 7-10
  • 10-13
  • 13-16
  • 16-19

Parser architecture

Output from parser is relatively universal, The one thing that is not are zcu specific building tags. Those are noted in TagInfo and could be replaced by different ones.

Interesting classes to note are:

Csv loader

Class responsible for loading input data files into memory. Can be swapped for a class processing different types of files as long as it provides the same methods.

Output

Parser output is independent from input data, mostly relies on the tags used for different faculties. This and Jis and LogIn Parsers would have to be modified if this application was to be used with different input data.

Interface parser-downloader

Parser asks for folder with data files.

Loader architecture

Has to be able to handle request signaling dowload of new data, and requests for path to folder with data.

Client application architecture

Communication server-client

Aktualizováno uživatelem Alex Konig před téměř 4 roky(ů) · 7 revizí