Skip to content

Latest commit

 

History

History

Part-006

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
What you will learn:

Separating the HTML view from the JavaScript business logic.

How to use this sample:

1. Understand the advantages of separating the view from the business logic.

2. Note the inclusion of requirejs-text.

3. Note the Knockout.js component created in app.js, with its view in app.html.

4. Understand usage of js/viewModels and js/Views, to prepare for Oracle JET.

5. In the index file, usage of "component" binding to load the Knockout component.

6. Understand that we will see this same pattern in Oracle JET applications.

Reference: https://blogs.oracle.com/geertjan/entry/require_config_with_knockout_in