Difference between revisions of "Protocol Design"


Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /www/htdocs/w0102f68/fos/wiki/includes/MagicWord.php on line 902
From FOS Wiki
Jump to: navigation, search
(Login - Logout)
(Introduced the basic concepts of the protocol)
 
Line 11: Line 11:
  
 
[[File:protocol-login-logout.png]]
 
[[File:protocol-login-logout.png]]
 +
 +
= Dynamic Data (Server ⇒ Client) =
 +
 +
The protocol design is ''not'' based on a request-response concept. It's based on a concept similar to the model-view concept. The idea behind is: On login the client receives the current data: all locations, all tables, all orders, all products, ... . On each change of the data on server-side, the client gets an ''update''. The goal is to have a valid (up-to-date) data pool all the time on every client.
 +
 +
To achieve this, it's necessary to have id-value based data structures - to be able to identify a data set in an update.

Latest revision as of 11:38, 2 March 2014