Oracle JET is a framework to develop applications based on some Open Source libraries:
- JQuery UI
JQuery UI is a components library build on top of JQuery that offer us different widgets and allow us to interact easily with them (resize, drag and drop, etc). We can also add those components transitions and effects.
Knockout is a library that allow us to create responsive interfaces with a clean underlying data model having a Model-View-ViewModel (MVVM) architecture design pattern.
RequireJS is more than a library to resolve dependencies It also provides an asynchronous file and module loader.
Oracle JET supports MVVM arquitecture pattern (Model-View-ViewModel). In this architecture the Model represents the application data, the View is the presentation of the data and the ViewModel exposes the data from the model to the View.
- oj.Model: Represents one single record from a data service such as a RESTful service.
- oj.Collection: It is a list of oj.Model objects.
- oj.Events: Provides methods to handle events.
- oj.KnockoutUtils: Provides methods for mapping the attributes from oj.Model and oj.Collection object to Knockout observable objects for use with components view models
The last layer, ViewModel is implemented by Knockout.js, and offers us two-way data binding between View and Model layers.
Oracle JET also has a lot of more features like these:
- A validation framework that offers components level validation and data conversion
- A cache at the Model layer for performance optimization of the pagination.
- Connection to data sources through web services such as REST services or WebSockets.
- Integrated authorization through OAuth 2.0 for data models retrieved from REST services.
Oracle has also provided us some resources so we can start building an application and learning Oracle JET.
- Oracle JET application demo
If you are interested in the framework and want to learn more you should visit these links: