Confirmed users
398
edits
(Created page with "This page tries to create a general model to describe life cycle of all APPs. == Stages == * Parsing first page * Load data * Prepare UI * Visual loaded") |
(→Stages) |
||
Line 1: | Line 1: | ||
This page tries to create a general model to describe life cycle of all APPs. | This page tries to create a general model to describe life cycle of all APPs. | ||
== Stages == | == 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 | * Load data | ||
* Read data from storage, remote servers, .... etc. | |||
* Prepare UI | * 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 | * Visual loaded | ||
'''''Load data and Prepare UI could be intermixed.''''' |