Skip to content

Lifecycle of EOSS

Durisvk edited this page Dec 18, 2016 · 1 revision

Lifecycle of EOSS

Lifecycle of EOSS can be described by this image:

EOSS lifecycle

Everything starts with constructor of xyzEOSS. The flashes are loaded in this phase. The dependencies are injected into xyzEOSS file. Then the other dependencies are injected through magic inject* method (mentioned in Dependency injection and Services) or through public variables with @inject annotation. After all the dependencies are injected, the load function is called. There you should set the view file for that particular xyzEOSS. After load the bind is called. There you should connect the view with the controller. All of the events should be binded in the bind phase. After the bind is called the events are triggered if there are any. If the page is first time launched, no events are triggered.

We are looking for contributors, come and join us, write me an email on durisvk2@gmail.com or post something on a http://eoss.wz.sk .

Clone this wiki locally