terramatch manager an oracle application express application for data management bryan teahan

46
Terramatch Manager An Oracle Application Express Application for Data Management Bryan Teahan

Upload: denis-copeland

Post on 19-Jan-2016

231 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Terramatch Manager An Oracle Application Express Application for Data Management Bryan Teahan

Terramatch Manager

An Oracle Application Express Application for Data Management

Bryan Teahan

Page 2: Terramatch Manager An Oracle Application Express Application for Data Management Bryan Teahan

What is APEX?

Rapid Web application development tool for the Oracle database

• Requires only a web browser, limited programming experience

• Fast and Secure

• Fully supported by Oracle

• Free

http://www.oracle.com/technetwork/developer-tools/apex/overview/index.html

Page 4: Terramatch Manager An Oracle Application Express Application for Data Management Bryan Teahan

APEX Release 4.1

• Goal to improve the development of database-centric Web 2.0 applications and reports

• Released August, 2011

• Available for download from Oracle Technology Network

• http://www.oracle.com/technetwork/developer-tools/apex/overview/index.html#new_in_41

Page 5: Terramatch Manager An Oracle Application Express Application for Data Management Bryan Teahan

New Features in Release 4.1

Error Handling Use of ROWID Data Upload

Calendar Websheets Tabular Forms

Plug-Ins Dynamic Actions Accessibility

Page 6: Terramatch Manager An Oracle Application Express Application for Data Management Bryan Teahan

Terramatch Manager

• Integrate, standardise and match data from different organisations

• Links addresses and parcels to valuation and title information

• Requirement for maintenance process for data matching

• Core System at Terralink

• Underpins all of Terralink’s products and services

• Critical to our business

Page 7: Terramatch Manager An Oracle Application Express Application for Data Management Bryan Teahan

Terramatch Manager

• Old system 10 years ago in Oracle Forms

• Migration 5 years ago to Shell-scripts using PL/SQL – not user friendly

• Requirement to move to GUI friendly system with minimal development and using existing code – APEX was the solution

Page 8: Terramatch Manager An Oracle Application Express Application for Data Management Bryan Teahan

Menu System

• Drop down or select options

Page 9: Terramatch Manager An Oracle Application Express Application for Data Management Bryan Teahan

Reports

Page 10: Terramatch Manager An Oracle Application Express Application for Data Management Bryan Teahan

Query Menu

Page 11: Terramatch Manager An Oracle Application Express Application for Data Management Bryan Teahan

Valuation Report

Page 12: Terramatch Manager An Oracle Application Express Application for Data Management Bryan Teahan

Title Report

Page 13: Terramatch Manager An Oracle Application Express Application for Data Management Bryan Teahan

Integration with Terraview

Page 14: Terramatch Manager An Oracle Application Express Application for Data Management Bryan Teahan

Terraview showing NZ

Page 15: Terramatch Manager An Oracle Application Express Application for Data Management Bryan Teahan

Terraview showing Wellington

Page 16: Terramatch Manager An Oracle Application Express Application for Data Management Bryan Teahan

Terraview showing Road Layer

Page 17: Terramatch Manager An Oracle Application Express Application for Data Management Bryan Teahan

Terraview showing Imagery

Page 18: Terramatch Manager An Oracle Application Express Application for Data Management Bryan Teahan

Terraview showing address and cadastral layer

Page 19: Terramatch Manager An Oracle Application Express Application for Data Management Bryan Teahan

Terraview showing Imagery and cadastral layer

Page 20: Terramatch Manager An Oracle Application Express Application for Data Management Bryan Teahan

Terraview showing street layer

Page 21: Terramatch Manager An Oracle Application Express Application for Data Management Bryan Teahan

Terraview at Parcel Level

Page 22: Terramatch Manager An Oracle Application Express Application for Data Management Bryan Teahan

Terraview Link to Apex Reports

Page 23: Terramatch Manager An Oracle Application Express Application for Data Management Bryan Teahan

High Resolution Imagery with links to APEX – aiding match

Page 24: Terramatch Manager An Oracle Application Express Application for Data Management Bryan Teahan

APEX report of all parcels in Terraview Screen

Page 25: Terramatch Manager An Oracle Application Express Application for Data Management Bryan Teahan

APEX report showing addresses on a parcel

Page 26: Terramatch Manager An Oracle Application Express Application for Data Management Bryan Teahan

Resolve form for matching – Link to Terraview

Page 27: Terramatch Manager An Oracle Application Express Application for Data Management Bryan Teahan

Resolve showing parcels matched to valuation

Page 28: Terramatch Manager An Oracle Application Express Application for Data Management Bryan Teahan

Resolve showing nearby matches

Page 29: Terramatch Manager An Oracle Application Express Application for Data Management Bryan Teahan

Terramatch Manager Development Environment

Page 30: Terramatch Manager An Oracle Application Express Application for Data Management Bryan Teahan

Lists

Page 31: Terramatch Manager An Oracle Application Express Application for Data Management Bryan Teahan

Breadcrumbs

Page 32: Terramatch Manager An Oracle Application Express Application for Data Management Bryan Teahan

Customised Buttons

Page 33: Terramatch Manager An Oracle Application Express Application for Data Management Bryan Teahan

Example of Report Code – PL/SQL block

Page 34: Terramatch Manager An Oracle Application Express Application for Data Management Bryan Teahan

Example PL/SQL code

Page 35: Terramatch Manager An Oracle Application Express Application for Data Management Bryan Teahan

Linking code between reports

Page 36: Terramatch Manager An Oracle Application Express Application for Data Management Bryan Teahan

Code to link to Terraview

Page 37: Terramatch Manager An Oracle Application Express Application for Data Management Bryan Teahan

Terraview Linking Function – ActiveXObject – Shell run

Page 38: Terramatch Manager An Oracle Application Express Application for Data Management Bryan Teahan

Terraview Delphi Code to link to APEX

• Uses the Windows ShellExecute API command to force the url to open in a browser. The URL is forced to open in IE as opposed to the system default browser, as IE seems to work better with APEX

if (TApex.GetInstance.UseIE) then

res := ShellExecute(0, 'open', 'iexplore', PChar(url), nil, SW_SHOWNORMAL)

else

res := ShellExecute(0, 'open', PChar(url), nil, nil, SW_SHOWNORMAL);

• The function will open a different APEX report depending on the menu button

if (Sender = ViewAPEXParcelExtent) then

page := TApex.GetInstance.page[20];

url := Format(apex, [Format(page, [XMin, YMin, XMax, YMax])]); OpenURL;

Page 39: Terramatch Manager An Oracle Application Express Application for Data Management Bryan Teahan

Terraview INI Code to link to APEX

• The URL hotlink that is created uses a .INI file setting or a hard-coded default URL location

[Apex]TVP.Path=\\Mistral\TERRAVIEW_HOME\Terraview.exe

URL=http://cyclone.local.terralink:7778/apex/f?p=111:%s

URL.Parcel=5:::NO:5:P5_PARCEL_ID:%d

URL.Title=17:::NO:17:P17_LAND_DISTRICT,P17_REFERENCE:%s,%s

URL.Valuation=16:::NO:16:P16_VALREF:%s

URL.Address=4:::NO:4:P4_PARCEL_ID:%d

MaxReports=10

Use.IE=1

Page 40: Terramatch Manager An Oracle Application Express Application for Data Management Bryan Teahan

Benefits

• Intuitive

• Easier to use

• Used existing code

• Quick development time

• Cost savings

• Corporate-wide deployment

• New releases simple, transparent to users

Page 41: Terramatch Manager An Oracle Application Express Application for Data Management Bryan Teahan

APEX.ORACLE.COM

Page 42: Terramatch Manager An Oracle Application Express Application for Data Management Bryan Teahan

APEX Plug-Ins

The framework can be extended

• Item Type

• Region Type

• Process Type

• Dynamic Action Type

• Community Plug-In Repositories (http://www.apex-plugin.com, http://skillbuilders.com/apexplugins )

http://www.oracle.com/technetwork/developer-tools/apex/application-express/apex-41-new-features-459652.html#plugins

Page 43: Terramatch Manager An Oracle Application Express Application for Data Management Bryan Teahan

APEX Documentation and Tutorials

Extensive documentation and tutorials

• Full library

• Release notes

• Installation guide

• Developer’s guide

• Application builder user’s guide

• Migration guide

• SQL workshop guide

• API Reference

• Advanced Tutorials guide

http://www.oracle.com/technetwork/developer-tools/apex/documentation/index.html

Page 44: Terramatch Manager An Oracle Application Express Application for Data Management Bryan Teahan

APEX Packaged Applications

• Packaged applications and sample code have been removed because they no longer follow recommended coding practices and security.

• A select number of these applications are being revised and will include:

New Features

Timesheets

Asset Manager

Task Manager

Events

Employee Directory lookup

• Sample Objects from 2 day guide is included

http://www.oracle.com/technetwork/developer-tools/apex/application-express/packaged-apps-090453.html

Page 45: Terramatch Manager An Oracle Application Express Application for Data Management Bryan Teahan

APEX Forum

https://forums.oracle.com/forums/forum.jspa?forumID=137

Page 46: Terramatch Manager An Oracle Application Express Application for Data Management Bryan Teahan

Thank You

Questions?