Projekt

Obecné

Profil

Project architecture » Historie » Revize 2

Revize 1 (Alex Konig, 2021-04-15 15:09) → Revize 2/56 (Alex Konig, 2021-04-15 16:59)

h1. Project architecture 

 The application consists of two parts 

 * Server 
 * Client application 

 h1. Server architecture 

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

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

 * Model asks - model wants .. parser for information acquired from data 
 * Parser asks data downloader for path to folder containing data wants .. 

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

 !basic_architecture.png! 

 h2. Model architecture 

 h2. 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. 

 - example of dividing into intervals 


 h2. Parser architecture 

 - csv loader -> can be swapped w/ different one 

 - parsers for all separate files -> can be swapped w/ different ones 

 - TagInfo with used tags -> can be swapped / edited 

 - output relatively universal, just building tags -> could be replaced by different tags 

 !parser_architecture.png! 

 h2. Interface parser-downloader parser-loader 

 Parser asks for folder with data files. 

 h2. Loader architecture 

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

 h1. Client application architecture 



 h1. Communication server-client