55
Oracle APEX 4.2 New Features 1

APEX 4.2 New Features

  • Upload
    enkitec

  • View
    6.060

  • Download
    2

Embed Size (px)

Citation preview

Page 1: APEX 4.2 New Features

Oracle APEX 4.2 New Features

1

Page 2: APEX 4.2 New Features

WELCOME

2

Page 3: APEX 4.2 New Features

About Enkitec� Oracle Platinum Partner

� Established in 2004

� Headquartered in Dallas, TX

� Locations throughout the US & EMEA

� Specialties include

� Exadata Implementations

� Development Services

� PL/SQL / Java / APEX

� DBA/Data Warehouse/RAC

� Business Intelligence

3

Page 4: APEX 4.2 New Features

Enkitec & APEX� Services

� On Call

� Consulting

� Education

� 2+ weeks of instructor led training curriculum

� Public & Private

� Products

� eSERT

� eSERT Cloud

4

Page 5: APEX 4.2 New Features

Agenda� Overview

� APEX 4.2 New Features

� Infrastructure

� User Interface

� Mobile

� HTML5

� Packaged Applications

� Enhancements

� Summary

5

Page 6: APEX 4.2 New Features

OVERVIEW

6

Page 7: APEX 4.2 New Features

What is Application Express?� Oracle Application Express

� Commonly referred to as APEX

� Formerly called Oracle HTML DB

� Full-featured web development environment based in and for the Oracle Database

� No IDE to download; 100% web-based

� Works on any platform that Oracle runs on

� Written in 100% PL/SQL & JavaScript

� Included as part of your Oracle Database license at no additional cost

7

Page 8: APEX 4.2 New Features

What is APEX?� Supported in all Oracle editions:

� XE, SE One, SE & EE

� Oracle Database 10g, 11g & 12c

� Exadata, RAC, ODA

� Lightweight yet Robust Infrastructure

� APEX Listener & J2EE Server

� Oracle HTTP Server & mod_plsql

� Embedded PL/SQL Gateway

8

Page 9: APEX 4.2 New Features

What is APEX?� APEX enables you to quickly and securely

develop and deploy web-based applications based on data in the Oracle database

� Easily create forms, reports, charts & calendars

� Seamless integration with the database & PL/SQL

� Includes jQuery and jQuery UI JavaScript libraries

� Easy to integrate with other 3rd party plugins & utilities

� Built-in integration with Oracle SQL Developer

9

Page 10: APEX 4.2 New Features

APEX 3.1(2008)

Interactive Reports

APEX Release History

10

HTML DB 1.5(2004)

HTML DB 1.6(2004)

Themes

HTML DB 2.0(2005)

SQL Workshop

APEX 2.2(2006)

Packaged Apps

APEX 3.0(2007)

Flash Charts, PDF & Access Migration

APEX 3.2(2009)

Oracle Forms Conversion

APEX 4.0(2010)

DAs, Plugins, Team Development

APEX 4.1(2011)

Data Upload, Error Handling

APEX 4.2(2012)

Mobile, HTML 5

2004 2005 2006 2007 2008 2009 2010 2011 2012

APEX 2.1(2006)

Oracle XE

Page 11: APEX 4.2 New Features

Community� Estimated 400,000 developers worldwide

� Over 120 consulting companies worldwide

� Over 75 bloggers

� 3rd most popular forum on OTN

� Web sites dedicated to plug-ins, themes, tools

� 64 sessions and > 300 APEX Developers at ODTUG KScope 12

11

Page 12: APEX 4.2 New Features

Books� Almost 20 published APEX technical books

12

Page 13: APEX 4.2 New Features

INFRASTRUCTURE

13

Page 14: APEX 4.2 New Features

14

Require Outbound HTTPS� Require all outbound requests to be over HTTPS

� Applies to URL Regions & Web Services

Page 15: APEX 4.2 New Features

15

Instance-Wide Proxy� Require all outbound HTTP(S) traffic use a single

instance-wide proxy

Page 16: APEX 4.2 New Features

16

Log Switch (Data Retention)� Administrators can define intervals between log

switches for four logs:

� Access Log, Activity Log, Debug & External Click

� Maximum of 180 Days Retention possible

� Longer retention may impact performance negatively

Page 17: APEX 4.2 New Features

17

Resource Manager Consumer Group� Workspaces can now be mapped to a Resource

Manager Consumer Group

� All database requests from any application within that workspace must adhere to the policy of the associated Resource Manager Group

Page 18: APEX 4.2 New Features

18

V$SESSION Changes� Module:

� Parsing DB User/APEX:APP App ID:Page ID

� Client Info:

� Authenticated Username:Workspace ID

� Client ID:

� Authenticated Username:Session ID

Page 19: APEX 4.2 New Features

Partitioning of APEX Runtime Tables

� Support for partitioning the APEX runtime tables to better improve performance

� Session data

� Activity logs

� Indexes

19

Page 20: APEX 4.2 New Features

20

Restricted Characters� New Item Attribute

� Input validation which provides declarative control over which characters can be entered into session state

Page 21: APEX 4.2 New Features

� File-based Configuration

� Command-line

� GUI Admin via SQL Developer

� Multiple Database ConnectionSupport

� ICAP Server Integration

� Incorporate virus scanning of files

� Enhanced FOP Support

� JavaScript-based validation function

21

APEX Listener 2.0

Page 22: APEX 4.2 New Features

USER INTERFACE

22

Page 23: APEX 4.2 New Features

Themes & Templates

23

� Theme 25 is a Responsive Theme

� Automatically adjusts size & displayed components based on size of viewing device

Page 24: APEX 4.2 New Features

New Attributes for JS & CSS� Can be set for the Application or on individual

Pages

� Can also omit Legacy Javascript

� Support for inline CSS on a per-Page basis

24

Page 25: APEX 4.2 New Features

D E M O N S T R A T I O N

RESPONSIVE THEMES

25

Page 26: APEX 4.2 New Features

MOBILE

26

Page 27: APEX 4.2 New Features

Mobile: Application Builder

27

� Built-in declarative support for building mobile applications

� If you know how to build desktop apps, you already know how to build mobile apps!

� A single application can support both Desktop and Mobile - or just one or the other

� Mobile interface is managed via jQuery Mobile

� Pre-integrated APEX themes & templates

� HTML5 based charts are compatible with mobile browsers

Page 28: APEX 4.2 New Features

Mobile: Application Builder� An APEX Application can be associated with one

or more User Interfaces

� Pages can be either Desktop or Mobile specific

� Pages can only be mapped to a single User Interface

� User Interfaces can only be mapped to one Theme

� Each User Interface can have device-specific Login and Home URLs and support device auto-detection

� Page 0 replaced by Global Page(s)

28

Page 29: APEX 4.2 New Features

Mobile: Themes & Templates� New Theme 50 supports the development of

mobile applications

� Declarative support to specify JavaScript & CSS files

� Default Mobile page & popup transition types

� Support Content Delivery Networks for hosting of core jQuery files

� New #PAGE_STATIC_ID# substitution string added to page templates

� New mobile calendar templates

� Includes mobile-friendly List view

29

Page 30: APEX 4.2 New Features

Mobile: Themes & Templates� Easy to Create your own Mobile themes

� Check out jQuery ThemeRoller for more details

� http://jquerymobile.com/themeroller

30

Page 31: APEX 4.2 New Features

D E M O N S T R A T I O N

MOBILE APPLICATIONS

31

Page 32: APEX 4.2 New Features

HTML5

32

Page 33: APEX 4.2 New Features

HTML5 Charts

33

� APEX 4.2 includes AnyChart 6 - which has support for HTML5 Charts

� HTML5 Charts are mobile-friendly

� Do not require any plugins

� Two supported rendering options:

� Flash

� HTML5

� New Conditional Display of Chart Series

Page 34: APEX 4.2 New Features

D E M O N S T R A T I O N

HTML 5 CHARTS

34

Page 35: APEX 4.2 New Features

HTML5 Items� New HTML5 Item Types:

� Slider

� Date Picker

� Yes/No (Toggle Switch)

� New HTML 5 attributes:

� Placeholder attribute

� EMAIL, TEL and URL for Textfield

� “Required” attribute

� Display Orientation attribute

35

Page 36: APEX 4.2 New Features

PACKAGED APPLICATIONS

36

Page 37: APEX 4.2 New Features

Packaged Applications

37

� Packaged Applications return in APEX 4.2

� Suite of Productivity applications that can be quickly installed in any workspace

Page 38: APEX 4.2 New Features

Packaged Applications

� Project Tracker

� Checklist Manager

� Customer Tracker

� Group Calendar

� Product Features

� Bug Tracker

� Asset Manager

� Document Library

� Survey Builder

� Calendars

� Charts

� Data Loading

� Dynamic Actions

� Interactive Reports

� Master-Detail Forms

� Tabular Forms

� Trees

� Sample Database Application

� Sample Websheets

38

Productivity Apps Sample Code

Page 39: APEX 4.2 New Features

OTHER ENHANCEMENTS

39

Page 40: APEX 4.2 New Features

List View Region Type

40

� jQuery List view using data-role="listview" attribute

� Support for Server-Side AJAX search

� AJAX based pagination

� Support of the "Refresh" dynamic action

Page 41: APEX 4.2 New Features

Dynamic Action Enhancements� Expose jQuery Mobile events via Dynamic Actions

� Swipe, touch, tap/hold, orientation

� Provide ‘Custom’ event support

� Declarative support for buttons to be the ‘Affected Element’

� AJAX based Dynamic Actions to work asynchronously

� Chart ‘Refresh’ Dynamic Actions support

41

Page 42: APEX 4.2 New Features

Plugins Enhancements� Increased Number of Custom Attributes to 25

� New APIs in apex_plugin_util to better support custom plug-in attributes of type "Region Column Name "

� New Standard Region Type Plug-in Settings:

� Fetched Rows

� No Data Found Message

� Add support for media queries and IE conditions to apex_css and apex_javascript APIs

42

Page 43: APEX 4.2 New Features

43

Data Upload Enhancements� Allow up to 3 columns in Look-up Definition

� Expand transformation rules to include PL/SQL

� Provide aliases for column names

Page 44: APEX 4.2 New Features

44

RESTful Web Services*� Interaction with data sources through the 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

*Requires APEX Listener 2.0

Page 45: APEX 4.2 New Features

45

Debugging� APEX_DEBUG_MESSAGES is now APEX_DEBUG

� Can still use previous name via synonym

� New logging methods available

� MESSAGE - logs a formatted debug message (general version)

� ERROR - logs message of level c_log_level_error (1)

� WARN - logs message of level c_log_level_warn (2)

� INFO - logs message of level c_log_level_info (4)

� ENTER - logs messages of level c_log_level_app_enter (5)

� TRACE - logs message of level c_log_level_app_trace (6)

Page 46: APEX 4.2 New Features

Debugging� APEX_DEBUG.LOG_DBMS_OUTPUT

� Writes the contents of the DBMS_OUTPUT buffer to the debug log

� Aids in capturing messages from legacy applications

� New options at the URL level

� May now use ‘LEVEL1’ through ‘LEVEL9’ in place of YES/NO to enable debugging at a specific level

� Default is LEVEL4

46

Page 47: APEX 4.2 New Features

Debugging� New Path Info column shows debugging phase

47

Page 48: APEX 4.2 New Features

48

Other New Features in APEX 4.2� Enhanced Application Builder User Interface

� Grid Layout

� Named Branches

� Read-only attribute for Pages and Regions

� Interactive Report and Websheet enhancements

� Instance Administration improvements

� New CKEditor, jQuery and AnyGantt charts versions

Page 49: APEX 4.2 New Features

49

Other New Features in APEX 4.2� Item limit per page raised to 200

� SQL Workshop Date Format

� Publish Translations from command-line

Page 50: APEX 4.2 New Features

SUMMARY

50

Page 51: APEX 4.2 New Features

Summary� APEX 4.2 continues to expand the scope an power

of APEX

� Easiest mobile/multi-device development platform

� Continues to adapt to leading edge technologies

� jQuery Mobile

� HTML5

� Modernized UI keeps it on par with industry user interface trends

51

Page 52: APEX 4.2 New Features

APEX 5.0 SOD as of 28-NOV-12� Modal Dialog

� Provide the ability to declaratively define modal dialogs.

� Drag and Drop Layout Editor

� Reintroduce the drag and drop layout editor which is compatible with laying out items within a grid layout.

� HTML5 Capabilities

� Improve native capabilities for handling HTML5 constructs.

� PDF Printing

� Improve the printing capabilities utilizing the APEX Listener FOP Support

� Web Services Support

� In combination with the APEX Listener further extend the Web Services integration capabilities.

� Tablet User Interface

� Enhanced themes and templates to enable developers to declarative create applications and/or pages for tablet devices.

52

http://www.oracle.com/technetwork/developer-tools/apex/application-express/apex-sod-087560.html

Page 53: APEX 4.2 New Features

APEX 5.0 SOD� Packaged Applications

� Improved framework and enhancements to the packaged applications.

� New Multi-Row Edit Region Type

� Define a new region type with a modern UI for updating multiple rows of data and allow multiple regions on one page.

� Master / Detail / Detail

� Provide a wizard interface to define declarative master/detail/detail regions.

� Multiple Interactive Reports

� Allow any number of Interactive Reports to be defined on a single page.

� Application Builder Security

� Allow different authentication schemes to be used to control developer access to the Application Builder.

� Numerous functional improvements

53

http://www.oracle.com/technetwork/developer-tools/apex/application-express/apex-sod-087560.html

Page 54: APEX 4.2 New Features

Feature Request� Create and vote on new features for future

releases of Oracle APEX

54

http://apex.oracle.com/pls/apex/f?p=55447:1

Page 55: APEX 4.2 New Features

http://www.enkitec.com

55