You are on page 1of 41

Zero to Sixty with

Oracle Application Express

Bradley D. Brown, brad@intelivideo.com


InteliVideo, CTO
Agenda

• Who am I?
• What we could, but aren’t going to talk about
• My assumptions and expectations
• What we’ll talk about today
• What we’ll do/develop today
• What you’re going to do tomorrow
Who am I?

• Bradley D. Brown • Today


http://bradleydbrown.blogspot.com • InteliVideo in April 2012
• Founder • Video Monetization Platform
• TUSC in 1988 • Built it to sell training online
• Sold to Rolta in 2008 • Focused on mid and long tail
and corporate deals
• IntelliReal in 2005
• Sold to Equifax in 2011
• ApEx provides a “quick turns”
approach to our offerings
• 10+ other companies, boards
• You’ll see this…send me an
• Professor – DU email and I’ll give you free
access to my ApEx class (in
• Author – 6 technical books exchange for feedback)
What we’re not going to talk about (too much)

• History of ApEx • Integration


• Product Positioning • Web Services (brief)
• Great/Bad for x, y, z • Advanced Topics
• Installation
• Configuration • The good news is I have Apex
presentations on all of these
• Architecture, Scale
topics and a whole lot more
• Go to www.tusc.com to
download
Assumptions and Expectations

• You know some SQL and • You understand that ApEx is


PL/SQL, but you'll be OK if you a rapid development tool
don't (for now)
• Developing app
• You came here because you • Designing databases
think ApEx might be good for
your company (or startup) • You also get that ApEx can
be used for large scale
• Why are you here? production applications
• Hoping today will get you • Let’s check out:
excited about what you can do
with ApEx • http://Intelivideo.com
Oracle Application Express
for ClearSale
Find Feature
iMVI for Property
Recent Sales
Custom Report
APR / IPR
Heat Maps
• A look at different neighborhood trends in home values
GeoSearch
• Grouping of properties
• Colorized and customizable
Highlight and Visual Search
• Highlight it
• Build your search, see it
Test Scores within a radius
• Visual results
Political contributors in NJ
• Contributors by party contributed to…

16
What We Are Going to Talk About Today

• Major Components • Components


• SQL Workshop • Shared
• Utilities • Items
• Application Builder • Processes
• Workspaces • Buttons
• Applications • Branches
• Regions • ….
Wanna Do This Yourself?

• http://apex.oracle.com
• Sign Up
• First and Last Name, Email
• Workspace
• Schema and Space Allocation
• Short Survey
• Explain why – Because Brad suggested it… 
• Accept the Terms
Major Components
Application
Builder

SQL Workshop

Teamwork

Administration
SQL Workshop

• Object Browser • SQL Commands


• Look at emp table and all of • select * from emp where
the tabs deptno = :deptno
• Create lookup • Show explain plan, history and
saved SQL
• Select other object types –
views, … • SQL Scripts
• Other schemas • Utilities
• Create objects too • Query Builder
• Data Workshop
• Generate DDL
• …
Utilities

• Build a Query
• Let’s load a file
• Methods
• UI Defaults
• Comparisons
Application Builder

• Types of Apps
• Database
• Websheet
• Apps have pages
• Pages have regions
• Regions are
• HTML, Reports, Forms, Charts,
Maps, Trees, Calendars, Lists
and more
ApEx Environment contains Workspaces

ApEx Environment

HR Actg Purch

IT Maint Trans
Workspaces contain Applications

HR Workspace

App 1 App 2 App 3

App 4 App 5 App 6


Applications contain Pages

Application 1

Page 1 Page 2 Page 3

Page 4 Page 5 Page 6


Pages have Regions & Shared
Components
Pages have Regions & Shared
Components
Application Builder Terminology

Navigation Bar

Tabs

Breadcrumbs

Item

Region

Button
What We’re Going to Develop
(and Do) Today

• An Application from a Comma • Advanced topics


Delimited File
• Conditional display
• An Application from Scratch • Items
• Interactive report • Session state
• Graph • Templates
• Form with a Report • Processes
• Security
• Monitoring activity
My Sample App

• Let’s try out the application


• Interactive reporting
• Filters
• Sorting
• Download data
• Paging

• Reports, Graphs (Analyze)


Create an Application from a CSV File

• Use a CSV file • Create from Spreadsheet


• Home / App Builder • Builds an App

• Create • Create Application


• From Spreadsheet • Build from Scratch
• Right side of page • Sample Application
• Import, Tasks, Recent,
Migrations
• View Icons, Report, Details
From Scratch

• Design up front • Start adding pages


• Data already exists or was • Blank
loaded in table • Report
• Name it • Table / Query

• From Scratch • Interactive / Classic

• Pick “base” schema • Form / Tabular


• Table

• Master Detail
• Report and Form
Adding Functionality

• Wizard or Scratch • Regions


• Click “Create” • HTML

• Page • Report

• Region • Form

• Control • Chart

• Shared Component • Breadcrumb

• Conditional Logic • PL/SQL


• Tree
• URL
Shared Components

• App Definition / Comments • Navigation


• Logic – Web Services • Tabs, Lists, etc,

• Security • User Interface


• Authentication • Themes, LOVs

• Authorization • Files
• CSS
• Images
Miscellaneous Functionality

• Export / Import • Monitor Activity


• Flashback (as of) • Dashboards
• Team Development • Utilization Report
• Manage Service
• Manage Users/Groups
Referencing Items
• Substitution String • Items can be used to:
• #variableName# • Include a substitution string
• Short Substitution String within a template

• &variableName • Create an item at the


application or page level
• PL/SQL
• Use built-in substitution
• v(‘variableName’) strings to achieve a specific
• nv(‘numericValue’) type of functionality

• Bind Variable
• :variableName

36
Implicit Variables
• APP_SESSION • APP_ID
• APP_USER • APP_PAGE_ID
• IMAGE_PREFIX • APP SCHEMA OWNER
• WORKSPACE_IMAGES • SQLERRM
• APP_IMAGES • AUTHENTICATED_URL_PREFIX
• BROWSER_LANGUAGE • LOGOUT_URL
• PRINTER_FRIENDLY • PUBLIC_URL_PREFIX
• HOME_LINK • CURRENT_PARENT_TAB_TEXT
• PROXY SERVER • APP_ALIAS
• REQUEST • APP_UNIQUE_PAGE_ID
• SYSDATE_YYYYMMDD
• DEBUG
37
Built-in Monitoring
• Chart activity by application • Page Views by Hour
• Chart non internal user views • Page views report aggregated by
workspace
• Chart of developer activity
• Recent page views (with optional
• Chart page views by day workspace filter)
• Chart page views by non internal users • Top Browsers
(with time filter)
• Top External Sites
• Monthly calendar report
• Top Users
• Top Workspaces

38
What You’re Going to Do Tomorrow

• Sign up on apex.oracle.com and • Read, learn, study, play with


build your first application ApEx
• Work on your laptop • Write a class and publish it
on InteliVideo.com!!!!
• Attend advanced topics /
presentations • Have fun!!!!
• Watch my class on InteliVideo
• MaxApex also sells a production
environment for as low as
$10/mo
Questions?
Copyright Information

• Neither InteliVideo, Rolta nor the author guarantee this


document to be error-free. Please provide comments/questions
to brad@intelivideo.com.
• InteliVideo and Rolta © 2012. This document cannot be
reproduced without expressed written consent from an officer of
InteliVideo or Rolta.

You might also like