Book Image

Oracle JET for Developers

By : Raja Malleswara Rao Malleswara Rao Pattamsetti
Book Image

Oracle JET for Developers

By: Raja Malleswara Rao Malleswara Rao Pattamsetti

Overview of this book

This book will give you a complete practical understanding of the Oracle JavaScript Extension Toolkit (JET) and how you can use it to develop efficient client-side applications with ease. It will tell you how to get your own customized Oracle JET set up. You'll start with individual libraries, such as jQuery, Cordova, and Require.js. You'll also get to work with the JavaScript libraries created by Oracle, especially for cloud developers. You'll use these tools to create a working backend application with these libraries. Using the latest Oracle Alta UI, you'll develop a state-of-the-art backend for your cloud applications. You'll learn how to develop and integrate the different cloud services required for your application and use other third-party libraries to get more features from your cloud applications. Toward the end of the book, you'll learn how to manage and secure your cloud applications, and test them to ensure seamless deployment.
Table of Contents (17 chapters)
Title Page
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface

webpack


The webpack is another of the latest open source JavaScript module bundlers. The webpack takes modules with dependencies and generates static assets representing those modules.

Long-term caching of static assets with webpack is a great way to package all your static resources such as JavaScript, CSS, or even images, but to effectively use generated assets in production, one should leverage long-term caching.

As shown in the following figure, webpack helps bundle all the modules with dependencies including .sass and  .hbs files for .css, and makes static assets deliver as deployable applications:

The webpack is available to work in two modes: CLI and API.

Use the command-line interface (CLI) to configure and interact with your build. This is mostly useful in case of early prototyping, profiling, writing npm scripts, or personal customization of the build. 

API includes the Node and Module Loader plugins for webpack:

  1. The first step to make webpack part of your build process is to install...