Beginning Oracle® Application Express

Book description

Oracle Application Express is an easy-to-use application development environment built on the Oracle technology stack. There are two aspects of that previous sentence that you may find jarring—that Oracle, a company widely known for its database technology, has an application development environment, and that Oracle, a company thought of as delivering high-end, enterprise-ready technology, has anything that is easy to use.

But, as this book will show, the introductory statement is completely accurate. Oracle Application Express, commonly known as Oracle APEX or simply APEX, does benefit from the long-established enterprise-class robustness that is the hallmark of Oracle technology. The applications you build will be able to support hundreds of users and many terabytes of data, scalability far beyond even the imagination of most other development environments.

And Oracle APEX, with its declarative, wizard-driven methodology, is truly easy to use. In the course of the few hundred pages of this book, you will not only learn about how to use APEX, you will create a usable order entry system. The fast learning curve presented in these pages is a consequence of many years of development and refinement of the APEX product, which began life almost a decade ago within Oracle.

By the end of this volume, you will know enough to create your own applications, as well as having the knowledge and understanding of Oracle APEX and the world of Oracle technology to explore further refinements on your own.

Best of all, you can use APEX with absolutely no cost—either in a hosted environment, as suggested in Chapter 1, or with a free version of the Oracle database.

Welcome to the world of Oracle Application Express!

This book is aimed at a particular group of users—those who are not familiar with Oracle Application Express. The book assumes that you have a basic knowledge of application development, the type you could get from playing around with a personal database such as Access. In fact, this book was written with an Access developer in mind—an Access developer looking to step up to a more scalable and reliable environment, with reduced maintenance overhead and greater integration between application systems.

This book covers the use of Oracle Application Express. Although the book is based on the 3.5 version, you can use the book with older versions as well. However, since the book will use a hosted version of Oracle Application Express, and since both the Oracle database that support the product and the product itself are available as free downloads from, you should be able to use the latest version easily.

This book is structured to give the reader a gradual introduction to the essentials of development with Oracle Application Express. The book contains the following:

  • Welcome to Oracle!—This contains an overview of Oracle Application Express, as well as instructions on how to set up a hosted development environment for performing the exercises used in the book.

  • Jumpstart Oracle Application Express—You will leap into creating applications with Oracle Application Express and finish a simple application by the end of this.

  • Extending Your Oracle APEX Application—This will introduce you to the options in Oracle APEX that let you ensure that your users will enter correct data while using your application.

  • Validation, Calculation, Navigation, and Lists—This continues the exploration of the aspects of APEX that help you to ensure that data used in your application is correct. Additionally, this covers basic navigation options for your application.

  • Reporting and Charting—This covers the powerful and flexible reports you can create with Oracle APEX, and introduces you to the graphical capabilities of APEX reporting.

  • Components Working Together—This extends your work with charts, showing how you can create charts that link to a more detailed view of the data they represent. You will also learn how to create a calendar page with links to the data shown as part of the calendar, and how to add images taken from the underlying database to an Oracle APEX report.

  • Customizing User Interfaces—This explores advanced options for customizing user interfaces, on individual pages as well as across your entire APEX application.

  • PL/SQL—This introduces you to PL/SQL, the underlying language used to implement your APEX application, and demonstrates how to use the power of PL/SQL to extend the logic in your application.

  • Security—This covers how security is implemented for your APEX environment.

  • Deployment and Administration—This covers the options you have for deploying an APEX application to another environment and walks you through one of those options. Additionally, this introduces you to the administrative functionality you can use to monitor and manage your APEX applications.

  • Packaged Applications—This gives an overview of packaged applications available for Oracle Application Express, with a more detailed look at a select few.

  • Migration—This describes how to migrate applications from Microsoft Access to Oracle Application Express.

Table of contents

  1. Copyright
  2. Dedication
  3. About the Author
  4. Credits
  5. Acknowledgments
  6. Foreword
  7. Introduction
  8. Introducing Oracle Application Express
    1. Welcome to Oracle!
      1. What Do You Need?
      2. Why Don't You Have It?
      3. Why Oracle?
      4. What Is Oracle Application Express?
      5. What Are You Going to Do?
      6. How Will You Do It?
      7. How to Sign Up for a Hosted APEX Account
      8. Script Files for This Book
      9. Summary
  9. Building an Application with Application Express
    1. Jumpstart Oracle Application Express
      1. Data Design
      2. Your First Page
      3. Expanding Your Application
      4. Rounding Out Your Data Set
      5. Summary
    2. Extending Your APEX Application
      1. APEX Page Attributes
      2. Formatting Data Fields
      3. Default Values
      4. Ensuring Integrity
      5. Summary
    3. Validation, Calculation, Navigation, and Lists
      1. Validation
      2. Calculation
      3. Navigation
      4. Summary
    4. Reporting and Charting
      1. More Data Design
      2. Extending Existing Tables
      3. Report Creation
      4. Report Manipulation
      5. Freezing Interactive Report Output
      6. Charts
      7. Summary
    5. Components Working Together
      1. Drill-Down Charts
      2. Interaction between Regions
      3. Calendar Pages
      4. Rich User Interfaces
      5. Summary
    6. Customizing User Interfaces
      1. Page Layouts
      2. User Interface Defaults
      3. Templates
      4. Themes
      5. Summary
    7. PL/SQL
      1. PL/SQL
      2. Setting a Variable Default
      3. Server-Side PL/SQL
      4. Checking against Credit Limit
      5. Summary
    8. Security
      1. Security Basics
      2. Creating Users
      3. Limiting Access
      4. Shaping Access
      5. Summary
  10. Deploying the Application
    1. Deployment and Administration
      1. Locking Down Your Application
      2. Structure of the APEX Environment
      3. Deployment
      4. Deployment Options
      5. Administration
      6. Summary
    2. Packaged Applications
      1. The Benefits of Packaged Applications
      2. Available Packaged Applications
      3. Installing a Packaged Application
      4. Using Sample Code
      5. Summary
    3. Migration
      1. Why Migrate?
      2. Migrating Your Applications
      3. What Hath APEX Wrought?
      4. Summary
  11. Index

Product information

  • Title: Beginning Oracle® Application Express
  • Author(s): Dan Wood, Chris Leiter, Paul Turley
  • Release date: December 2008
  • Publisher(s): Wrox
  • ISBN: 9780470388372