Difference between revisions of "Leif-cs488-tasks"
Jump to navigation
Jump to search
(→PHP Post-Processing Package) |
Charliepeck (talk | contribs) |
||
Line 4: | Line 4: | ||
** <strike>Adds language to JS app</strike> | ** <strike>Adds language to JS app</strike> | ||
* <strike>Sends JS app to client</strike> | * <strike>Sends JS app to client</strike> | ||
+ | ---- | ||
+ | Deferred | ||
+ | * item | ||
===Javascript Pre-Processing Package=== | ===Javascript Pre-Processing Package=== | ||
Line 16: | Line 19: | ||
* <strike>Reads screen size</strike> | * <strike>Reads screen size</strike> | ||
* Send data back to server in array | * Send data back to server in array | ||
+ | ---- | ||
+ | Deferred | ||
===PHP Post-Processing Package=== | ===PHP Post-Processing Package=== | ||
Line 45: | Line 50: | ||
* Generates cookie | * Generates cookie | ||
* Sends content to client | * Sends content to client | ||
+ | ---- | ||
+ | Deferred |
Revision as of 10:28, 4 December 2012
Server Pre-Processing
Read HTTP RequestIdentifies languageAdds language to JS app
Sends JS app to client
Deferred
- item
Javascript Pre-Processing Package
- Comes up with a network throughput estimation
Sends AJAX request and timeLoop Script 10 Times- Having problems with order of execution.
- The AJAX requests appear to be happening at once messing up my timings
- Thinking instead of using a for loop to have a function fire on complete of the call
- Having problems with order of execution.
- Take average
- Check for cookie
Reads screen size- Send data back to server in array
Deferred
PHP Post-Processing Package
- Reads information from the JS app
- Stores information in variables
- Reads information from HTTP Request
- Stores 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