Tuesday 30 October 2018

Oracle JET Complete Overview

Hi Guys, In this post I'll share the internal functioning of Oracle JET and JET Basics.
Oracle JET is serverless technology like javascript/angular/jquery. for JET structural overview you can read my previous post Oracle JET Background Now in this post I'll share the Functional overview.
In Oracle JET We have below main points to understands the control.
  • index.html
  • appController.js
  • viewModels
  • views
The main entry point in JET Application is index.html where we have ojRouter and oj-module.
It Provides how a JET web application with a navigation drawer as a single page application
using ojRouter and oj-module.  It contains the Oracle JET framework and a default
requireJS configuration file to show how JET can be setup in a common application.

ojRouter and oj-module navigate to appController.js
self.router.configure inside appController.js tell to controller which tab will display in the application and which will be default display, you can override the default behavior as well.
self.moduleConfig will have information about .js and .html file.same file of dashboard,incident are available in viewModela and views folder.

From viewModel folder .js file control the function and pass the control to .html file inside views folder.

So this would be flow-
index.html -->appController.js -->viewModel(.js file) -->views(.html file)

Cheers :)

No comments:

Eclipse With Python

Hi Guys, Today i'll share how to start python project in eclipse IDE. to start Py development in eclipse we need to add Py Dev plugi...