WebAPPGeneralLifeCycle

Revision as of 07:55, 18 November 2015 by Thinker (talk | contribs) (→‎Stages)

This page tries to create a general model to describe life cycle of all APPs.

Stages of Life Cycle

  • Launch the App
  • Parse first page
* After document loaded.
* This stage include running javascript for initialize run time.
  * Keep execution time of scripts here as short as possible.
  • Load data
* Read data from storage, remote servers, .... etc.
  • Prepare UI
* Compute with data from the previous stage.
  * Transform, summarize, translate, ... etc.
* Update the DOM tree to create a picture (frame) to the user.
  • Visual loaded

Load data and Prepare UI could be intermixed.