SlideShare ist ein Scribd-Unternehmen logo
1 von 21
Sharing Objects and Code
http://ebiztechnics.blogspot.com
Objectives
• Describe the various methods for reusing objects and code
• Inherit properties from property classes
• Group related objects for reuse
• Reuse objects from an object library
• Reuse PL/SQL code
http://ebiztechnics.blogspot.com
Sharing & Reusing Code
• Increases productivity
• Decreases maintenance
• Increases modularity
• Maintains standards
http://ebiztechnics.blogspot.com
Property Classes
Canvas
properties
Window
properties
Item
properties
Alert
properties
LOV
properties
http://ebiztechnics.blogspot.com
Inherit Properties
• Set the Subclass Information property.
• Convert an inherited property to a variant property.
• Convert a variant property to an inherited property.
Inherited Property
Variant Property
http://ebiztechnics.blogspot.com
Object Group
• Is a logical container
• Enables you to:
– Group related objects
– Copy multiple objects in one operation
http://ebiztechnics.blogspot.com
Using Object Groups
• Blocks include:
– Items
– Item-level triggers
– Block-level triggers
– Relations
• Object groups cannot include other object groups
• Deleting:
– An object group does not affect the objects
– An object affects the object group
http://ebiztechnics.blogspot.com
Subclassing
Ability to
make exact
copy of object
Ability to add
to object
Ability
to alter
properties
A/C No:
Branch:
Balance:
A/C Type:
Open Date:
A/C No:
Branch:
Balance:
A/C No:
Branch:
Balance:
A/C No:
Branch:
Balance:
http://ebiztechnics.blogspot.com
Copying Objects
Ability to
make exact
copy of object
A/C No:
Branch:
Balance:
A/C No:
Branch:
Balance:
http://ebiztechnics.blogspot.com
Inheriting Changes
Ability to
Inherit changes
Ability to
Inherit changes
Ability to
Inherit changes
A/C No:
Branch:
Balance:
A/C Type:
Open Date:
A/C No:
Branch:
Balance:
A/C No:
Branch:
Balance:
A/C No:
Branch:
Balance:
Make changes
To Parent
http://ebiztechnics.blogspot.com
An Object Library
• Is a convenient container of objects for reuse
• Simplifies reuse in complex environments
• Supports corporate, project, and personal standards
• Simplifies the sharing of reusable components
• Appear in the Navigator if they are open
• Are used with a simple tabbed interface
• Are saved to .olb file or to database
http://ebiztechnics.blogspot.com
Advantages of Object Library
• Simplifies the sharing and reuse of objects
• Provides control and enforcement of standards
• Eliminates the need to maintain multiple referenced forms
http://ebiztechnics.blogspot.com
Smart Class
• Is an object in an object
library that is frequently
used as a class
• Can be applied easily and
rapidly to existing objects
• Can be defined in many
object libraries
You can have many
Smart Classes of a given object type.
Note: Green check indicates
smart class
http://ebiztechnics.blogspot.com
Working with Smart Classes
1. Select an object in the
Layout Editor or
Navigator.
2. Click Right Mouse Button,
From the pop-up menu,
select Smart Classes.
3. Select a class from the list.
http://ebiztechnics.blogspot.com
Reusing PL/SQL
• Triggers:
– Copy and paste text
– Copy and paste within a module
– Copy to or subclass from another module
– Move to an object library
• PL/SQL program units:
– Copy and paste text
– Copy and paste within a module
– Copy to or subclass in another module
– Create a library module
– Move to an object library
http://ebiztechnics.blogspot.com
PL/SQL Libraries
Procedures
Functions
Packages
PL/SQL
Library
.pll or
DatabaseForm Module
Menu Module
Report Module
Graphics Module
http://ebiztechnics.blogspot.com
Writing Code for Libraries
• A library is a separate module, holding procedures, functions, and
packages.
• Direct references to bind variables are not allowed.
• Use subprogram parameters for passing bind variables.
• Use functions, where appropriate,
to return values.
http://ebiztechnics.blogspot.com
Creating PL/SQL Library
http://ebiztechnics.blogspot.com
Attaching PL/SQL Library
http://ebiztechnics.blogspot.com
Calling Subprograms
procedure p1( );
...function...
pack1.p2 ( );
Attached Libraries
Database
P1
P2
Calls
http://ebiztechnics.blogspot.com
Summary
• Reasons to share objects and code:
– Increased productivity
– Increased modularity
– Decreased maintenance
– Maintaining standards
• Property Class
• Object Group
• Object Library
• PL/SQL Library
http://ebiztechnics.blogspot.com

Weitere ähnliche Inhalte

Was ist angesagt?

Oracle forms developer 10g vol1
Oracle forms developer 10g vol1Oracle forms developer 10g vol1
Oracle forms developer 10g vol1
abdull466
 
Oracle 10g Forms Lesson 7
Oracle 10g Forms Lesson  7Oracle 10g Forms Lesson  7
Oracle 10g Forms Lesson 7
KAMA3
 

Was ist angesagt? (20)

Oracle Forms: Master Detail form
Oracle Forms: Master Detail formOracle Forms: Master Detail form
Oracle Forms: Master Detail form
 
Oracle Forms: Non input Items
Oracle Forms:  Non input ItemsOracle Forms:  Non input Items
Oracle Forms: Non input Items
 
Oracle Forms: Record Groups
Oracle Forms: Record GroupsOracle Forms: Record Groups
Oracle Forms: Record Groups
 
Oracle Forms : Transnational Triggers
Oracle Forms : Transnational TriggersOracle Forms : Transnational Triggers
Oracle Forms : Transnational Triggers
 
Oracle Forms Creation
Oracle Forms CreationOracle Forms Creation
Oracle Forms Creation
 
Oracle forms developer 10g vol1
Oracle forms developer 10g vol1Oracle forms developer 10g vol1
Oracle forms developer 10g vol1
 
Oracle Forms Triggers
Oracle Forms TriggersOracle Forms Triggers
Oracle Forms Triggers
 
Oracle Forms-Canvas types
Oracle Forms-Canvas typesOracle Forms-Canvas types
Oracle Forms-Canvas types
 
Oracle Forms : Multiple Forms
Oracle Forms : Multiple FormsOracle Forms : Multiple Forms
Oracle Forms : Multiple Forms
 
Oracle Forms: Menu
Oracle Forms: MenuOracle Forms: Menu
Oracle Forms: Menu
 
Oracle Apps - Forms
Oracle Apps - FormsOracle Apps - Forms
Oracle Apps - Forms
 
Oracle Forms Tutorial (www.aboutoracleapps.com)
Oracle Forms Tutorial (www.aboutoracleapps.com)Oracle Forms Tutorial (www.aboutoracleapps.com)
Oracle Forms Tutorial (www.aboutoracleapps.com)
 
Oracle Forms: Data Blocks on Different Sources
Oracle Forms: Data Blocks on Different SourcesOracle Forms: Data Blocks on Different Sources
Oracle Forms: Data Blocks on Different Sources
 
Oracle Forms Introduction
Oracle Forms IntroductionOracle Forms Introduction
Oracle Forms Introduction
 
Oracle Forms Mouse triggers
Oracle Forms Mouse triggersOracle Forms Mouse triggers
Oracle Forms Mouse triggers
 
Forms 6i guide
Forms 6i guideForms 6i guide
Forms 6i guide
 
Oracle Forms- key triggers
Oracle Forms- key triggersOracle Forms- key triggers
Oracle Forms- key triggers
 
Oracle 10g Forms Lesson 7
Oracle 10g Forms Lesson  7Oracle 10g Forms Lesson  7
Oracle 10g Forms Lesson 7
 
Oracle Forms :Window and Canvases
Oracle Forms :Window and CanvasesOracle Forms :Window and Canvases
Oracle Forms :Window and Canvases
 
Oracle Forms : Timers
Oracle Forms : TimersOracle Forms : Timers
Oracle Forms : Timers
 

Ähnlich wie Oracle Forms : Reusable Components

Oracle forms les23
Oracle forms  les23Oracle forms  les23
Oracle forms les23
Abed Othman
 
Design patterns
Design patternsDesign patterns
Design patterns
Alok Guha
 
Cs 1023 lec 8 design pattern (week 2)
Cs 1023 lec 8 design pattern (week 2)Cs 1023 lec 8 design pattern (week 2)
Cs 1023 lec 8 design pattern (week 2)
stanbridge
 

Ähnlich wie Oracle Forms : Reusable Components (20)

Oracle forms les23
Oracle forms  les23Oracle forms  les23
Oracle forms les23
 
Les23
Les23Les23
Les23
 
AngularJS
AngularJSAngularJS
AngularJS
 
Modul-Entwicklung für Magento, OXID eShop und Shopware (2013)
Modul-Entwicklung für Magento, OXID eShop und Shopware (2013)Modul-Entwicklung für Magento, OXID eShop und Shopware (2013)
Modul-Entwicklung für Magento, OXID eShop und Shopware (2013)
 
Design patterns
Design patternsDesign patterns
Design patterns
 
Developing Complex WordPress Sites without Fear of Failure (with MVC)
Developing Complex WordPress Sites without Fear of Failure (with MVC)Developing Complex WordPress Sites without Fear of Failure (with MVC)
Developing Complex WordPress Sites without Fear of Failure (with MVC)
 
Design patterns
Design patternsDesign patterns
Design patterns
 
Integrating the Solr search engine
Integrating the Solr search engineIntegrating the Solr search engine
Integrating the Solr search engine
 
SystemVerilog_Classes.pdf
SystemVerilog_Classes.pdfSystemVerilog_Classes.pdf
SystemVerilog_Classes.pdf
 
BackboneJS
BackboneJSBackboneJS
BackboneJS
 
Design Pattern
Design PatternDesign Pattern
Design Pattern
 
U2A2
U2A2U2A2
U2A2
 
dmBridge & dmMonocle
dmBridge & dmMonocledmBridge & dmMonocle
dmBridge & dmMonocle
 
Creational Design Patterns.pptx
Creational Design Patterns.pptxCreational Design Patterns.pptx
Creational Design Patterns.pptx
 
Metaprogramming ruby
Metaprogramming rubyMetaprogramming ruby
Metaprogramming ruby
 
Cs 1023 lec 8 design pattern (week 2)
Cs 1023 lec 8 design pattern (week 2)Cs 1023 lec 8 design pattern (week 2)
Cs 1023 lec 8 design pattern (week 2)
 
SE2016 - Java EE revisits design patterns 2016
SE2016 - Java EE revisits design patterns 2016SE2016 - Java EE revisits design patterns 2016
SE2016 - Java EE revisits design patterns 2016
 
UNIT IV DESIGN PATTERNS.pptx
UNIT IV DESIGN PATTERNS.pptxUNIT IV DESIGN PATTERNS.pptx
UNIT IV DESIGN PATTERNS.pptx
 
Introducing object oriented programming (oop)
Introducing object oriented programming (oop)Introducing object oriented programming (oop)
Introducing object oriented programming (oop)
 
Passport to DITA Implementation CIDM April 2017
Passport to DITA Implementation CIDM April 2017Passport to DITA Implementation CIDM April 2017
Passport to DITA Implementation CIDM April 2017
 

Mehr von Sekhar Byna (7)

Oracle Applications R12 architecture
Oracle Applications R12 architectureOracle Applications R12 architecture
Oracle Applications R12 architecture
 
oracle APPS: Weekly Update
oracle APPS: Weekly Updateoracle APPS: Weekly Update
oracle APPS: Weekly Update
 
Oracle APPS :Receivables Auto Invoice
Oracle APPS :Receivables Auto InvoiceOracle APPS :Receivables Auto Invoice
Oracle APPS :Receivables Auto Invoice
 
Oracle apps online training
Oracle apps online trainingOracle apps online training
Oracle apps online training
 
Oracle Forms: Oracle Server features
Oracle Forms: Oracle Server featuresOracle Forms: Oracle Server features
Oracle Forms: Oracle Server features
 
Oracle Forms :Object Features In forms
Oracle Forms :Object Features In formsOracle Forms :Object Features In forms
Oracle Forms :Object Features In forms
 
Oracle Forms Creation part 3
Oracle Forms Creation part 3Oracle Forms Creation part 3
Oracle Forms Creation part 3
 

Kürzlich hochgeladen

Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
chiefasafspells
 
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
masabamasaba
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
masabamasaba
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
masabamasaba
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
masabamasaba
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 

Kürzlich hochgeladen (20)

tonesoftg
tonesoftgtonesoftg
tonesoftg
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 
Artyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxArtyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptx
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
 
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
 
%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 

Oracle Forms : Reusable Components

  • 1. Sharing Objects and Code http://ebiztechnics.blogspot.com
  • 2. Objectives • Describe the various methods for reusing objects and code • Inherit properties from property classes • Group related objects for reuse • Reuse objects from an object library • Reuse PL/SQL code http://ebiztechnics.blogspot.com
  • 3. Sharing & Reusing Code • Increases productivity • Decreases maintenance • Increases modularity • Maintains standards http://ebiztechnics.blogspot.com
  • 5. Inherit Properties • Set the Subclass Information property. • Convert an inherited property to a variant property. • Convert a variant property to an inherited property. Inherited Property Variant Property http://ebiztechnics.blogspot.com
  • 6. Object Group • Is a logical container • Enables you to: – Group related objects – Copy multiple objects in one operation http://ebiztechnics.blogspot.com
  • 7. Using Object Groups • Blocks include: – Items – Item-level triggers – Block-level triggers – Relations • Object groups cannot include other object groups • Deleting: – An object group does not affect the objects – An object affects the object group http://ebiztechnics.blogspot.com
  • 8. Subclassing Ability to make exact copy of object Ability to add to object Ability to alter properties A/C No: Branch: Balance: A/C Type: Open Date: A/C No: Branch: Balance: A/C No: Branch: Balance: A/C No: Branch: Balance: http://ebiztechnics.blogspot.com
  • 9. Copying Objects Ability to make exact copy of object A/C No: Branch: Balance: A/C No: Branch: Balance: http://ebiztechnics.blogspot.com
  • 10. Inheriting Changes Ability to Inherit changes Ability to Inherit changes Ability to Inherit changes A/C No: Branch: Balance: A/C Type: Open Date: A/C No: Branch: Balance: A/C No: Branch: Balance: A/C No: Branch: Balance: Make changes To Parent http://ebiztechnics.blogspot.com
  • 11. An Object Library • Is a convenient container of objects for reuse • Simplifies reuse in complex environments • Supports corporate, project, and personal standards • Simplifies the sharing of reusable components • Appear in the Navigator if they are open • Are used with a simple tabbed interface • Are saved to .olb file or to database http://ebiztechnics.blogspot.com
  • 12. Advantages of Object Library • Simplifies the sharing and reuse of objects • Provides control and enforcement of standards • Eliminates the need to maintain multiple referenced forms http://ebiztechnics.blogspot.com
  • 13. Smart Class • Is an object in an object library that is frequently used as a class • Can be applied easily and rapidly to existing objects • Can be defined in many object libraries You can have many Smart Classes of a given object type. Note: Green check indicates smart class http://ebiztechnics.blogspot.com
  • 14. Working with Smart Classes 1. Select an object in the Layout Editor or Navigator. 2. Click Right Mouse Button, From the pop-up menu, select Smart Classes. 3. Select a class from the list. http://ebiztechnics.blogspot.com
  • 15. Reusing PL/SQL • Triggers: – Copy and paste text – Copy and paste within a module – Copy to or subclass from another module – Move to an object library • PL/SQL program units: – Copy and paste text – Copy and paste within a module – Copy to or subclass in another module – Create a library module – Move to an object library http://ebiztechnics.blogspot.com
  • 16. PL/SQL Libraries Procedures Functions Packages PL/SQL Library .pll or DatabaseForm Module Menu Module Report Module Graphics Module http://ebiztechnics.blogspot.com
  • 17. Writing Code for Libraries • A library is a separate module, holding procedures, functions, and packages. • Direct references to bind variables are not allowed. • Use subprogram parameters for passing bind variables. • Use functions, where appropriate, to return values. http://ebiztechnics.blogspot.com
  • 20. Calling Subprograms procedure p1( ); ...function... pack1.p2 ( ); Attached Libraries Database P1 P2 Calls http://ebiztechnics.blogspot.com
  • 21. Summary • Reasons to share objects and code: – Increased productivity – Increased modularity – Decreased maintenance – Maintaining standards • Property Class • Object Group • Object Library • PL/SQL Library http://ebiztechnics.blogspot.com

Hinweis der Redaktion

  1. Note: The objects in the object group are not duplicates, but pointers to the source objects.
  2. Note: Form Builder opens all libraries that were open when you last closed Form Builder.