diff --git a/docs/guide-zh-CN/images/application-lifecycle.graphml b/docs/guide-zh-CN/images/application-lifecycle.graphml new file mode 100644 index 0000000000..850863ab26 --- /dev/null +++ b/docs/guide-zh-CN/images/application-lifecycle.graphml @@ -0,0 +1,527 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + Entry script (index.php or yii) + + + + + + + + + + Folder 4 + + + + + + + + + + + + + + + + Load application config + + + + + + + + + + + + + + + + + + + + + Create application instance + + + + + + + + + + Folder 5 + + + + + + + + + + + + + + + + preInit() + + + + + + + + + + + + + + + + + Register error handler + + + + + + + + + + + + + + + + + Configure application properties + + + + + + + + + + + + + + + + + init() + + + + + + + + + + + + + + + + + bootstrap() + + + + + + + + + + + + + + + + + + + + + + + Run application + + + + + + + + + + Folder 3 + + + + + + + + + + + + + + + + EVENT_BEFORE_REQUEST + + + + + + + + + + + + + + + + + + + + + Handle request + + + + + + + + + + Folder 4 + + + + + + + + + + + + + + + + Resolve request into route and parameters + + + + + + + + + + + + + + + + + Create module, controller and action + + + + + + + + + + + + + + + + + Run action + + + + + + + + + + + + + + + + + + + EVENT_AFTER_REQUEST + + + + + + + + + + + + + + + + + Send response to end user + + + + + + + + + + + + + + + + + + + Complete request processing + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Configuration array + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Exit status + + + + + + + + + + + + + + + + diff --git a/docs/guide-zh-CN/images/application-lifecycle.png b/docs/guide-zh-CN/images/application-lifecycle.png new file mode 100644 index 0000000000..6a505ccefb Binary files /dev/null and b/docs/guide-zh-CN/images/application-lifecycle.png differ diff --git a/docs/guide-zh-CN/images/start-entry-confirmation.png b/docs/guide-zh-CN/images/start-entry-confirmation.png new file mode 100644 index 0000000000..ed442a4c6e Binary files /dev/null and b/docs/guide-zh-CN/images/start-entry-confirmation.png differ diff --git a/docs/guide-zh-CN/images/start-form-validation.png b/docs/guide-zh-CN/images/start-form-validation.png new file mode 100644 index 0000000000..f38652871d Binary files /dev/null and b/docs/guide-zh-CN/images/start-form-validation.png differ diff --git a/docs/guide-zh-CN/images/start-hello-world.png b/docs/guide-zh-CN/images/start-hello-world.png new file mode 100644 index 0000000000..30d1acad38 Binary files /dev/null and b/docs/guide-zh-CN/images/start-hello-world.png differ