User Tools

Site Tools


pracro:course

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
pracro:course [2011/07/06 10:00] devapracro:course [2011/07/06 11:02] deva
Line 17: Line 17:
 Proposition: Remove all use of http headers. Use URI instead. Remove request from http body. Use URI instead. Proposition: Remove all use of http headers. Use URI instead. Remove request from http body. Use URI instead.
   * Http connection.   * Http connection.
-  * Based on URI +  * Initial action is decided using the URI
 +    * ''query/coursename[/templatename[/macroname]]?sessionid=42'' 
 +    * ''query/coursename[/templatename[/macroname]]?patientid=1234567890'' 
 +    * ''commit?sessionid=42'' http body containing xml with key/value pairs. 
 +    * ''discard?sessionid=42'' 
 +Advantages: 
 +  * No xml parsing needed to get required info on how to handle requests. 
 +  * The template/patientid does not need to be passed around on the server, since the session lookup/creation is done earlier in the connection. 
 +  * Redundancy is removed (http header fields and request xml http body) 
 +Disadvantages: 
 +  * I need to think! 
pracro/course.txt · Last modified: 2011/07/06 11:21 by deva