Abel Hoogeveen
6f2e941eb1
- Components are now initialized before deferredComponentClasses are called. This ensures that components are properly prepared to be called. - Directories are now added to components before components are initialized. The following order has thus been established: 3.1 Load Components 3.1.1 setInstance of component 3.1.2 run onCreateContainer() 3.2 Add directories by category 3.3 each component init() 3.4 deferComponentClass invoke See document on FuzeWorks boot order.
27 lines
649 B
Plaintext
27 lines
649 B
Plaintext
FuzeWorks boot process
|
|
|
|
1.
|
|
1.1 Temp/Log directory set
|
|
1.2 Debug parameters set
|
|
2.
|
|
2.1 Define ENVIRONMENT
|
|
2.2 Core::init()
|
|
2.2.1 CWD Set
|
|
2.2.2 CoreDir set
|
|
2.2.3 Constants defined
|
|
2.2.4 shutdown/error/exception handlers set
|
|
2.3 new Factory()
|
|
2.3.1 new Config, Logger, Events, Libraries, Helpers, Plugins
|
|
3.
|
|
3.1 Load Components
|
|
3.1.1 setInstance of component
|
|
3.1.2 run onCreateContainer()
|
|
3.2 Add directories by category
|
|
3.3 each component init()
|
|
3.4 deferComponentClass invoke
|
|
4.
|
|
4.1 Factory::initFactory()
|
|
4.1.1 enable/disable Events
|
|
4.1.2 Plugins::loadHeadersFromPluginPaths()
|
|
4.1.3 coreStartEvent()
|
|
5. Return container |