XFILES – The APEX 4 Version          XFILES          The APEX 4 Version          The truth is in there…          Roel Hart...
What about me?• Oracle since v5, Forms 2.3, Case*Designer etc• Presenter at UKOUG (4x), OOW (3x), Collab (1x),   ODTUG (2x...
What about me?• Oracle DBA since v6 (1993), XML-DB since (2003)• Presenter (among others): UKOUG, Oracle Open    World,MOW...
History
XFILES - XMLDB• XML-DB Demo Application    GUI based on AJAX / HTML    Current version XFILES version V• Mark Drake    Sen...
XFILES - APEX• APEX GUI• W/ help of Carl Backstrom    XFILES version IV• Oracle Open World 2008• Demonstrated Combined Pow...
XML-DB• Based on XML (&Related) Standards• XML Handling    Stores, Consumes, Generates, Validation• XDB Repository    HTTP...
Features Used• XDB Repository• Versioning, CheckIn/Out functionality    DBMS_XDB_VERSION• Resource (file, folder) manipula...
XDB Repository Resources• Access to XDB Repository  PATH_VIEW, RESOURCE_VIEW• XDB$Resource  XDBResource.xsd  XMLType Table...
Version Control                       Lock the      Make itCreate Resource                       Resource     Versioned   ...
Process Flow    # Create file / dbms_xdb.createResource1. dbms_xdb.lockResource2. dbms_xdb_version.makeVersioned3. dbms_xd...
Create Versioned ResourceOriginal source, with permission, by Mark D Drake, Senior Product Manager, Oracle USA
Create Versioned ResourceOriginal source, with permission, by Mark D Drake, Senior Product Manager, Oracle USA
Create Versioned ResourceOriginal source, with permission, by Mark D Drake, Senior Product Manager, Oracle USA
Create Versioned ResourceOriginal source, with permission, by Mark D Drake, Senior Product Manager, Oracle USA
Create Versioned ResourceOriginal source, with permission, by Mark D Drake, Senior Product Manager, Oracle USA
Create Versioned ResourceOriginal source, with permission, by Mark D Drake, Senior Product Manager, Oracle USA
Helper Function: getVersionHistoryOriginal source, with permission, by Mark D Drake, Senior Product Manager, Oracle USA
XMLTable StatementOriginal source, with permission, by Mark D Drake, Senior Product Manager, Oracle USA
XMLTable StatementOriginal source, with permission, by Mark D Drake, Senior Product Manager, Oracle USA
XMLTable StatementOriginal source, with permission, by Mark D Drake, Senior Product Manager, Oracle USA
XMLTable StatementOriginal source, with permission, by Mark D Drake, Senior Product Manager, Oracle USA
XMLTable StatementOriginal source, with permission, by Mark D Drake, Senior Product Manager, Oracle USA
Demo
Version Control•   APEX has no files – at least, not a lot•   APEXExport Utility•   Export from Builder•   Export from SQL...
Version Control • apex_util.export_application • apex_util.export_application_page • apex_util.export_application_componen...
Version Control •   Export functions of wwv_flow_gen_api2 •   Using wwv_flow_css_repository •   Using wwv_flow_html_reposi...
Demo
Buy   This   Book
Conclusions• APEX / XMLDB  Extreme Powerful Combination• Functionality  APEX  Powerful Database Driven Mature        Web D...
Questions
Thank you            34
Contribute !
ContactLogica | Meander 901 P.O. Box 7015 | 6801 HA Arnhem | The Netherlands | www.logica.comContact: Roel Hartman - Lead ...
XFILES, the APEX 4 version - The truth is in there
Upcoming SlideShare
Loading in...5
×

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

2,402

Published on

Showing the versioning capabilities of Oracle's XML-DB by creating a version control system for Application Express (APEX) - built in APEX itself!

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
2,402
On Slideshare
0
From Embeds
0
Number of Embeds
13
Actions
Shares
0
Downloads
27
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

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

  1. 1. XFILES – The APEX 4 Version XFILES The APEX 4 Version The truth is in there… Roel Hartman & Marco Gralike
  2. 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. 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
  4. 4. History
  5. 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. 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. 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. 8. Features Used• XDB Repository• Versioning, CheckIn/Out functionality DBMS_XDB_VERSION• Resource (file, folder) manipulation DBMS_XDB• Default XDB ACL Driven Security
  9. 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. 10. Version Control Lock the Make itCreate Resource Resource Versioned Update the Check it Out Check It In Resource UnLock the Resource
  11. 11. Process Flow # Create file / dbms_xdb.createResource1. dbms_xdb.lockResource2. dbms_xdb_version.makeVersioned3. dbms_xdb_version.checkOut # Update file content4. dbms_xdb_version.checkIn5. dbms_xdb.unlockResource # Done…
  12. 12. Create Versioned ResourceOriginal source, with permission, by Mark D Drake, Senior Product Manager, Oracle USA
  13. 13. Create Versioned ResourceOriginal source, with permission, by Mark D Drake, Senior Product Manager, Oracle USA
  14. 14. Create Versioned ResourceOriginal source, with permission, by Mark D Drake, Senior Product Manager, Oracle USA
  15. 15. Create Versioned ResourceOriginal source, with permission, by Mark D Drake, Senior Product Manager, Oracle USA
  16. 16. Create Versioned ResourceOriginal source, with permission, by Mark D Drake, Senior Product Manager, Oracle USA
  17. 17. Create Versioned ResourceOriginal source, with permission, by Mark D Drake, Senior Product Manager, Oracle USA
  18. 18. Helper Function: getVersionHistoryOriginal source, with permission, by Mark D Drake, Senior Product Manager, Oracle USA
  19. 19. XMLTable StatementOriginal source, with permission, by Mark D Drake, Senior Product Manager, Oracle USA
  20. 20. XMLTable StatementOriginal source, with permission, by Mark D Drake, Senior Product Manager, Oracle USA
  21. 21. XMLTable StatementOriginal source, with permission, by Mark D Drake, Senior Product Manager, Oracle USA
  22. 22. XMLTable StatementOriginal source, with permission, by Mark D Drake, Senior Product Manager, Oracle USA
  23. 23. XMLTable StatementOriginal source, with permission, by Mark D Drake, Senior Product Manager, Oracle USA
  24. 24. Demo
  25. 25. 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 !
  26. 26. Version Control • apex_util.export_application • apex_util.export_application_page • apex_util.export_application_componentIssues :• undocumented and unsupported• USER instead of CURRENT_USER (4.1?)• Developed for SQL Developer/Plus
  27. 27. 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 builderIssues :• Even more undocumented and unsupported
  28. 28. Demo
  29. 29. Buy This Book
  30. 30. 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
  31. 31. Questions
  32. 32. Thank you 34
  33. 33. Contribute !
  34. 34. ContactLogica | Meander 901 P.O. Box 7015 | 6801 HA Arnhem | The Netherlands | www.logica.comContact: Roel Hartman - Lead Technical Architect Oracle: +31 (0) 26 3765 000 M: +31 (0) 6 2954 3729 E: roel.hartman@logica.comAMIS Services BV | Edisonbaan 15 P.O. Box 24 | 3439 MN Nieuwegein | The Netherlands | www.amis.nlContact: Marco Gralike – Principal Database Consultant: +31 (0) 30 6016000 M: +31 (0) 6 29042385 E: marco.gralike@amis.nl
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×