1 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle Application Express Overview 2 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. The following is intended to outline Oracle’s general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle. 3 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle Application Express Introduction 4 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle Application Express • Oracle’s primary tool for developing Web-based applications using SQL and PL/SQL • Database-centric development tool for personal, Intranet, and Internet applications • Develop Desktop and Mobile applications • 100% Browser-based Development and Runtime • Declarative framework for rapid application definition, maintenance, and enhancements. • Application scalability inherited from the Oracle Database 5 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle Application Express – History Also known as Oracle APEX (āʹpěks) HTML DB 1.5 Application Express 2.1 First Release HTML DB 1.6 Packaged Applications 2005 HTML DB 2.0 SQL Workshop 6 Interactive Reports Application Express 2.2 Themes 2004 Application Express 3.1 Oracle XE 2007 2006 Application Express 3.0 Flash Charts PDF Printing Access Migration Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 2008 Application Express 4.0 Application Express 4.2 Mobile HTML5 Packaged Apps Websheets Dynamic Actions Plug-Ins Team Development 2009 Application Express 3.2 Oracle Forms to APEX Conversion 2010 2011 Application Express 4.1 Data Upload Error Handling ROWID 2012 Oracle Application Express – No Cost Feature Fully supported no-cost feature of the Oracle Database No additional Oracle Database licensing • Any number of developers • Any number of applications • Any number of end-users for those applications Supported Database Releases • 10gR2 (10.2.0.4 +), 11gR1, 11gR2,12c • Exadata, ODA, RAC Distributed with all Database Editions Oracle Enterprise Edition; Oracle Standard Edition; Oracle Standard Edition One; and Oracle Express Edition (Oracle XE) 7 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle Application Express – In Oracle DB 12c Installed by default in Oracle Database12c PDB Seed Root APEX_040200 Schema • APEX 4.2 is installed into CDB$Root (Root Container) by default • Each PDB contains meta-data linked objects to APEX Schema in Root • Runs the same version of Application Express in every PDB 8 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle Application Express Architectural Overview • • • • Simple 2-Tier Architecture Pages dynamically rendered using database metadata No code generation or file based compilation Runs everywhere Oracle Database runs 9 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle Application Express Multi-Tenant Hosting • IT manage the Oracle Database and provide Application Express Services • Departments manage application development • Can utilize self-service provisioning of workspaces • For example, the free hosted “development-only” service http://apex.oracle.com has over 19,000 Workspaces 10 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle Application Express Development / Deployment Options Installed Locally • Install on stand-alone machine, such as Desktop / Laptop Installed On-Premise Multi-tenant “Private” Cloud • Workspaces for each department • Self-service provisioning model Public Cloud Subscription • Oracle Database Cloud Service • Amazon EC2 / RDS • Hosting partners 11 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle Application Express – Data Sources Utilize Oracle Database / Web Services 12 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle Application Express – Use Cases Data-driven Applications Online Reporting Develop opportunistic and departmental productivity applications Build SQL-based reporting applications on existing database schemas Oracle Forms Modernization Leverage SQL & PL/SQL declarative programming skills to move Forms applications to HTML / Web 2.0 13 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Spreadsheet Access Replacement Web-ificationRuns within Database Convert spreadsheets to Web applications where they can be concurrently Viewed and edited Consolidate outgrown Access applications to the Oracle database with an APEX Web front end Oracle Application Express – Application Types 14 Internet / Enterprise-wide / Targeted Tracking Query / Lookup Survey and Feedback Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Business Intelligence Mobile Content Management End-User Websheets Oracle Application Express – Collateral Oracle Technology Network http://otn.oracle.com/apex 15 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle Application Express – Getting Started Oracle Technology Network http://otn.oracle.com/apex 16 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle Application Express – Hosted Service Free for “Development-Only” http://apex.oracle.com/ 17 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle Application Express – Hosted Service Oracle Database Cloud Service http://cloud.oracle.com 18 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle Application Express – Books 19 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle Application Express – Community Very involved, enthusiastic worldwide community • • • • Guesstimated ~ 400,000 developers Over 120 consulting companies {See OTN Community Page} Over 75 bloggers (http://www.odtug.com/apex) Very popular Forum {Get URL from OTN Home} - Search / Add your own question - Answers given by APEX gurus and APEX Development Team • Web sites dedicated to plug-ins, tools, etc. • Twitter #orclapex 20 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle Application Express Components 21 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle Application Express – Components Application Builder Build / maintain Web applications 22 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle Application Express – Components SQL Workshop Browse / manage DB Objects and data 23 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle Application Express – Components Team Development Manage the development process 24 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle Application Express – Components Administration Manage / monitor the Workspace 25 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle Application Express Features 26 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle Application Express – Key Features Declarative capabilities >> Majority of other RAD Tools 27 Reports Validations Translation Services Forms Processes Conditional Processing Charts Computations Authentication Calendar Branches Authorization Templates Web Services Session State Management Navigation Email Services Logging & Monitoring Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle Application Express – Features Powerful Interactive Reports End-user customizable 28 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle Application Express – Features Interoperate with spreadsheets Upload and download 29 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle Application Express – Features Calendars Drag & Drop, Different Views, Mobile 30 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle Application Express – Features Robust SQL based Charts, Maps, and Gantts 31 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle Application Express – Features Dynamic Actions Declarative JavaScript and AJAX 32 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle Application Express – Features Tabular Forms Multi-record edit capabilities 33 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle Application Express – Features Advanced Master Detail With declarative validations 34 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle Application Express – Features Plug-Ins Extend framework with custom components 35 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle Application Express – Features Web-based Mobile Applications Develop for Smartphones • Uses the same Application Builder and declarative framework as for Desktop applications • Applications can support multiple user interfaces, both Desktop and Smartphone • Mobile pages use jQuery Mobile through jQuery Mobile based themes and templates • Includes HTML5 regions, item types, and charting engine 36 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle Application Express – Features RESTful Web Services • Interaction with data sources through use of Uniform Resource Identifiers (URIs) • Standard method of accessing data in the Oracle Cloud • Ability to create services which implement any SQL statement or PL/SQL procedure • Data returned in JSON or CSV format, or additionally through PL/SQL 37 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle Application Express – Features Packaged Applications • Suite of business “Productivity” applications installable with only a few clicks • Production-ready applications include Project Management, Survey Builder, Checklists, etc. • Support for Third-party applications, sharing same infrastructure and user pool • Includes “Sample” applications to demonstrate key functionality, such as Dynamic Actions, Reports, Charts, etc. 38 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle Application Express – Features Websheets Allow end-users to build / maintain Web pages • Database enabled WIKI • Annotations (easily add files, links, notes, and tags) • Use [[SQL ]] tag • Presentation mode • Multi user 39 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle Application Express Examples 40 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle Application Express – Public Example Oracle Store http://shop.oracle.com 41 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle Application Express – Public Example Oracle Learning Library http://www.oracle.com/oll 42 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle Application Express – Internal Example One of the most popular applications within Oracle • Nightly download of HR data • Employees can update profile, upload picture, add links ... • Used to contact employees, see Org. Chart, etc. • Average ~ 1.2 million page views / day ( > 20 page views / sec ) • Median execution time of 0.05 seconds 43 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 44 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 45 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 46 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.