August 2016
Intermediate to advanced
610 pages
11h 55m
English
As the name implies, middleware sits in the middle of a sequence of function or method calls. Accordingly, middleware is well suited for the task of "gate keeper". You can easily implement an Access Control List (ACL) mechanism with a middleware class that reads the ACL, and allows or denies access to the next function or method call in the sequence.
level and a status. In this illustration, the level is defined as follows:'levels' => [0, 'BEG', 'INT', 'ADV']
Read now
Unlock full access