“The latter approach ideally allows the creation of a robust
interface that changes relatively infrequently, while details of
implementation can be modified without affecting the rest of the
system.“The administration class is kept separate from the classes
handling questions about access because for most CMS requests,
administration will not be needed, and the administration class
will not load at all. As a central service, the class is
implemented as a standard singleton, but it is not cached because
information generally needs to be written immediately to the
database. In fact, the administration class frequently requests the
authorization cache class to clear its cache so that the changes in
the database can be effective immediately. The class starts
off:”
Administering RBAC in PHP 5 CMS Framework
By
Get the Free Newsletter!
Subscribe to Developer Insider for top news, trends, & analysis