1. Get Started with the Framework
2. Overview of Opendelight Architecture
3. Opendelight Objects, Arrays and Libraries
4. Opendelight Application Database Structure
5. Opendelight Application File Structure
6. Controller in Opendelight
7. Event in Opendelight
8. Model in Opendelight
9. View in Opendelight
10. Users and Roles in Opendelight
11. Overview of Opendelight IDE
12. Opendelight Coding Standards and Conventions
13. Installation and Upgrades of Opendelight
Opendelight Objects, Arrays and Libraries
The Opendelight provides three core objects to be used in application development - `$DB`, `$APP` and `$USER`. These objects are automatically instantiated and are available in the application. The `$DB` object is responsible for database access and data manipulation. The second object `$APP` is the instance of the application when an HTTP request is made and carries all related data. The `$USER` object carries data of the user accessing the system (uses *Row Gateway Data Pattern*) and is only instantiated if the controller is private or mixed. The interaction of `$APP` and `$USER` objects are based on the *RBAC (Role-based Access Control)* scheme as described in [Overview of Opendelight Architecture](https://www.phytoon.com/opendelight-v1-60810d7043c77/overview-opendelight-architecture-60810ef7c959d).
The speciality of the objects is that one does not need to instantiate these three objects. These objects are automatically available within the application main scope. You can also make them available within any Model class by accepting them as global
To continue reading "Opendelight Objects, Arrays and Libraries", login now.
This page has been protected for subscriber only and it is free to subscribe.