610 likes | 798 Views
QR Code Plug-in a Story of an APEX Plug-in Lifecycle. Zoran Tica. QR Code Plug-in - a Story of an APEX Plug-in Lifecycle. Agenda. Zoran Tica. Slovenia Independent consultant and contractor www.zt-tech.eu Mid 80-ties - started with programming in
E N D
QR Code Plug-ina Story of an APEX Plug-in Lifecycle Zoran Tica
Zoran Tica Slovenia Independent consultant and contractor www.zt-tech.eu Mid 80-ties - started with programming in Mid 90-ties - Business Analysis, Database and IS Design, Software Development from From 2000+ Oracle Technologies OCP Advanced PL/SQL, Forms and Java SE developer https://www.linkedin.com/in/zoran-tica/
A little bit of History... • Oracle APEX Plug-ins introduced in version 4.0 (June 2010) ?????????????????????????????????????? Synonyms add-in, add-on Wikipedia: “A software component that adds a specific feature to an existing computer program” mid 1970-ties (EDT text editor)
Prelude to QR Code Plug-in APEX Demo app for QR code package usage https://apex.oracle.com/pls/apex/f?p=zttechdemo Database package for QR code calculations
From Developer Perspective Image item based on BLOB column Problems: • developer needs to call functions and procedures directly • change in proc/func parameters reflect through all pages and application(s) PL/SQL dynamic region which calls database procedure
Why to make a Plug-in? to provide developers an easy way of new functionality implementation to enable re-usability through pages and applications to add new functionality to APEX applications
How to use plug-ins in APEX? 1. Import or create plugin
How to use plug-ins in APEX? 2. Use plug-in on pages
Name and Type • Name is shown in application • Item type and internal name can not be changed later • Internal name should be world-wide unique
Procedure Parameters Structure Render and Validate Item Procedure Parameters: p_item IN apex_plugin.t_item, p_plugin IN apex_plugin.t_plugin, p_param IN apex_plugin.t_item_render_param, p_result OUT apex_plugin.t_item_render_result
Plug-in Files and Events References as #PLUGIN_FILES#main.js
Export Plug-in item_type_plugin_eu_zttech_qrcode.sql
Intermezzo ? ? ? ? ? ? ?
What to do... Publish to web page Publish to GitHub Publish to apex.world Publish to apex-plugin.com
Publish to web page INTERNET www.zt-tech.eu developer in search of a plug-in
Publish to GitHub https://github.com/
GitHub – New Repository https://github.com/
GitHub – QR Code Repository https://github.com/
GitHub – Markdown Readme https://github.com/ https://help.github.com/en/articles/basic-writing-and-formatting-syntax https://www.makeareadme.com/
GitHub – Markdown Readme https://github.com/
GitHub – Releases https://github.com/
Oracle suggests... https://www.oracle.com/tools/technologies/apex-plug-ins.html
Publish to apex.world Nice help: https://apex.world/ords/f?p=100:750:::NO:::
Publish to apex.world Nice help: https://apex.world/ords/f?p=100:750:::NO::: * The author need to make a release in repository – without it a plug-in can not be added
Publish to apex.world apexplugin.json
Publish to apex.world To edit plugin data: • alter JSON document on GitHub • refresh plugin data on apex.world manually or wait until tomorrow (automatic refresh)
Publish to apex-plugin.com http://www.apex-plugin.com/