Imagination To Realization Introduction to HTML DB (HOT) Presented by: Bih-Shya Gau SunGard Higher Education Monday, April 3, 2006 3:30 5:30 pm April 2-5 Orlando, Florida
Session Rules of Etiquette Please turn off your cell phone/pager If you must leave the session early, please do so as discreetly as possible Please avoid side conversation during the session Thank you for your cooperation! 2
Disclaimer Not an Oracle tool promotion Not a replacement for any SunGard Higher Education products 3
Introduction HTML DB architecture and functionality overview for technical audience with basic understanding of PL/SQL, web development and rational data base. Experiment with Application Builder by creating a simple Student Admission Query System 4
Agenda What is the Oracle HTML DB Application Builder Lab Advanced Features Best Practice Q & A 5
Imagination To Realization What is the Oracle HTML DB? April 2-5 Orlando, Florida
Overview Oracle Application Express Quick assembly of reporting and data entry applications Based on existing tables and views or data from spreadsheets No programming or scripting Instant deployment on the Web Source: Oracle Application Express overview presentation http://www.oracle.com/technology/products/database/application_express/ppt/apex_overview.ppt 7
Overview Use the full power of Oracle Database 10g PL/SQL Developers Non-professional developers Power users Source: Oracle Application Express overview presentation http://www.oracle.com/technology/products/database/application_express/ppt/apex_overview.ppt 8
Rapid Web Application Development with HTML DB Spreadsheets Desktop Databases Oracle Database & Oracle HTML DB File Servers Source: Mattamal, Raj. HTML DB 2.0 New Features presentation from OpenWorld SF 2005. Oracle. 2/7/2006 http://www.oracle.com/technology/ products/database/application_express/ppt/htmldb_2_0_new_features.ppt Any Modern Browser 9
HTML DB Architecture Browser Oracle HTTP Server Oracle Database HTML DB Application Metadata Source: Sergio Leunissen. Oracle HTML DB Developing Database-Centric Web Applications 10
HTML DB Engine Web Browser HTML Rendering Reporting Services Processing Validations Processor Template Services DML Services Email Notification Services DML Services Web Services Page Flow Processor HTML DB Engine Application Metadata Translation Services Conditions Processor Authorization Services Authentication Services Session State Management Oracle Database Logging Services Source: Sergio Leunissen. Oracle HTML DB Developing Database-Centric Web Applications
How it Works Shared Workgroup Database Service Centrally Deployed & Managed Accessed anywhere via a Browser Declarative development style Oracle Application Express Source: Oracle Application Express overview presentation http://www.oracle.com/technology/products/database/application_express/ppt/apex_overview.ppt 12
Logical Architecture Finance Applications Applications Schema A Human Resources Applications Applications Schema B Marketing Applications Applications Schema C Source: Oracle Application Express overview presentation http://www.oracle.com/technology/products/database/application_express/ppt/apex_overview.ppt 13
Functionality Overview Complete Environment Application Builder SQL Workshop Administration Source: Oracle Application Express overview presentation http://www.oracle.com/technology/products/database/application_express/ppt/apex_overview.ppt 14
Application Development Reports Data entry forms Charts Security Navigation Look and feel Source: Oracle Application Express overview presentation http://www.oracle.com/technology/products/database/application_express/ppt/apex_overview.ppt 15
Reports Pagination Column sorting Export to spreadsheet or XML Calendar and tree Template driven Drill down to other reports, charts, forms Source: Oracle Application Express overview presentation http://www.oracle.com/technology/products/database/application_express/ppt/apex_overview.ppt 16
Data entry forms Many built in widgets Pop up calendar List of values Validations Lost update detection Tabular forms Master detail forms Source: Oracle Application Express overview presentation http://www.oracle.com/technology/products/database/application_express/ppt/apex_overview.ppt 17
Charts Bar, Pie, Line, Dial SVG based Drill down Asynchronous refresh Source: Oracle Application Express overview presentation http://www.oracle.com/technology/products/database/application_express/ppt/apex_overview.ppt 18
Security Built in authentication modules LDAP Single Sign-On Centrally defined authorization rules Session state protection Integration with database security features FGAC Transparent Data Encryption Source: Oracle Application Express overview presentation http://www.oracle.com/technology/products/database/application_express/ppt/apex_overview.ppt 19
Navigation Tabs Lists Menus Breadcrumbs Source: Oracle Application Express overview presentation http://www.oracle.com/technology/products/database/application_express/ppt/apex_overview.ppt 20
Look and feel Template driven Consistent throughout application Customize with HTML and CSS Source: Oracle Application Express overview presentation http://www.oracle.com/technology/products/database/application_express/ppt/apex_overview.ppt 21
Imagination To Realization Application Builder April 2-5 Orlando, Florida
Application Builder Run Application runs the current application Share Components common elements that can display or be applied on any page within an application Attributes apply to an entire application Export/Import 23
Share Components Logic controls Security controls Globalization Navigation controls User interface elements File management 24
Attributes Standard Application Attributes Security Attributes Globalization Attributes 25
Export/Import Application Page Cascading Style Sheets Image Static Files Script Files Themes 26
Pages Page Rendering lists user interface controls and logic that is executed when the page is rendered Page Processing lists logic controls (such as computations and processes) that are evaluated and executed when the page is processed Shared Components lists common components that can display or be applied on every page within an application Attributes lists attributes that can only apply to current page 27
Pages Page 0 a special page where you can define elements that will appear on every page. 28
Session State Management Session logical construct that establishes persistence (or stateful behavior) across page views Session IDs unique identifier within Oracle HTML DB. The HTML DB engine uses this identifier (or session ID) to store and retrieve an application's working set of data (or session state) before and after each page view. 29
Session State Management Referencing Session State use bind variables within an application process or SQL query to reference session state of a specified item Setting Session State HTML DB engine automatically stores values typed into fields (items) in session state, when a page is submitted Clearing Session State Item Page Entire Application Current User Session 30
Binding Variables SQL :MY_ITEM PL/SQL V('MY_ITEM') PL/SQL NV('MY_NUMERIC_ITEM') Static text (exact) &MY_ITEM. 31
Substitution Strings Include a substitution string within a template using #ABC# syntax Reference page or application items using &ITEM. syntax Use built-in substitution strings to achieve a specific type of functionality 32
Build-in Substitution Strings APP_ID APP_IMAGES APP_PAGE_ID APP_SESSION APP_USER HOME_LINK IMAGE_PREFIX SQLERRM SYSDATE_YYYYMMDD 33
URL Syntax f?p=app:page:session:request:debug:clearcache: itemnames:itemvalues:printerfriendly Example f?p=600:1:&session::::item_1,item_2:1,2 34
Application Creation Methods From Scratch Using SQL Queries, Tables or Views Based on an Existing Model From spreadsheet 35
Imagination To Realization Lab April 2-5 Orlando, Florida
Business Scenario An admissions counselor wants to look at all the admissions applications that have outstanding requirements for the upcoming academic year. By creating an admissions query system.the admissions counselor can look at admissions applications within certain criteria such as major. 37
Data Source ODS 38
Imagination To Realization Advanced Features April 2-5 Orlando, Florida
Advanced Features Sending email Using collections Running background PL/SQL Implementing Web Service 40
HTMLDB APIs HTMLDB_UTIL HTMLDB_MAIL HTMLDB_ITEM HTMLDB_APPLICATION HTMLDB_CUSTOM_AUTH 41
Imagination To Realization Best Practice April 2-5 Orlando, Florida
Best Practice Development Deployment User interface consistency and usability Security Performance 43
Imagination To Realization References April 2-5 Orlando, Florida
References Oracle Application Express Home http://www.oracle.com/technology/products/databas e/application_express/index.html Oracle Application Express Studio Oracle Application Express Forum Request a free workspace 45
Other Sessions of Interest Tailor Your Own Web With HTML DB Monday, 11:30 AM 12:30 PM What s in ODS? Financial Aid Tuesday, 8:30 9:30 AM What s in ODS? Finance/AR Basics Tuesday, 1:30 2:30 PM What s in ODS? Student Tuesday, 3:00 4:00 PM What s in ODS? Advancement Wednesday, 12:00 1:00 PM What s in ODS? Human Resources Wednesday, 12:00 1:00 PM 46
Imagination To Realization Q & A April 2-5 Orlando, Florida
Thank You! Bih-Shya Gau Bih.Shya.Gau@sungardhe.com Please complete the on-line evaluation form Without limitation, SunGard, the SunGard logo, Banner, Campus Pipeline, Luminis, PowerCAMPUS, Matrix, and Plus are trademarks or registered trademarks of SunGard Data Systems Inc. or its subsidiaries in the U.S. and other countries. Third-party names and marks referenced herein are trademarks or registered trademarks of their respective owners. 2006 SunGard. All rights reserved. 48