Das APEX QS-Plugin

23
| Das APEX QS-Plugin Oliver Lemm Nürnberg, 20.11.2013

Transcript of Das APEX QS-Plugin

Page 1: Das APEX QS-Plugin

|

Das APEX QS-Plugin

Oliver Lemm

Nürnberg, 20.11.2013

Page 2: Das APEX QS-Plugin

|

MT AG

GESCHÄFTSFORM INHABERGEFÜHRTE AG

HAUPTSITZ RATINGEN

GRÜNDUNGSJAHR 1994

BESCHÄFTIGTE 180 FESTANGESTELLTE MITARBEITER

BETEILIGUNGEN MT-IFS GMBH (RATINGEN), MT-IFS SARL (LUXEMBURG)

business by integration

BUSINESSINTELLIGENCE SOLUTIONS

SOCIAL BUSINESS SOLUTIONS

MOBILESOLUTIONS

APPLICATION DEVELOPMENT

INTEGRATION SERVICES

IT SYSTEM SERVICES

Page 3: Das APEX QS-Plugin

| DOAG 20133 |

Agenda

1. Die Anforderungen2. Das Konzept3. Die Umsetzung4. Livedemo5. Region Plugin vs. Process Plugin6. Im Einsatz7. Ausblick8. Fazit

Page 4: Das APEX QS-Plugin

| DOAG 20134 |

Die Anforderungen

Page 5: Das APEX QS-Plugin

| DOAG 20135

Die AnforderungenWiederverwendbarkei

t

Flexibilität

Einfache VerwendungSchnell einsetzbar

Integriert

Page 6: Das APEX QS-Plugin

| DOAG 20136 |

Das Konzept

Page 7: Das APEX QS-Plugin

| DOAG 20137

Das Konzept

Prüfung als Regel

Kategorien

Objekttypen Meldung

Kommentar

Ausschluss

Aktiv / Inaktiv Ebene

Vorgänger

Page 8: Das APEX QS-Plugin

| DOAG 20138 |

Region Plugin vs. Process Plugin

Page 9: Das APEX QS-Plugin

| DOAG 20139

Region Plugin vs. Process Plugin

Region Plugin

Process Plugin

APEX QS-

Plugin

Page 10: Das APEX QS-Plugin

| DOAG 201310 |

Livedemo

Page 11: Das APEX QS-Plugin

| DOAG 201311 |

Die Umsetzung

Page 12: Das APEX QS-Plugin

| DOAG 201312

Die Umsetzung

Plugin

Konfiguration

Darstellung Filter

Package

Render Region

Execute Process Edit Link Run Rules

Type Tabelle

Regeln

Page 13: Das APEX QS-Plugin

| DOAG 201313

Die Umsetzung - Regeltabelle

piqa_id NUMBER not null,

piqa_name VARCHAR2(100) not null,

piqa_category VARCHAR2(10) not null,

piqa_object_types VARCHAR2(4000) not null,

piqa_error_message VARCHAR2(4000) not null,

piqa_comment VARCHAR2(4000),

piqa_exclude_objects VARCHAR2(4000),

piqa_error_level NUMBER not null,

piqa_is_active NUMBER default 1 not null,

piqa_sql CLOB not null,

piqa_predecessor_ids VARCHAR2(4000),

piqa_layer VARCHAR2(100) not null

Page 14: Das APEX QS-Plugin

| DOAG 201314

Die Umsetzung – Type create or replace type t_plugin_qa_rule force as object ( -- Information based on the rule

piqa_id number, -- id of the rule

piqa_category varchar2(10), -- category of this rule row, based on the query

piqa_error_level number, -- overwrite the error level based on the content of the object

piqa_object_type varchar2(30), -- objecttype, based on query

piqa_error_message varchar2(4000), -- overwrite the standard error_message for this rule

-- Information based on the query, related to the object which is checked

object_id number, -- object id if possible

object_name varchar2(100), -- name of the object

object_value varchar2(4000), -- value of the object itself

object_updated_user varchar2(50), -- last update user on object

object_updated_date date, -- last update date on object

-- apex specific parameters for buildung edit links

apex_app_id number, -- application where component is placed

apex_page_id number, -- page where component is placed

apex_region_id number -- region where component is placed

);

Page 15: Das APEX QS-Plugin

| DOAG 201315 |

Im Einsatz

Page 16: Das APEX QS-Plugin

| DOAG 201316

Im Einsatz – Beispielregelselect t_plugin_qa_rule( piqa_id => piqa.piqa_id ,piqa_category => piqa.piqa_category ,piqa_error_level => piqa.piqa_error_level ,piqa_object_type => piqa.piqa_object_types ,piqa_error_message => piqa.piqa_error_message ,object_id => pi.item_id ,object_name => pi.item_name ,object_value => pi.item_help_text ,object_updated_user => pi.last_updated_by ,object_updated_date => pi.last_updated_on ,apex_app_id => pi.application_id ,apex_page_id => pi.page_id ,apex_region_id => pi.region_id )from plugin_qa_rules piqa ,apex_application_page_items piwhere piqa_id = :1and pi.application_id = :2and pi.page_id = :3and pi.item_help_text is null

Page 17: Das APEX QS-Plugin

| DOAG 201317

Im Einsatz

• RegionGlobal Page

• APEX_Application.g_edit_cookie_session_id IS NOT NULLSichtbarkeit

• Mailing• DBMS_ScheduerJob

Page 18: Das APEX QS-Plugin

| DOAG 201318 |

Ausblick

Page 19: Das APEX QS-Plugin

| DOAG 201319

Der Ausblick

Features

Import

Export

Advisor

Aggregation

Grafiken

Logs

Page 20: Das APEX QS-Plugin

| DOAG 201320

Fazit

Hilfreich Flexibel

Erweiterbar

Sinnvoll

APEX QS Plugin

Page 21: Das APEX QS-Plugin

| DOAG 201321

Buchempfehlung

Page 22: Das APEX QS-Plugin

|

Vorträge auf der DOAG 2013

ADF Persistenz-Frameworks im Vergleich – JPA/EJB vs. ADF BC

Continuous Integration für Oracle DB und Apex Mein Backup – die richtige Strategie oder der totale Irrweg?

Das APEX QS-PluginForms goes APEX – wie man es richtig macht

USABLE_FILE_MB im Oracle ASM oder wenn der nutzbare Plattenplatz negativ wird Erstellen einer mobilen Applikation mit PhoneGap und ADF Mobile

Experten-Panel: APEX und DB-Programmierung

Java Unterstützung von Multithreading in den Versionen 1.0 bis 7

3 Wochenenden Strohwitwer

business by integration

Hendrik Gossens, Di, 11 Uhr

Peter Busch, Dominic Ketteltasche, Di, 12 UhrVolker Mach, Di 16 Uhr

Oliver Lemm, Mi, 12 UhrNiels de Bruijn, Sven-Olaf Kelbert, Mi 15 UhrErnst Leber, Mi, 16 Uhr

Wolfgang Nast, Do, 9 Uhr

Niels de Bruijn, Do, 11 UhrWolfgang Nast, Do, 12 Uhr

Christof Kaller, Do, 12 Uhr

Stand 328

Page 23: Das APEX QS-Plugin

|

Telefon:Telefax:

E-Mail:www.mt-ag.com

Vielen Dank…Competence Center Leiter APEX

+49 2102 30961-164+49 2102 30961-10

[email protected]

Oliver Lemm