Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Oracle JET for Developers

You're reading from   Oracle JET for Developers Implement client-side JavaScript efficiently for enterprise Oracle applications

Arrow left icon
Product type Paperback
Published in Dec 2017
Publisher Packt
ISBN-13 9781787284746
Length 282 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Raja Malleswara Rao Malleswara Rao Pattamsetti Raja Malleswara Rao Malleswara Rao Pattamsetti
Author Profile Icon Raja Malleswara Rao Malleswara Rao Pattamsetti
Raja Malleswara Rao Malleswara Rao Pattamsetti
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. Getting Started with Oracle JET FREE CHAPTER 2. Oracle Alta UI 3. Tool Integration 4. Knockout JS 5. Oracle JET Components – Form Elements, Controls, and Data Collections 6. OJ Components – Layouts, Navigation, and Visualizations 7. Framework 8. Hybrid Mobile Application Development 9. Testing and Debugging 10. Security and Version Migration

Application routing


Oracle JET provides a Single-Page Application (SPA) design for our application through the ojModule binding and oj.Router routing architecture. The way they work is through a content replacement technique by ojModule from Knockout.js with the content routing provided by oj.Router. The following diagram represents the difference between the traditional and Single-Page Application life cycle:

In a traditional page life cycle, each page gets loaded from the server to the client on request, and the page gets reloaded with the next page when the user tries to navigate through the application. In Single-Page Applications, the client loads the first page on initial request and when the user tries to navigate to the next page, an AJAX request is made to the Server to dynamically load the content and replace the view components with the desired elements, instead of a complete page reload.

The following is the basic routing example using the Oracle JET module and routing elements...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime