Recommend this page to a friend! |
Classes of Artur Graniszewski | ZEUS for PHP | docs/book/architecture.md | Download |
|
DownloadZend Framework 3 integrationZEUS for PHP is highly integrated with _Zend Framework 3_ (ZF3) services such as Any custom integration with ZEUS should therefore be performed through ZF3 Service Manager and its configuration. ZEUS layersZEUS Runtime Environment consists of two layers: user and kernel: Kernel ModeThis is a low level set of features needed to implement any multi-tasking service. Kernel consists of the following components: Process Scheduler and its Processes. User ModeThis is a higher-level ZEUS layer which provides specific services implementation by using the low level Kernel functionality. It contains the following components: Event logger, Server Service Manager and its Server Services. Event driven lifecycleZEUS for PHP incorporates and utilizes a custom Zend event implementation - Access to this event is public and can be used to fully customize ZEUS for PHP behaviour. _By default, the following ZEUS event flow is in effect (events are colored yellow and light-blue):_ Both Scheduler and Process instances are isolated from each other and can share their data only through the _Inter-Process Communication_ messages. The same applies to ZEUS events: Scheduler events (yellow color) can't be intercepted by the Process instances, as well as Process events (light-blue) by a Scheduler instance. |