Git Product home page Git Product logo

ojet's Introduction

Oracle JET

Table of Content

Overview

  • Oracle JET is a collection of Oracle and open source JavaScript libraries engineered to make it as simple and efficient as possible to build client-side web and hybrid mobile applications based on JavaScript, HTML5, and CSS.
  • The key feature of Oracle JET Toolkit are given below:
    • Messaging and Event services for both Model and View layers.
    • Validation framework that provides UI element and component validation and data converters
    • Caching services at the Model layer for performance optimization of pagination and virtual scrolling
    • Filtering and sorting services provided at the Model layer
    • Connection to data sources through Web services, such as Representational State Transfer (REST) or WebSocket
    • Management of URL and browser history using Oracle JET oj.Router and oj-module components
    • Integrated authorization through OAuth 2.0 for data models retrieved from REST Services
    • Resource management provided by RequireJS
    • API compatibility with Backbone.js Model, Collection, and Events classes, except for Backbone.js Underscore methods.
    • JavaScript logging
    • Popup UI handling
    • Compliance with Oracle National Language Support (NLS) standards (i18n) for numeric, currency, and date/time formatting
    • Built-in theming supporting the Oracle Alta UI style specifications
    • Responsive layout framework
    • Gesture functionality by touch, mouse, and pointer events where appropriate
    • Web Content Accessibility Guidelines (WCAG) 2.0
    • Support for Oracle software localization standards, l10n

Architecture

  • Oracle JET is not a Javascript framework but it is a Toolkit of Open Source Web Frameworks and oracle glue code to use these frameworks.

  • Oracle JET is used to display data into Single Page Web Applications but getting data using REST or WebSockets.

  • Oracle JET supports the Model-View-ViewModel (MVVM) architectural design pattern.

    • Model: Used to represent the application data

    • View: Used for presentation of Data

    • ViewModel: Exposes data from the Model to the view and maintains the application's state.

  • Oracle JET uses cordova plugin to render HTML WebPages into IOS and Android devices using native WebViewer.


Installation

  • Jet installation

    • Installing Node.js

      # Configuring Proxy
      export http_proxy="http://<ip>:<port>"
      export https_proxy="http://<ip>:<port>"
      
      # Install Node.js
      wget https://yum.oracle.com/repo/OracleLinux/OL7/developer_nodejs10/x86_64/getPackage/nodejs-10.16.3-1.0.1.el7.x86_64.rpm
      sudo rpm -ivh nodejs-10.16.3-1.0.1.el7.x86_64.rpm
      
      # Set Proxy
      npm config set proxy http://<ip>:<port>
      npm config set https-proxy http://<ip>:<port>
      
      # Delete Proxy
      npm config rm proxy
      npm config rm https-proxy
    • Installing Oracle Jet

      # Changing Node Global Path
      sudo su
      mkdir /scratch/jet/.npm-global
      npm config set prefix '/scratch/jet/.npm-global'
      vi ~/.bash_profile
        # Add below to path
        export PATH=/scratch/jet/.npm-global/bin:$PATH
      source ~/.bash_profile
      
      # Install Oracle Jet CLI and associated libraries. For specific version use npm install -g @oracle/ojet-cli@~6.0.0
      npm install -g @oracle/ojet-cli cordova webpack webpack-cli  typescript
      
      # Verification of Ojet CLI
      npm list -g ojet-cli
      ojet help
      ojet --version
      
      # Upgrade JET
      npm cache clean –force
      npm upgrade -g @oracle/ojet-cli
      
      # Uninstall JET
      npm uninstall -g @oracle/ojet-cli
    • Creating a WebApp using Oracle Jet - Typescript and Webpack

      # Running WebApp with ojet cli
      ojet create --template=navdrawer Demo-01
      cd Demo-01
      npm i @types/oracle__oraclejet text-loader requirejs-text
      
      # Copy 00-Install/tsconfig.json
      ojet serve
      
      # If you wanted to use Webpack unizp content of 00-Install/jet-webpack.zip and copy and paste in the root of the folder
      webpack
      # Change index.html and update with bundle.js and run index.html
    • Creating Hello World

      • Navigate 03-Examples/01-HelloWorld and copy deliverable into src folder.
      • Create two terminals. In first, run tsc --watch to convert Typescript to Javascript. In second, run ojet serve or webpack based on you configuration. The Dashboard tab will be updated as below

Modules


Appendix

ojet's People

Contributors

rahgadda avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

subratcall

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.