Difference between revisions of "Leif-cs488-tasks"

From Earlham CS Department
Jump to navigation Jump to search
(Created page with "===Server Pre-Processing=== – Reads HTTP Request – Identifies language – Sets up Pre-Processing App and sends to client ===Javascript Pre-Processing Package=== – Checks f...")
 
Line 1: Line 1:
 
===Server Pre-Processing===
 
===Server Pre-Processing===
Reads HTTP Request
+
* Reads HTTP Request
Identifies language
+
* Identifies language
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
Identifies screen size
+
* Identifies screen size
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
 
===PHP Post-Processing Package===
 
===PHP Post-Processing Package===
Reads information from the JS app
+
* Reads information from the JS app
Using screen size, the request is categorized
+
* Using screen size, the request is categorized
Specific CSS matching that category is loaded
+
* Specific CSS matching that category is loaded
Using language, the content is translated
+
* Using language, the content is translated
Image and video optimization is done that matches the category Script and styles are run through a compressor
+
* Image and video optimization is done that matches the category * Script and styles are run through a compressor
HTTP requests are combined
+
* HTTP requests are combined
Adds override interface
+
* Adds override interface
Generates cookie
+
* Generates cookie
Sends content
+
* Sends content

Revision as of 21:11, 26 November 2012

Server Pre-Processing

  • Reads 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