User Tools

Site Tools


proj0

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
proj0 [2010/09/21 22:18] roumaniproj0 [2010/10/07 20:42] (current) roumani
Line 23: Line 23:
   * If the entry made by the user is already present in the master list then it is rejected. In that case, the same screen is re-served (with its information updated to reflect any changes made by others in the master list) but with a line added at the top containing, in red colour, the message: "This country has already been added". Furthermore, the text box must be filled with whatever the user entered; i.e. the entry is echoed back.    * If the entry made by the user is already present in the master list then it is rejected. In that case, the same screen is re-served (with its information updated to reflect any changes made by others in the master list) but with a line added at the top containing, in red colour, the message: "This country has already been added". Furthermore, the text box must be filled with whatever the user entered; i.e. the entry is echoed back. 
  
-  * If the entry is empty or contains only whitespace then it is also rejected, and the form is re-served, as above, with the message: "Country name cannot be blank!". In all other cases, the country is added, the form re-served, and no message appears at the top.+  * If the entry is empty or contains only whitespace then it is also rejected, and the form is re-served, as above, with the message: "Country name cannot be blank!" 
 + 
 +In all other cases, the country is added, the form re-served, and no message appears at the top.
  
 ====== Possible Variations ====== ====== Possible Variations ======
Line 42: Line 44:
   * Compress your webapp's response.   * Compress your webapp's response.
  
-  * Keep track of the counties entered by the user in the session, not just the count, and enable the user to optionally view them.+  * Keep track of the counties entered by the user in the session, not just the count, and enable the user to view them.
   * Enable richer content. Rather than just a country name, the user may also enter the capital and possibly the population.   * Enable richer content. Rather than just a country name, the user may also enter the capital and possibly the population.
  
-  * Rather than serve the list every time, change the UI to one with a sidebar and two links "Add a Country" and  "Show Master List" +The following two variations require CSS and JavaScript:
-  * To improve responsiveness, and to place less demand on the network, have the client do some validation. Server validation should remain unchanged (why?). +
  
 +  * Rather than serve the list every time, change the UI to a sidebar and two links "Add a Country" and  "Show Master List"
 +  * To improve responsiveness, and to place less demand on the network, have the client do some validation. Server validation should remain unchanged (why?). 
  
proj0.1285107523.txt.gz · Last modified: 2010/09/21 22:18 by roumani

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki