Skip to main content

2019 | Buch

Practical Oracle JET

Developing Enterprise Applications in JavaScript

insite
SUCHEN

Über dieses Buch

Learn how to use Oracle's JavaScript Extension Toolkit (JET) as a solution to the all too common problem of internal back office and intranet applications that are typically ugly, clunky, and cumbersome to use. JET simultaneously provides you with a JavaScript toolkit that is cutting-edge while being stable enough for enterprise development in an ecosystem that is notorious for its fast-paced rate of change.
Practical Oracle JET walks through the process of developing a functional application using Oracle JET. By the end of this book you will have built a support ticket system using a variety of different components bundled with the toolkit, including lists, inputs, and visualizations. The skills acquired from reading this book and working the examples equip you to build your own applications and take your understanding even further to more advanced topics.
What You'll LearnBuild a real-world Oracle JET application
Understand the fundamental technologies used in JET
Control look and feel through theming a JET application
Develop interfaces using Web Components
Include and interface with third-party libraries
Configure automated unit testing of JET applicationsWho This Book Is For
Developers with a basic understanding of JavaScript who want to learn Oracle’s JavaScript Extension Toolkit for building client-side applications that can integrate with data services and Oracle Cloud products. The book is also of interest to Oracle ADF developers coming from a Java and WebCenter background who are building new skills in JavaScript and browser-based applications.

Inhaltsverzeichnis

Frontmatter
Chapter 1. User Experience in Enterprise Applications
Abstract
User experience is a term often used when developing any kind of web interface. Such an interface could be for a web site or web application. Implementing user experience essentially requires getting the right balance between the end goals of the business, technical restraints, and preferences of end users. User experience involves much more than just reducing the amount of clicks a user takes to achieve a goal. A lot of factors are considered in getting it right.
Daniel Curtis
Chapter 2. Oracle JET As a Solution
Abstract
There may finally be a solution to developing great enterprise applications—solutions that are both functionally rich and beautiful in design. For the past four years, Oracle JavaScript Extension Toolkit (JET) has been used for many internal Oracle applications. In fact, a lot of the Oracle Cloud Services are being built using Oracle JET. VBCS (Visual Builder Cloud Service) is an Oracle SaaS product that is built on top of JET and gives users the ability to declaratively build rich applications in no time at all.
Daniel Curtis
Chapter 3. Support Ticket Application
Abstract
In the first two chapters, we explored some issues with enterprise applications related to usability and how shortfalls in the usability of an application can ultimately decrease the productivity of end users. Oracle JET was outlined as a solution, and we have covered the basics of what makes up the Oracle JET toolkit.
Daniel Curtis
Chapter 4. Hello World
Abstract
The JavaScript world can be a scary place and extremely overwhelming for newcomers. There are thousands of libraries, and with many doing similar if not the same things, it can be difficult to see the forest for the trees. The last thing you want to worry about is loads of build tools required to run the code you don’t even know how to write yet! Luckily, Oracle JET makes the getting started process straightforward.
Daniel Curtis
Chapter 5. Theming
Abstract
A theme is a set of style rules that applies to the entire application. These rules are usually split into separate CSS files, alongside images and fonts, and contained within a single location known as the theme folder.
Daniel Curtis
Chapter 6. Creating the Page Skeleton
Abstract
Now that everything is set up and the fundamentals have been covered, we can get to the good stuff by starting to build the application and seeing some real results! As the application is going to consist of a single page driven by Oracle JET modules, we will be setting up the structure of this single page by extending the existing template and themes we have already scaffolded in previous chapters.
Daniel Curtis
Chapter 7. Viewing Tickets
Abstract
Time to get to the main act of the development. We will begin to create the ticket viewing and switching functionality, by using a variety of components. By the end of this chapter, you will have an application that is essentially in read-only mode—perfect for showing your friends or coworkers this cool new JET application that you have put together but not for letting them click any of the buttons, because they won’t work yet.
Daniel Curtis
Chapter 8. Replying to Tickets
Abstract
A common requirement of an application is to provide a user with the ability to input longer portions of text. Unfortunately, in many cases, a standard HTML text area will not meet that requirement, as richer functionality is needed. Even a simple line break will mean looking elsewhere for a richer text editor.
Daniel Curtis
Chapter 9. Ticket Management
Abstract
This chapter walks through the creation of management tasks that can be performed on a ticket. These include ticket closure, escalating priority, and rating responses. The buttons that will action these management tasks are situated within the view ticket module, and any actions on these buttons will be communicated to the parent module (ticket desk), in order to perform methods directly on the ticket’s model and collection.
Daniel Curtis
Chapter 10. Search Component
Abstract
In this chapter, we are going to explore the Oracle JET Custom Web Component Architecture and use it to build a search component. The component will automatically filter down the ticket list as the user is typing, to instantly show the results and reduce the amount of actions required by the user. This aspect of showing results while the user types will be achieved easily, thanks to the component’s writeback properties facilitating the communication between the component and the consuming ViewModel.
Daniel Curtis
Chapter 11. Ticket Creation
Abstract
This chapter covers the functionality to create new tickets, using several Oracle JET components that we have already used (plus some new ones). The Oracle JET Common Model will be used to create new tickets, and we will be using Signals once again to handle the intermodular communication.
Daniel Curtis
Chapter 12. Logging, Messages, and Validation
Abstract
With the core functionality of the application complete, we will now look at three areas that have not yet been explored: logging, messages, and validation. Until now, all log entries have used the built-in browser logging tools, and in this chapter, we will look at how this can be enhanced using components available with the JET toolkit.
Daniel Curtis
Chapter 13. Automated Unit Testing
Abstract
Ah, unit testing! It takes a multitude of things coming together to ensure that a team of developers write good automated unit tests for their work. One of these things is deciding on a unit test framework to use (it’s a bit of a maze out there). Another is making it really easy for developers to write their tests.
Daniel Curtis
Backmatter
Metadaten
Titel
Practical Oracle JET
verfasst von
Daniel Curtis
Copyright-Jahr
2019
Verlag
Apress
Electronic ISBN
978-1-4842-4346-6
Print ISBN
978-1-4842-4345-9
DOI
https://doi.org/10.1007/978-1-4842-4346-6