Tags:
create new tag
view all tags

Communications Protocol

Project 3 will require that web applications that will need to communicate with a server program. This will require a carefully designed set of unambiguous rules for how the communication process will work. More Here.

Example: Protocol Table for the US Census Name Program

The Name program had a very simple protocol between the web page and the CGI program and CGI program and the server:

Communications Protocol between web page and the CGI program (Table Form)
From To Format Meaning Example
Web Page CGI ?&type_select=type
&name= name
type is LAST, MALE or FEMALE
name is the name to look up
?&type_select=Last&name=Smith
CGI Web Page name, %, rank, ... A comma delimited list of 10 triplets consisting of: name, %, and rank SMILLIE,0.000,32817, SMILY,0.000,67745, SMINK,0.000,54155, SMISEK,0.000,67744, SMIT,0.001,12725, SMITH,1.006,1, SMITHBERGER,0.000,67743, SMITHE,0.000,78005, SMITHEE,0.000,34689, SMITHEN,0.000,67742
CGI Server $type* name type is LAST, MALE or FEMALE
name is the name to look up
$LAST*Smith
Server CGI name, %, rank, ... A comma delimited list of 10 triplets consisting of: name, %, and rank SMILLIE,0.000,32817, SMILY,0.000,67745, SMINK,0.000,54155, SMISEK,0.000,67744, SMIT,0.001,12725, SMITH,1.006,1, SMITHBERGER,0.000,67743, SMITHE,0.000,78005, SMITHEE,0.000,34689, SMITHEN,0.000,67742

Example: Protocol diagram for Shakespeare System

Protocol.png

Where
  • word is a word to look up
  • line is a line with a matching word
Topic attachments
I Attachment History Action Size Date Who Comment
PNGpng Protocol.png r1 manage 17.3 K 2017-02-15 - 04:20 JimSkon  
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2017-02-15 - JimSkon
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback