Difference between revisions of "Leif-cs488-tasks"

From Earlham CS Department
Jump to navigation Jump to search
Line 1: Line 1:
 
===Server Pre-Processing===
 
===Server Pre-Processing===
* <strike>Read HTTP Request<\strike>
+
* <strike>Read HTTP Request</strike>
* Identifies language
+
* <strike>Identifies language</strike>
 
* Sets up Pre-Processing App and sends to client
 
* Sets up Pre-Processing App and sends to client
 
===Javascript Pre-Processing Package===
 
===Javascript Pre-Processing Package===
 
* Checks for a cookie
 
* Checks for a cookie
* <strike>Identifies screen size<\strike>
+
* <strike>Identifies screen size</strike>
 
* Comes up with a network throughput estimation
 
* Comes up with a network throughput estimation
 
* Prompts the user for verification if there is no cookie
 
* Prompts the user for verification if there is no cookie

Revision as of 20:18, 26 November 2012

Server Pre-Processing

  • Read HTTP Request
  • Identifies language
  • Sets up Pre-Processing App and sends to client

Javascript Pre-Processing Package

  • Checks for a cookie
  • Identifies screen size
  • Comes up with a network throughput estimation
  • Prompts the user for verification if there is no cookie

PHP Post-Processing Package

  • Reads information from the JS app
  • Using screen size, the request is categorized
  • Specific CSS matching that category is loaded
  • Using language, the content is translated
  • Image and video optimization is done that matches the category * Script and styles are run through a compressor
  • HTTP requests are combined
  • Adds override interface
  • Generates cookie
  • Sends content