partner webcast – oracle database 12c: application express 5.0 for cloud development
TRANSCRIPT
Stay Connected
BLOGS.ORACLE.COM/IMC
TWITTER.COM/ORACLEIMC
YOUTUBE.COM/ORACLEIMCTEAM
FACEBOOK.COM/ORACLEIMC
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 3
Oracle Application Express 5 Technology Overview
Rhine Singh Oracle Database & Options Consultant for AxizWorkgroup Partner Hub Migration Center
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Safe Harbor Statement
The following is intended to outline our 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.
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 5
Introduction Oracle Application Express
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 6
Oracle Application Express
• Database-centric development tool for Oracle Database application development
• Develop Desktop and Mobile applications
• Targeted at developers who know SQL and PL/SQL
• 100% Browser-based Development, Deployment and Runtime
• Declarative framework for rapid application definition, and full application life cycle
• On premise, on laptop, on cloud, on RAC, any platform Oracle DB is available
Overview
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 7
• Targeted to and used by SQL-savvy Developers
• "Sweet spot" is opportunistic applications
• Predominantly used on Intranet
• APEX has developed a reputation for RAD and business results
• Services a spectrum of use cases
7
End Users / Developers building simple systems Professional Developers building mission critical systems
MS Access Replacement EBS Extensions
Excel to Web App
Oracle Forms Replacement
Tracking Systems
“Packaged App” Deployment
Data Analysis Reporting Disposable Simple Systems
Mobile Solutions
Full Large-Scale Systems
Interim Gap Filling / Prototyping
How Customers Use Oracle Application Express Today
Internet Sites
Cloud Deployment
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 8
History
HTML DB 1.5 First Release
HTML DB 1.6 Themes
2004 2007 2012-14
APEX 2.1 Oracle XE
APEX 2.2 Packaged Applications
APEX 3.1 Interactive Reports
HTML DB 2.0
SQL Workshop
APEX 3.0 Flash Charts
PDF Printing
Access Migration
APEX 3.2 Oracle Forms to APEX
Conversion
APEX 4.1 Data Upload
Error Handling
ROWID
2006 2009 2011 2008 2005
APEX 4.2.x Mobile
HTML5
Packaged Apps
APEX 4.0 Websheets
Dynamic Actions
Plug-Ins
Team Development
2010
APEX 5.0 Page Designer
Universal Theme
Modal Dialogs
2015
Also known as Oracle APEX (āʹpěks)
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 9
Fully supported no-cost feature of the Oracle Database • Supported as a no-cost feature of the Oracle Database
• No cost feature of database 11gR1, 11gR2, 12c
• Any number of developers, applications, any number of end-users
• Specialized Oracle Support Team – Included with Database Maintenance Agreement
• All database editions: EE, SE, SE1, XE
• Exadata, ODA, RAC, Partitioning, Compression, InMemory, Multitenant…
• Distribution
• Distributed with all editions of Oracle database 11g and 12c
• Available as a download from OTN at http://otn.oracle.com/apex
• Oracle Cloud Services
• “Oracle Database Cloud Service” aka schema since October 2012. Sold as a fully managed service with 1GB free trial, and 5, 20, 50 GB paid services.
• Available as “development only” customer evaluation service on http://apex.oracle.com
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 10
Architecture
• Mid tier = Oracle REST Data Services • Directs calls to APEX Apps to the APEX run-time engine
• Accepts RESTful Web Service call URIs and directs them to the appropriate SQL statement or PL/SQL block
• Recommended mid tier for Oracle APEX.
• Can also use Embedded PL/SQL Gateway (EPG) and Oracle HTTP Server (OHS).
• Application Meta Data stored in the Oracle DB • Oracle Application Express is written largely in PL/SQL
• Pages dynamically rendered using database metadata
• No code generation or file based compilation
(Proxies client requests to APEX engine in DB)
Simple 2+-Tier Architecture
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 11
Data Sources Utilize the Oracle Database / Web Services
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 12
Single Database Instance / Multiple Workspaces
• Workspaces used to define application definitions / Schemas hold data
• Many-to-many relationship between Workspaces and Schemas
• Instance Administrators manage the environment and schema access
• Departments can request more space, and access to a new schema
• For example, http://apex.oraclecorp.com has over 3,000 Workspaces for every line of business in Oracle
Easily managed with optional self-service provisioning
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 13
Development / Deployment Options
Local • Install on stand-alone laptops
using Oracle Express Edition (XE) or full database version
• Simply upgrade APEX to the required version
• Can work completely disconnected
On-Premise • Typically run by the IT
Department
• IT generally both production operations service, and a service provider
• Departments responsible for application development
Cloud • Deploy Internet applications
• Leveraged for fast application development, user acceptance and training.
• Prototyping & Proof-of-Concept
• Consulting companies develop for deployment on customer premise
Browser based application development framework enables efficient development & deployment
Shoot someone a URL – Check this out – Application Development
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 17
Useful Links
• Oracle Technology Network http://otn.oracle.com/apex
• Oracle Learning Library http://www.oracle.com/oll
• Hosted evaluation site http://apex.oracle.com
• APEX Cloud Service http://cloud.oracle.com
Collateral, Resources and Hosted Services
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 18
Product Components Oracle Application Express
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 19
Oracle Application Express – Home Page
Comprehensive Development IDE, Web Application Development, and SQL Database Development
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 20
Oracle Application Express – Application Builder
Integrated Development Environment (IDE) with Application Development Graphical “Page Designer”
Features tight SQL and PL/SQL integration
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 21
Oracle Application Express – SQL Workshop
Browser based maintenance of database objects and data Designed to meet application developers’ needs, especially in hosted environments
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 22
Oracle Application Express – Team Development
Collaborate with colleges, track project details with associations to application pages. Life cycle development: design, develop, deploy, view customer feedback, enhance, re-deploy.
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 23
Oracle Application Express – Packaged Applications
• Robust suite of productivity and sample applications. • Illustrates best practices and design patterns. • Template to start customization (e.g. unlock your packaged app). • Upgraded with every release.
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 24
Page Designer
• Multiple trees to view the page components
• Visualization of the page within the Grid Layout, and associated Gallery, allowing you to drag and drop components
• Update multiple attributes without leaving the page in the Property Editor
• Advanced Code Editor for defining SQL, HTML, CSS and text sections
• Highly configurable user interface:
– Customize and refine view of page specific to current focus
– Slideable panels
– Hide / show groupings
Powerful browser-based IDE
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 25
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 26
Code Editor
• Syntax Highlighting
• Undo / Redo
• Find/Replace
• Auto completion
• Code validation
• Used in Page Designer, Component View and SQL Workshop
Available for maintaining SQL, PL/SQL, JavaScript, HTML, CSS, and large text sections
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 27
Universal Theme
• New default theme for APEX applications
• Uses responsive HTML5 templates
• Grid-layout for HTML forms
• Modern flat-look
• Ships with a variety of pre-built theme styles
• Older themes still available as legacy themes, and will remain part of the product for backwards compatibility
Overview
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 28
Universal Theme
• Declarative CSS modifiers for HTML5 templates
• Enables developers to declaratively apply styles like borders, padding, icons, colors, size, etc.
• Uses easy-to-understand, descriptive names
• Available for most template types:
– Page, Region, Report, Breadcrumb, List, Item, Button
• Significantly reduces the number of required templates for a theme
Template Options
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 29
Universal Theme
• Theme Styles provide a variety of different color schemes and styles for a single theme
• Defined as CSS file that is included in addition to the theme’s base CSS file
• Universal Theme includes several pre-built styles
• Additional styles can be easily generated using the built-in Theme Roller utility
Theme Styles and Theme Roller
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 30
Pseudo Demo Flow: From Provisioning a Development Environment to creating and running an Application
Oracle Application Express
Skip
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 31
To Insert hyper Link to Demo Trial
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 42
Features Oracle Application Express
Skip
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 43
List-based Navigation Menus
• Alternative to using traditional tabs
• Available as top navigation menu and side menu
• Implemented as standard APEX lists
• Supports multi-level hierarchical menu structures
• Provides accessible pull-down menus
• Type of navigation determined by themes – Universal Theme uses lists
• Migration of older one-level tabs to lists when switching themes
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 44
Interactive Reports Powerful Reporting capabilities End-user customizable
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 45
Dynamic Actions Declaratively define rich client-side interactivity without writing JavaScript or AJAX
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 46
Calendars Different views, drag and drop capability, with mobile specific templates
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 47
Modal Dialogs
• Replacement for Popup Windows
• A modal dialog is a stand-alone page, not a region on a page
• Any page be created as a dialog page
• Supports all the functionality of a regular page, incl. computations, validations, processes, and branches
Readily switch between normal, modal, and non-modal page mode
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 48
Master – Detail Forms Combining a form (parent) and tabular form (child) with declarative validations
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 49
Charting Large selection of chart types built with CSS3, Flash, or HTML5
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 50
Plug-Ins Extend applications with custom components such as items and regions
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 51
RESTful Web Services Emit RESTful Web Services from the database for use in your SOA environment
• 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
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 52
Websheets Allow end-users to build / maintain WIKI like pages with database capabilities
• Database enabled WIKI
• Annotations (easily add files, links, notes, and tags)
• Use [[SQL ]] tag
• Presentation mode
• Multi user
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 53
Mobile Application Features Oracle Application Express
Skip
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 54
Mobile Development
• Declarative support for building mobile web applications
• APEX Applications support multiple user interfaces: Desktop and Smartphone; Desktop only; or just Mobile
• Mobile pages use jQuery Mobile through a jQuery Mobile based theme and templates
• Mobile Pages are lighter weight than Desktop Pages
• Can respond to touch-based events
• HTML5 charts and HTML5 item types
Rapidly build Web-based Mobile Applications
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 55
Navigation Menus and Slide Panels
• All top level pages added to Navigation List
• Navigation lists in Mobile apps are implemented as menu panels
• Shown on the left with menu button shown in top bar
• Custom panels using “Panel” region template
• Choice of display modes: Overlay, Reveal, Push
• data-role="panel"
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 56
List View
• Default View for data display, navigation, drill-down view
• Based on unordered list
• Automatic Dividers
• Custom formatting options
• Declarative Search Options, supporting server- and client side search
• data-role="listview"
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 57
Column Toggle Report
• Selectively hides columns at narrower widths as a sensible default
• Offers a menu to let users manually control which columns they want to see
• Column Toggle Popup contains a dynamically generated list of columns based on the table markup
• Developers can set column priorities (1 – 6)
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 58
Reflow Table Report
• Collapsing table data into label/data pairs for each row
• Stacked presentation style default
• Media query used to switch to tabular style presentation above a specific screen width
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 59
Mobile Calendar
• New Calendar Region type for Desktop and Mobile
• Monthly-, Weekly-, Daily- and List View
• Supports touch events
• Customization through CSS
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 60
jQuery ThemeRoller
• Mobile theme provides a variety of theme styles
• Create custom styles using Themeroller
• Upload Themeroller file as application or workspace files
• Define new theme style using your own Themeroller layout
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 61
Security Features Oracle Application Express
Skip
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 62
Browser Security Options
• Browser Cache: prevent back button from showing old page content after logout (APEX 4.1)
• Embed in Frames: prevent other apps from embedding and remote controlling your application (APEX 4.1)
• Define custom HTTP headers at instance and application level (APEX 5.0)
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 63
Authentication and Authorization
• Flexible authentication - change the authentication of the development environment itself - LDAP, SSO, HTTP Header Variable, etc. (APEX 5.0)
• Authorizations and conditions for on demand processes (APEX 4.2)
• Assign workspace groups to other groups (APEX 5.0)
• Set group membership for session on login, including external groups (APEX 5.0)
• Is In Group authorization (APEX 5.0)
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 64
Improvements to avoid Cross-Site Scripting (XSS)
• HTML Expression attribute for report columns with substitution support instead of concatenating strings in the query (APEX 4.1)
• Restricted Characters attribute for items rejects malicious input (APEX 4.2)
• More restrictive HTML-Escaping and APEX_ESCAPE API (APEX 4.2)
• New escaping syntax, e.g. &P1_ITEM!JS. for fine grained control (APEX 5.0)
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 65
Instance Lockdown and Workspace Isolation
• Limit emails (APEX 4.1)
• Resource manager support (APEX 4.2)
• Limit file uploads (APEX 5.0)
• Limit debug output (APEX 5.0)
• Limit concurrent requests per session and per workspace (APEX 5.0)
• Limit workspace access by hostname (APEX 5.0)
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 66
Cryptography Improvements
• Stronger session cookie (APEX 4.2)
• SH-1/SH-2 for checksums (APEX 5.0)
• Improved hashing algorithm for workspace user passwords (APEX 5.0)
• New applications/forms are checksum protected by default (APEX 5.0)
• Support DB 12c DBFIPS_140 mode (APEX 5.0)
– DBFIPS_140 enables Transparent Data Encryption (TDE) and DBMS_CRYPTO PL/SQL package program units to run in a mode compliant to the Federal Information Processing Standard ("FIPS mode”)
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 67
Apex 5.0 New Features
• Page Designer
• Universal Theme
• All New Application Builder Design
• Interactive Reports
• Mobile Reporting
• Modal Dialogs
• All New Calendar
• Packaged Apps
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 68
Examples of how Oracle uses Oracle APEX Oracle Application Express
Skip
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 69
http://shop.oracle.com Oracle Store [Internet Application]
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 70
http://www.oracle.com/oll Oracle Learning Library [Internet Application]
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 71
“Sailors have access to an Oracle Application Express–based mobile app that automates the 250-item checklist necessary to prep the boat for sailing. “It’s a perfect use of database and mobile technology,” says Burns. “Oracle Application Express is really a powerful tool for widespread mobile data access.”
Ian “Fresh” Burns Design Team Coordinator Oracle Team USA
Portals and Mobile Solutions
ORACLE TEAM USA
Oracle Application Express – Success Story
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 72
Customer References Oracle Application Express
Skip
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 73
• 40 major Cloud based products including: Membership, Events, Subscriptions, Fundraising, Certification, and Bookstore
• 420,000 distinct users last year
• Run 70+ production databases
• Primarily for professional and trade associations
Customer Reference
Software as a Service
Based in USA
ACGI Software
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 74
• Commercial application
• Hosted solution for students, academics and administrators
• Deployed on Oracle Real Application Clusters (RAC)
• > 400,000 users
Higher Education
Customer Reference CampusIT (Ellucian)
Based in Ireland / USA
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 75
• Oracle Forms based solution was losing competitiveness
• Migrated 3,500 Oracle Forms to Oracle APEX
• > 5,000 APEX pages
• Market Leader (170+ local authorities, > 10,000 end users)
• Numerous commercial applications, including: Housing, Revenue and Benefits, EU Blue Card, HGV Road Levy
Public Sector Applications
Customer Reference Northgate IS
Based in UK
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 76
To see more applications and partner solutions
Oracle Application Express
Commercial Applications
APEX Community & Partners
Consulting Services, Hosting, Community Blogs
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 77
Leveraging Oracle Database Features Oracle Application Express
Skip
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 78
Leveraging the Oracle Database
• InMemory
• JSON
• Spatial
• RAC
• Analytics
• Multitenent Architecture
• Flashback
• PL/SQL
• OLAP
• Text
Readily Utilize Oracle Database features and options
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 79
Installation within Oracle DB 12c Multitenant Installed by default in Oracle Database 12c
Root
PDB Seed
• APEX 4.2 is installed into CDB$Root (Root Container) by default
• Runs the same version of Application Express in every PDB
• Can optionally uninstall from CDB$Root and install different versions into each PDB
APEX_040200 Schema
APEX installed here
Access APEX here as if it is private to you
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 80
Oracle Database-as-a-Service 12c Multitenant Pluggable Database Self-Service Application
• Available on OTN and with Oracle DBaaS
• Administrators can enable quotas and set self-service provisioning options
• Complements Enterprise Manager; Adding a self-service PDB portal
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 81
Summary Oracle Application Express
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 82
Oracle Application Express
• Used by real customers for real applications: Used for both opportunistic and mission critical apps that service tens of thousands of users.
• Well Established Product : First released over 10 years ago
• Continually growing: Oracle install base is adopting Oracle APEX for increasing numbers of projects, and is increasingly an approved corporate IT standard.
Summary
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 83
Oracle Application Express
• Aligned with industry trends: Strong support for HTML5 development frameworks, Modern & responsive CSS3 UI, integrated JavaScript libraries, Browser-based, self-service provisioning, flexible development and deployment including cloud services.
• Consistent with Oracle developers skill set: SQL, PL/SQL, Oracle Database. Proficiency in the Oracle database easily translates into an ability to develop web applications.
• TO APEX or Not TO APEX ?
Summary
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 84
Oracle Application Express Summary
Available from
http://www.oracle.com/technetwork/developer-tools/apex/downloads/index.html
Try out Oracle Database as a service trial– Free trail for 30 days
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 85
Oracle Application Express Summary – Where to next
Oracle Application Express 5.1 • New Multi-Row Edit Region Type • Master / Detail • Declarative RTL Support • Packaged Applications
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 86
Q&A
86
Rhine Singh Oracle AxizWorkgroup ISV Migration Center Consultant [email protected] ISV Migration Center blog: http://blogs.oracle.com/imc ISV Migration Center email: [email protected]
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 87
Oracle Partner Hub ISV Migration Center
Oracle.com Partner Hub
Team Info, Events/Activities Schedule, etc
Migration Center Team Blog
Webcasts, Howto, Demos, Guides, etc Youtube: OracleIMCteam
Slideshare: Oracle_IMC_team
twitter.com/OracleIMC
plus.google.com/+OracleIMC
facebook.com/OracleIMC
linkedin.com/groups/Oracle-Partner-Hub-Migration-Center-4535240
feeds.feedburner.com/oracleimc
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | 88