This workshop is delivered in two parts, both focused on learning best practices and techniques for Oracle JET developers.
The first is focused on how to create a Web Component for use within an Oracle JET Core application or within Visual Builder. The Web Component contains several Oracle JET components, primarily an Oracle JET Timeline component, which reads data from an Oracle ERP service showing invoice information. In this workshop, you will learn techniques and best practices for developing scalable Web Components that can be used in other contexts, in particular, in Visual Builder.
The second part is focused on techniques needed for creating custom Themes for use in Oracle JET Core applications or in Visual Builder.
All the activities in this section should be done on the command line in a Terminal window.
Node.js is a JavaScript runtime, which provides 'npm', that is, the Node Package Manager, that you will use in the sections that follow to set up the environment that you need.
To verify the Node Package Manager is installed, run the following, which should show you the version of the Node Package Manager:
npm -v
If version 5.6.0 or higher is not shown, you need to install the latest LTS version of Node.
Download and install the latest LTS version of Node from http://nodejs.org.
In this part, you install the Oracle JET command-line interface.
- Install the Oracle JET command-line interface:
npm install -g @oracle/ojet-cli
- Run the following to check installation succeeded and to see the available commands:
ojet help
You should see information about Oracle JET command line arguments.
- Run the following to check that you have the correct version of Oracle JET:
ojet --version
You should see this:
Oracle JET Command Line Interface, version: 6.2.0
Tip: If the above shows that you have an earlier version of the Oracle JET command-line interface, i.e., below 6.2.0, please reinstall Oracle JET, using the command in step 1 above to do so.
You are now ready to get started with Oracle JET!