SlideShare a Scribd company logo
XFILES – The APEX 4 Version




          XFILES
          The APEX 4 Version
          The truth is in there…


          Roel Hartman & Marco Gralike
What about me?

• Oracle since v5, Forms 2.3, Case*Designer etc
• Presenter at UKOUG (4x), OOW (3x), Collab (1x),
   ODTUG (2x), OBUG, OGH, etc..
• Oracle ACE Director [DB Dev]
• Co-author of Expert Oracle Application Express
What about me?

• Oracle DBA since v6 (1993), XML-DB since (2003)
• Presenter (among others): UKOUG, Oracle Open
    World,MOW, Hotsos, OGH, OPP, ODTUG, UKOUG
•   Oracle 11gRx database, XBRL Extension Beta trails
•   Oracle ACE Director [XML-DB]
•   OakTable member
•   Customer Advisory Member Board XML-DB Oracle 12x
History
XFILES - XMLDB
• XML-DB Demo Application
    GUI based on AJAX / HTML
    Current version XFILES version V
• Mark Drake
    Senior Product Manager
    Oracle XML-DB
• Demonstrates (among others)
    Native Database WebServices (NDWS) / SOA
    Geo Information based XML handling
XFILES - APEX
• APEX GUI
• W/ help of Carl Backstrom
    XFILES version IV
• Oracle Open World 2008
• Demonstrated Combined Power
    APEX          (V 3)
    XML-DB        (V 11.1)
  Versioning & Lightweight Application Security
XML-DB
• Based on XML (&Related) Standards
• XML Handling
    Stores, Consumes, Generates, Validation
• XDB Repository
    HTTP(s), FTP & WebDAV
    Repository Events
• Supports Security (ACL’s) & Versioning
• XPath V2, XSLT V1, XQuery V1, XBRL
Features Used
• XDB Repository
• Versioning, CheckIn/Out functionality
    DBMS_XDB_VERSION
• Resource (file, folder) manipulation
    DBMS_XDB
• Default XDB ACL Driven Security
XDB Repository Resources
• Access to XDB Repository
  PATH_VIEW, RESOURCE_VIEW
• XDB$Resource
  XDBResource.xsd
  XMLType Table (Schema based XML Table)
• Select, Update, Delete
  UNDER_PATH, EQUALS_PATH
Version Control

                       Lock the      Make it
Create Resource
                       Resource     Versioned




                      Update the
 Check it Out                       Check It In
                       Resource




                      UnLock the
                       Resource
Process Flow
    # Create file / dbms_xdb.createResource
1. dbms_xdb.lockResource
2. dbms_xdb_version.makeVersioned
3. dbms_xdb_version.checkOut
     # Update file content
4. dbms_xdb_version.checkIn
5. dbms_xdb.unlockResource
     # Done…
Create Versioned Resource




Original source, with permission, by Mark D Drake, Senior Product Manager, Oracle USA
Create Versioned Resource




Original source, with permission, by Mark D Drake, Senior Product Manager, Oracle USA
Create Versioned Resource




Original source, with permission, by Mark D Drake, Senior Product Manager, Oracle USA
Create Versioned Resource




Original source, with permission, by Mark D Drake, Senior Product Manager, Oracle USA
Create Versioned Resource




Original source, with permission, by Mark D Drake, Senior Product Manager, Oracle USA
Create Versioned Resource




Original source, with permission, by Mark D Drake, Senior Product Manager, Oracle USA
Helper Function: getVersionHistory




Original source, with permission, by Mark D Drake, Senior Product Manager, Oracle USA
XMLTable Statement




Original source, with permission, by Mark D Drake, Senior Product Manager, Oracle USA
XMLTable Statement




Original source, with permission, by Mark D Drake, Senior Product Manager, Oracle USA
XMLTable Statement




Original source, with permission, by Mark D Drake, Senior Product Manager, Oracle USA
XMLTable Statement




Original source, with permission, by Mark D Drake, Senior Product Manager, Oracle USA
XMLTable Statement




Original source, with permission, by Mark D Drake, Senior Product Manager, Oracle USA
Demo
XFILES, the APEX 4 version - The truth is in there
Version Control
•   APEX has no files – at least, not a lot
•   APEXExport Utility
•   Export from Builder
•   Export from SQL Developer
              Version Control for APEX isn’t that
              different from PL/SQL !
Version Control
 • apex_util.export_application
 • apex_util.export_application_page
 • apex_util.export_application_component



Issues :
• undocumented and unsupported
• USER instead of CURRENT_USER (4.1?)
• Developed for SQL Developer/Plus
Version Control
 •   Export functions of wwv_flow_gen_api2
 •   Using wwv_flow_css_repository
 •   Using wwv_flow_html_repository
 •   Used in the Export utilities of the builder




Issues :
• Even more undocumented and unsupported
Demo
Buy   This   Book
Conclusions
• APEX / XMLDB
  Extreme Powerful Combination
• Functionality
  APEX  Powerful Database Driven Mature
        Web Development Environment
  XMLDB Versioning / Security Build-in

  Easy PL/SQL based Automation Possible
Questions
Thank you




            34
Contribute !
Contact




Logica | Meander 901 P.O. Box 7015 | 6801 HA Arnhem | The Netherlands | www.logica.com
Contact: Roel Hartman - Lead Technical Architect Oracle: +31 (0) 26 3765 000 M: +31 (0) 6 2954 3729 E: roel.hartman@logica.com

AMIS Services BV | Edisonbaan 15 P.O. Box 24 | 3439 MN Nieuwegein | The Netherlands | www.amis.nl
Contact: Marco Gralike – Principal Database Consultant: +31 (0) 30 6016000 M: +31 (0) 6 29042385 E: marco.gralike@amis.nl

More Related Content

PPTX
Silicon Valley JUG - How to generate customized java 8 code from your database
PPTX
Flyway: The agile database migration framework for Java
PDF
Database migrations with Flyway and Liquibase
PPTX
Oracle REST Data Services: POUG Edition
PDF
Meetup developing building and_deploying databases with SSDT
PDF
Hibernate ORM: Tips, Tricks, and Performance Techniques
PDF
Access Data from XPages with the Relational Controls
PPT
File System On Steroids
Silicon Valley JUG - How to generate customized java 8 code from your database
Flyway: The agile database migration framework for Java
Database migrations with Flyway and Liquibase
Oracle REST Data Services: POUG Edition
Meetup developing building and_deploying databases with SSDT
Hibernate ORM: Tips, Tricks, and Performance Techniques
Access Data from XPages with the Relational Controls
File System On Steroids

What's hot (20)

PPTX
Database Change Management as a Service
PPT
Java SE 7 New Features and Enhancements
PPTX
Flyway (33rd Degree)
ODP
ORM, JPA, & Hibernate Overview
ODP
Liquibase & Flyway @ Baltic DevOps
PPTX
Continuous DB Changes Delivery With Liquibase
PDF
Iasi code camp 12 october 2013 jax-rs-jee-ecosystem - catalin mihalache
PDF
Deep Dive: Alfresco Core Repository (... embedded in a micro-services style a...
 
PDF
Avik_RailsTutorial
PDF
Restful风格ž„web服务架构
PPT
RubyonRails
PPT
SE2016 - Java EE revisits design patterns 2016
PPTX
Hibernate in XPages
PDF
Leveraging Open Source for Database Development: Database Version Control wit...
PPT
mashraqi_farhan
PPT
Rajnish singh(presentation on oracle )
PPTX
Liquibase for java developers
PDF
Scala play-framework
PDF
Web Performance First Aid
KEY
Agile Database Development with Liquibase
Database Change Management as a Service
Java SE 7 New Features and Enhancements
Flyway (33rd Degree)
ORM, JPA, & Hibernate Overview
Liquibase & Flyway @ Baltic DevOps
Continuous DB Changes Delivery With Liquibase
Iasi code camp 12 october 2013 jax-rs-jee-ecosystem - catalin mihalache
Deep Dive: Alfresco Core Repository (... embedded in a micro-services style a...
 
Avik_RailsTutorial
Restful风格ž„web服务架构
RubyonRails
SE2016 - Java EE revisits design patterns 2016
Hibernate in XPages
Leveraging Open Source for Database Development: Database Version Control wit...
mashraqi_farhan
Rajnish singh(presentation on oracle )
Liquibase for java developers
Scala play-framework
Web Performance First Aid
Agile Database Development with Liquibase
Ad

Similar to XFILES, the APEX 4 version - The truth is in there (20)

PPTX
XFILES, The APEX 4 version - The truth is in there
PDF
UKLUG 2012 - XPages, Beyond the basics
PPTX
Expertezed 2012 Webcast - XML DB Use Cases
PPTX
[DanNotes] XPages - Beyound the Basics
PDF
Dockerizing Oracle Database
PPT
Apex ace update
KEY
All your data belong to us - The Active Objects Plugin
PPT
XPages -Beyond the Basics
PPTX
DevOps tools for winning agility
DOCX
Biswajit_Sarkar_Database_Administrator
PDF
APEX Application Lifecycle and Deployment 20220714.pdf
PDF
[db tech showcase Tokyo 2018] #dbts2018 #B31 『1,2,3 and Done! 3 easy ways to ...
PPTX
Presentation
PPTX
Oracle Database on Docker - Best Practices
PDF
Developing Kafka Streams Applications with Upgradability in Mind with Neil Bu...
PPTX
44CON 2014 - Pentesting NoSQL DB's Using NoSQL Exploitation Framework, Franci...
PPT
Evolutionary Database Design
PDF
Unlocking the power of the APEX Plugin Architecture
PDF
Clone Oracle Databases In Minutes Without Risk Using Enterprise Manager 13c
PPT
Extension Library - Viagra for XPages
XFILES, The APEX 4 version - The truth is in there
UKLUG 2012 - XPages, Beyond the basics
Expertezed 2012 Webcast - XML DB Use Cases
[DanNotes] XPages - Beyound the Basics
Dockerizing Oracle Database
Apex ace update
All your data belong to us - The Active Objects Plugin
XPages -Beyond the Basics
DevOps tools for winning agility
Biswajit_Sarkar_Database_Administrator
APEX Application Lifecycle and Deployment 20220714.pdf
[db tech showcase Tokyo 2018] #dbts2018 #B31 『1,2,3 and Done! 3 easy ways to ...
Presentation
Oracle Database on Docker - Best Practices
Developing Kafka Streams Applications with Upgradability in Mind with Neil Bu...
44CON 2014 - Pentesting NoSQL DB's Using NoSQL Exploitation Framework, Franci...
Evolutionary Database Design
Unlocking the power of the APEX Plugin Architecture
Clone Oracle Databases In Minutes Without Risk Using Enterprise Manager 13c
Extension Library - Viagra for XPages
Ad

More from Roel Hartman (20)

PDF
Wizard of ORDS
PDF
APEX Bad Practices
PDF
Tweaking the interactive grid
PDF
Docker for Dummies
PDF
A deep dive into APEX JET charts
PDF
My Top 5 APEX JavaScript API's
PDF
Mastering universal theme
PDF
APEX Developers : Do More With LESS !
PDF
Ten Tiny Things To Try Today - Hidden APEX5 Gems Revealed
PDF
Best of both worlds: Create hybrid mobile applications with Oracle Applicatio...
PDF
APEX printing with BI Publisher
PDF
Troubleshooting APEX Performance Issues
PDF
Automated testing APEX Applications
PDF
5 Cool Things you can do with HTML5 and APEX
PDF
Striving for Perfection: The Ultimate APEX Application Architecture
PDF
Done in 60 seconds - Creating Web 2.0 applications made easy
PPTX
Tales from a Parallel Universe: Using Oracle 11gR2's Edition Based Redefiniti...
PPTX
Creating sub zero dashboard plugin for apex with google
PPTX
Integration of APEX and Oracle Forms
PPT
Developing A Real World Logistic Application With Oracle Application - UKOUG ...
Wizard of ORDS
APEX Bad Practices
Tweaking the interactive grid
Docker for Dummies
A deep dive into APEX JET charts
My Top 5 APEX JavaScript API's
Mastering universal theme
APEX Developers : Do More With LESS !
Ten Tiny Things To Try Today - Hidden APEX5 Gems Revealed
Best of both worlds: Create hybrid mobile applications with Oracle Applicatio...
APEX printing with BI Publisher
Troubleshooting APEX Performance Issues
Automated testing APEX Applications
5 Cool Things you can do with HTML5 and APEX
Striving for Perfection: The Ultimate APEX Application Architecture
Done in 60 seconds - Creating Web 2.0 applications made easy
Tales from a Parallel Universe: Using Oracle 11gR2's Edition Based Redefiniti...
Creating sub zero dashboard plugin for apex with google
Integration of APEX and Oracle Forms
Developing A Real World Logistic Application With Oracle Application - UKOUG ...

Recently uploaded (20)

PPTX
Spectroscopy.pptx food analysis technology
PPTX
sap open course for s4hana steps from ECC to s4
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Machine learning based COVID-19 study performance prediction
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
cuic standard and advanced reporting.pdf
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
Cloud computing and distributed systems.
PPTX
Big Data Technologies - Introduction.pptx
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Electronic commerce courselecture one. Pdf
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Spectroscopy.pptx food analysis technology
sap open course for s4hana steps from ECC to s4
MYSQL Presentation for SQL database connectivity
Per capita expenditure prediction using model stacking based on satellite ima...
Machine learning based COVID-19 study performance prediction
Diabetes mellitus diagnosis method based random forest with bat algorithm
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Reach Out and Touch Someone: Haptics and Empathic Computing
cuic standard and advanced reporting.pdf
Digital-Transformation-Roadmap-for-Companies.pptx
Cloud computing and distributed systems.
Big Data Technologies - Introduction.pptx
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Understanding_Digital_Forensics_Presentation.pptx
Electronic commerce courselecture one. Pdf
Review of recent advances in non-invasive hemoglobin estimation
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Advanced methodologies resolving dimensionality complications for autism neur...
20250228 LYD VKU AI Blended-Learning.pptx
Agricultural_Statistics_at_a_Glance_2022_0.pdf

XFILES, the APEX 4 version - The truth is in there

  • 1. XFILES – The APEX 4 Version XFILES The APEX 4 Version The truth is in there… Roel Hartman & Marco Gralike
  • 2. What about me? • Oracle since v5, Forms 2.3, Case*Designer etc • Presenter at UKOUG (4x), OOW (3x), Collab (1x), ODTUG (2x), OBUG, OGH, etc.. • Oracle ACE Director [DB Dev] • Co-author of Expert Oracle Application Express
  • 3. What about me? • Oracle DBA since v6 (1993), XML-DB since (2003) • Presenter (among others): UKOUG, Oracle Open World,MOW, Hotsos, OGH, OPP, ODTUG, UKOUG • Oracle 11gRx database, XBRL Extension Beta trails • Oracle ACE Director [XML-DB] • OakTable member • Customer Advisory Member Board XML-DB Oracle 12x
  • 5. XFILES - XMLDB • XML-DB Demo Application GUI based on AJAX / HTML Current version XFILES version V • Mark Drake Senior Product Manager Oracle XML-DB • Demonstrates (among others) Native Database WebServices (NDWS) / SOA Geo Information based XML handling
  • 6. XFILES - APEX • APEX GUI • W/ help of Carl Backstrom XFILES version IV • Oracle Open World 2008 • Demonstrated Combined Power APEX (V 3) XML-DB (V 11.1) Versioning & Lightweight Application Security
  • 7. XML-DB • Based on XML (&Related) Standards • XML Handling Stores, Consumes, Generates, Validation • XDB Repository HTTP(s), FTP & WebDAV Repository Events • Supports Security (ACL’s) & Versioning • XPath V2, XSLT V1, XQuery V1, XBRL
  • 8. Features Used • XDB Repository • Versioning, CheckIn/Out functionality DBMS_XDB_VERSION • Resource (file, folder) manipulation DBMS_XDB • Default XDB ACL Driven Security
  • 9. XDB Repository Resources • Access to XDB Repository PATH_VIEW, RESOURCE_VIEW • XDB$Resource XDBResource.xsd XMLType Table (Schema based XML Table) • Select, Update, Delete UNDER_PATH, EQUALS_PATH
  • 10. Version Control Lock the Make it Create Resource Resource Versioned Update the Check it Out Check It In Resource UnLock the Resource
  • 11. Process Flow # Create file / dbms_xdb.createResource 1. dbms_xdb.lockResource 2. dbms_xdb_version.makeVersioned 3. dbms_xdb_version.checkOut # Update file content 4. dbms_xdb_version.checkIn 5. dbms_xdb.unlockResource # Done…
  • 12. Create Versioned Resource Original source, with permission, by Mark D Drake, Senior Product Manager, Oracle USA
  • 13. Create Versioned Resource Original source, with permission, by Mark D Drake, Senior Product Manager, Oracle USA
  • 14. Create Versioned Resource Original source, with permission, by Mark D Drake, Senior Product Manager, Oracle USA
  • 15. Create Versioned Resource Original source, with permission, by Mark D Drake, Senior Product Manager, Oracle USA
  • 16. Create Versioned Resource Original source, with permission, by Mark D Drake, Senior Product Manager, Oracle USA
  • 17. Create Versioned Resource Original source, with permission, by Mark D Drake, Senior Product Manager, Oracle USA
  • 18. Helper Function: getVersionHistory Original source, with permission, by Mark D Drake, Senior Product Manager, Oracle USA
  • 19. XMLTable Statement Original source, with permission, by Mark D Drake, Senior Product Manager, Oracle USA
  • 20. XMLTable Statement Original source, with permission, by Mark D Drake, Senior Product Manager, Oracle USA
  • 21. XMLTable Statement Original source, with permission, by Mark D Drake, Senior Product Manager, Oracle USA
  • 22. XMLTable Statement Original source, with permission, by Mark D Drake, Senior Product Manager, Oracle USA
  • 23. XMLTable Statement Original source, with permission, by Mark D Drake, Senior Product Manager, Oracle USA
  • 24. Demo
  • 26. Version Control • APEX has no files – at least, not a lot • APEXExport Utility • Export from Builder • Export from SQL Developer Version Control for APEX isn’t that different from PL/SQL !
  • 27. Version Control • apex_util.export_application • apex_util.export_application_page • apex_util.export_application_component Issues : • undocumented and unsupported • USER instead of CURRENT_USER (4.1?) • Developed for SQL Developer/Plus
  • 28. Version Control • Export functions of wwv_flow_gen_api2 • Using wwv_flow_css_repository • Using wwv_flow_html_repository • Used in the Export utilities of the builder Issues : • Even more undocumented and unsupported
  • 29. Demo
  • 30. Buy This Book
  • 31. Conclusions • APEX / XMLDB Extreme Powerful Combination • Functionality APEX Powerful Database Driven Mature Web Development Environment XMLDB Versioning / Security Build-in Easy PL/SQL based Automation Possible
  • 33. Thank you 34
  • 35. Contact Logica | Meander 901 P.O. Box 7015 | 6801 HA Arnhem | The Netherlands | www.logica.com Contact: Roel Hartman - Lead Technical Architect Oracle: +31 (0) 26 3765 000 M: +31 (0) 6 2954 3729 E: roel.hartman@logica.com AMIS Services BV | Edisonbaan 15 P.O. Box 24 | 3439 MN Nieuwegein | The Netherlands | www.amis.nl Contact: Marco Gralike – Principal Database Consultant: +31 (0) 30 6016000 M: +31 (0) 6 29042385 E: marco.gralike@amis.nl