Leif-cs488-tasks: Difference between revisions
Jump to navigation
Jump to search
| Line 17: | Line 17: | ||
===PHP Post-Processing Package=== | ===PHP Post-Processing Package=== | ||
* Reads information from the | * <strike>Reads information from the cookie</strike> | ||
** Stores information in variables | ** <strike>Stores information in variables</strike> | ||
* Reads information from HTTP Request | * <strike>Reads information from HTTP Request</strike> | ||
** Stores information in variables | ** <strike>Stores information in variables</strike> | ||
* Runs throughput average against conditions to determine speed | * Runs throughput average against conditions to determine speed | ||
** Adds to user info array | ** Adds to user info array | ||
* Runs screen size against conditions to determine device category | * Runs screen size against conditions to determine device category | ||
** Adds to user info array | ** Adds to user info array | ||
* Depending on this information | * Depending on this information | ||
** Optimizes scripts | ** Optimizes scripts | ||
Revision as of 05:52, 10 December 2012
Server Pre-Processing
Read HTTP RequestIdentifies languageAdds language to JS app
Load JS app on client
Javascript Pre-Processing Package
Comes up with a network throughput estimationSends AJAX request and timeLoop Script 10 TimesHaving problems with order of execution.The AJAX requests appear to be happening at once messing up my timingsThinking instead of using a for loop to have a function fire on complete of the call
Take average
Reads screen sizeWrite data to cookie
PHP Post-Processing Package
Reads information from the cookieStores information in variables
Reads information from HTTP RequestStores information in variables
- Runs throughput average against conditions to determine speed
- Adds to user info array
- Runs screen size against conditions to determine device category
- Adds to user info array
- Depending on this information
- Optimizes scripts
- Bundles
- Compresses
- Optimizes styles
- Chooses styles appropriate to device
- Bundles
- Compresses
- Optimizes images
- Runs through a PHP image quality reducer depending on throughput condition
- Chooses video quality
- Can't really optimize video in PHP
- There has to be pre done video qualities
- Chooses the appropriate quality based on the throughput condition
- Optimizes scripts
- Translates
- Sends language variable to Google Translate JS app
- Adds override interface
- Generates cookie
- Sends content to client
Deferred