1 / 9

Pre-build Web App on installation - Implementation Proposal

Pre-build Web App on installation - Implementation Proposal. Fengqi Wang Nov, 2010. The Issue: Current implementation. Mobile Web Apps are just installed and deployed as HTML/CSS/JavaScript. Parse and regenerate most components in every execution. Background knowledge: DOM & Render tree.

fala
Download Presentation

Pre-build Web App on installation - Implementation Proposal

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Pre-build Web App on installation - Implementation Proposal Fengqi Wang Nov, 2010 2010-July/ Fengqi Wang

  2. The Issue: Current implementation • Mobile Web Apps are just installed and deployed as HTML/CSS/JavaScript. • Parse and regenerate most components in every execution. 2010-July /Fengqi Wang

  3. Background knowledge: DOM & Render tree 2010-July /Fengqi Wang

  4. The Solution Legends Static content Mobile Web App (.WGZ) On-Board Builder Static Handling HTML/CSS/JS App Execution Installation / Deployment Only Do it once! Run Time Pre- Build 2010-July /Fengqi Wang

  5. Sequence for App Installation 2010-July /Fengqi Wang

  6. Decomposition – Installation/Deployment Mobile Web pp (.WGZ) HTML/CSS/JS Tokenizing Reuse Browser Engine Components. Parsing Construction DOM Tree StyleSheets Render Tree JavaScripts New Routines & space to persist Web Objects. Serialization Objects Storage 2010-July /Fengqi Wang

  7. App Execution Sequence 2010-July /Fengqi Wang

  8. Decomposition – App Execution Legends DeSerialization New Components Browser Engine Components Load web objects from storage instead of regenerating them every time; “Instant-on” Application execution! Event Handling JavaScript Interpretation Rendering Layoutting 2010-July /Fengqi Wang

  9. Recap the Solution • Break Web app handling into 2 phases – installation time & run time. • Extract the “static” part of Web content rendering. • On installation, Pre-build and Serialize / Persist the “static” objects generated by the browser engine. • Load “pre-generated” app elements before execution. On-Board Builder 2010-July /Fengqi Wang

More Related