Usage in Oracle JET applications
Knockout JS has been extensively used in Oracle JET for data binding and page rendering responsibilities. We can review the sample project created for Oracle JET for the Knockout JS usage. While there are a number of places in the sample project that refer to Knockout, the following is one quick reference where you can see the usage of observables for data bindings.
Open the OracleJETSample
project we created in previous chapters, and access the appController.js
component under src/js/appController.js
.
You can see that Knockout is used for the data bindings with observable
and observableArray
to populate the application username, login details, and application reference links as follows:

Similarly, references to Knockout JS can be found in HTML page bindings such as data-bind
, and events such as a button click on index.html
, as follows:
