34
Introduction to Apex Oracle Application Express Morten Bråten, April 2015

Introduction to Apex - Meetupfiles.meetup.com/16764362/Applikasjonsutvikling i ekspressfart.pdf · What is Apex? A framework for quickly building data-centric web apps on top of the

  • Upload
    dophuc

  • View
    221

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Introduction to Apex - Meetupfiles.meetup.com/16764362/Applikasjonsutvikling i ekspressfart.pdf · What is Apex? A framework for quickly building data-centric web apps on top of the

Introduction to

ApexOracle Application Express

Morten Bråten, April 2015

Page 2: Introduction to Apex - Meetupfiles.meetup.com/16764362/Applikasjonsutvikling i ekspressfart.pdf · What is Apex? A framework for quickly building data-centric web apps on top of the

About me

ora-00001.blogspot.com

github.com/mortenbra

@mortenbraten

20 years 17 years 8 years 5 minutes

Page 3: Introduction to Apex - Meetupfiles.meetup.com/16764362/Applikasjonsutvikling i ekspressfart.pdf · What is Apex? A framework for quickly building data-centric web apps on top of the

What is Apex?

A framework for quickly building data-centric web apps

on top of the Oracle database

COMPREHENSIVE

Includes dozens of standard

components, and leverages

all database features

Runs within DatabaseGOOD-LOOKING

Beautiful, modern, responsive

user interfaces by default

FLEXIBLE

Customize and extend

using themes, templates,

template options, plugins

and dynamic content

FAST

Fast to develop (declarative)

Fast to use (high performance)

FREE

Free with any edition of Oracle,

including Express Edition (XE)

BROWSER-BASED

Develop, deploy and run

with any modern browser;

nothing to install,

no plugins required

Page 4: Introduction to Apex - Meetupfiles.meetup.com/16764362/Applikasjonsutvikling i ekspressfart.pdf · What is Apex? A framework for quickly building data-centric web apps on top of the
Page 5: Introduction to Apex - Meetupfiles.meetup.com/16764362/Applikasjonsutvikling i ekspressfart.pdf · What is Apex? A framework for quickly building data-centric web apps on top of the

History of Apex

Apex has been included for free with the Oracle

database since 2004, starting with Oracle 10g

HTML DB 1.5 First Release

HTML DB 1.6 Themes

2004 2007 2012

Application Express 2.1 Oracle XE

Application Express 2.2 Packaged Applications

Application Express 3.1 Interactive Reports

HTML DB 2.0 SQL Workshop

Application Express 3.0 Flash Charts

PDF Printing

Access Migration

Application Express 3.2 Oracle Forms to APEX

Conversion

Application Express 4.1 Data Upload

Error Handling

ROWID

2006 2009 201120082005

Application Express 4.2 Mobile

HTML5

Packaged Apps

Application Express 4.0 Websheets

Dynamic Actions

Plug-Ins

Team Development

2010

Page 6: Introduction to Apex - Meetupfiles.meetup.com/16764362/Applikasjonsutvikling i ekspressfart.pdf · What is Apex? A framework for quickly building data-centric web apps on top of the

Developer Experience

Page 7: Introduction to Apex - Meetupfiles.meetup.com/16764362/Applikasjonsutvikling i ekspressfart.pdf · What is Apex? A framework for quickly building data-centric web apps on top of the

End-User Experience

Page 8: Introduction to Apex - Meetupfiles.meetup.com/16764362/Applikasjonsutvikling i ekspressfart.pdf · What is Apex? A framework for quickly building data-centric web apps on top of the

Apex Use Cases

Data-centric ApplicationsDevelop opportunistic and departmental

productivity applications

Online ReportingBuild SQL-based reporting

applications on existing

database schemas

Access ReplacementConsolidate outgrown Access applications

to the Oracle database with an ApeX web

front-end

Spreadsheet Web-ificationConvert spreadsheets to web applications

where they can be concurrently viewed and

edited

Client/Server

ModernizationMove old client/server applications to

responsive, modern web apps

© 2010 Oracle Corporation

Page 9: Introduction to Apex - Meetupfiles.meetup.com/16764362/Applikasjonsutvikling i ekspressfart.pdf · What is Apex? A framework for quickly building data-centric web apps on top of the

Out of the Box Declarative Features

Reports

Forms

Charts

Calendar

Templates

Navigation

Validations

Processes

Computations

Branches

Web Services

Email Services

Globalization

Conditional

Processing

Authentication

Authorization

Session State

Management

Logging &

Monitoring

© 2010 Oracle Corporation

Page 10: Introduction to Apex - Meetupfiles.meetup.com/16764362/Applikasjonsutvikling i ekspressfart.pdf · What is Apex? A framework for quickly building data-centric web apps on top of the

Region Components

Page 11: Introduction to Apex - Meetupfiles.meetup.com/16764362/Applikasjonsutvikling i ekspressfart.pdf · What is Apex? A framework for quickly building data-centric web apps on top of the

Button and Item Components

Page 12: Introduction to Apex - Meetupfiles.meetup.com/16764362/Applikasjonsutvikling i ekspressfart.pdf · What is Apex? A framework for quickly building data-centric web apps on top of the

Universal Theme

Page 13: Introduction to Apex - Meetupfiles.meetup.com/16764362/Applikasjonsutvikling i ekspressfart.pdf · What is Apex? A framework for quickly building data-centric web apps on top of the

Template Options

Page 14: Introduction to Apex - Meetupfiles.meetup.com/16764362/Applikasjonsutvikling i ekspressfart.pdf · What is Apex? A framework for quickly building data-centric web apps on top of the

Custom Themes: Bootstrap

http://bootstrap-apex.com

Page 15: Introduction to Apex - Meetupfiles.meetup.com/16764362/Applikasjonsutvikling i ekspressfart.pdf · What is Apex? A framework for quickly building data-centric web apps on top of the

Custom Themes: Material Design

https://github.com/vincentmorneau/material-apex

Page 16: Introduction to Apex - Meetupfiles.meetup.com/16764362/Applikasjonsutvikling i ekspressfart.pdf · What is Apex? A framework for quickly building data-centric web apps on top of the

Interactive Reports

Page 17: Introduction to Apex - Meetupfiles.meetup.com/16764362/Applikasjonsutvikling i ekspressfart.pdf · What is Apex? A framework for quickly building data-centric web apps on top of the

Interactive Reports: Pivot

Page 18: Introduction to Apex - Meetupfiles.meetup.com/16764362/Applikasjonsutvikling i ekspressfart.pdf · What is Apex? A framework for quickly building data-centric web apps on top of the

Charts

Page 19: Introduction to Apex - Meetupfiles.meetup.com/16764362/Applikasjonsutvikling i ekspressfart.pdf · What is Apex? A framework for quickly building data-centric web apps on top of the
Page 20: Introduction to Apex - Meetupfiles.meetup.com/16764362/Applikasjonsutvikling i ekspressfart.pdf · What is Apex? A framework for quickly building data-centric web apps on top of the

Dynamic Actions

A.k.a. «declarative Javascript» But you can write your own JS if you really want!

Page 21: Introduction to Apex - Meetupfiles.meetup.com/16764362/Applikasjonsutvikling i ekspressfart.pdf · What is Apex? A framework for quickly building data-centric web apps on top of the

Dynamic Actions

Page 22: Introduction to Apex - Meetupfiles.meetup.com/16764362/Applikasjonsutvikling i ekspressfart.pdf · What is Apex? A framework for quickly building data-centric web apps on top of the

Responsive & Mobile

jQuery MobileUniversal Theme

Page 23: Introduction to Apex - Meetupfiles.meetup.com/16764362/Applikasjonsutvikling i ekspressfart.pdf · What is Apex? A framework for quickly building data-centric web apps on top of the

Plugins

http://www.apex-plugin.com

Page 24: Introduction to Apex - Meetupfiles.meetup.com/16764362/Applikasjonsutvikling i ekspressfart.pdf · What is Apex? A framework for quickly building data-centric web apps on top of the

Sample Applications

Page 25: Introduction to Apex - Meetupfiles.meetup.com/16764362/Applikasjonsutvikling i ekspressfart.pdf · What is Apex? A framework for quickly building data-centric web apps on top of the

- DEMO -

Page 26: Introduction to Apex - Meetupfiles.meetup.com/16764362/Applikasjonsutvikling i ekspressfart.pdf · What is Apex? A framework for quickly building data-centric web apps on top of the

Oracle Apex ArchitectureWeb Listener forwards all requests to database. No business logic in middle tier.

• Simple architecture, easy to set up

• Pages dynamically rendered using database metadata

• No code generation or file based compilation

• Runs everywhere Oracle Database runs

– Windows, Linux, Unix

Page 27: Introduction to Apex - Meetupfiles.meetup.com/16764362/Applikasjonsutvikling i ekspressfart.pdf · What is Apex? A framework for quickly building data-centric web apps on top of the

Architecture

Standard config «Advanced» config

Page 28: Introduction to Apex - Meetupfiles.meetup.com/16764362/Applikasjonsutvikling i ekspressfart.pdf · What is Apex? A framework for quickly building data-centric web apps on top of the

References

Page 29: Introduction to Apex - Meetupfiles.meetup.com/16764362/Applikasjonsutvikling i ekspressfart.pdf · What is Apex? A framework for quickly building data-centric web apps on top of the
Page 30: Introduction to Apex - Meetupfiles.meetup.com/16764362/Applikasjonsutvikling i ekspressfart.pdf · What is Apex? A framework for quickly building data-centric web apps on top of the
Page 31: Introduction to Apex - Meetupfiles.meetup.com/16764362/Applikasjonsutvikling i ekspressfart.pdf · What is Apex? A framework for quickly building data-centric web apps on top of the
Page 32: Introduction to Apex - Meetupfiles.meetup.com/16764362/Applikasjonsutvikling i ekspressfart.pdf · What is Apex? A framework for quickly building data-centric web apps on top of the

“In 2013, CERN opened its

doors to the general public for

a full weekend. To control the

visits to the experiments, a

ticketing system was

developed in APEX.”

- Louis Rodriguez Fernandez,

Software Engineer, CERN

http://viewer.zmags.com/publication/cdb0833d

#/cdb0833d/61

Page 33: Introduction to Apex - Meetupfiles.meetup.com/16764362/Applikasjonsutvikling i ekspressfart.pdf · What is Apex? A framework for quickly building data-centric web apps on top of the

The Future of Apex

«Oracle Application Express is critically important to countless

Oracle customers and Oracle remains committed to the ongoing

development and support of Oracle Application Express.

Oracle Application Express is not only critical to the success

of our customers but also to Oracle itself.

New versions of Application Express will be released

approximately once a year.»

– Oracle Application Express Statement of Direction, March 2014

http://www.oracle.com/technetwork/developer-tools/apex/application-express/oracle-application-express-sod-1596338.pdf

Page 34: Introduction to Apex - Meetupfiles.meetup.com/16764362/Applikasjonsutvikling i ekspressfart.pdf · What is Apex? A framework for quickly building data-centric web apps on top of the

Getting started

apex.oracle.com

#orclapex

orana.info/category/apex