Presentation is loading. Please wait.

Presentation is loading. Please wait.

Copyright  Oracle Corporation, 1999. All rights reserved. 6 CMIS 570 - Powell Oracle Designer: Prototype Application Generation CMIS 570 - Powell.

Similar presentations


Presentation on theme: "Copyright  Oracle Corporation, 1999. All rights reserved. 6 CMIS 570 - Powell Oracle Designer: Prototype Application Generation CMIS 570 - Powell."— Presentation transcript:

1 Copyright  Oracle Corporation, 1999. All rights reserved. 6 CMIS 570 - Powell Oracle Designer: Prototype Application Generation CMIS 570 - Powell

2 12-2 Copyright  Oracle Corporation, 1999. All rights reserved. Setting the Scene I’d like a checkbox to indicate if the order is paid in full. We have three different screens that show order information. And I want a Paid in Full checkbox on all three of them.

3 12-3 Copyright  Oracle Corporation, 1999. All rights reserved. Overview Preparing for application generation – Refining column display properties – Defining GUI display types Transforming the function model Accepting candidate modules Generating an Oracle Form module Preparing for application generation – Refining column display properties – Defining GUI display types Transforming the function model Accepting candidate modules Generating an Oracle Form module

4 12-4 Copyright  Oracle Corporation, 1999. All rights reserved. Which is More Efficient? What you want: How to achieve it: – – Define it once, then use it Paid in Full? Prompt Display Type – – Define it every time you use it Paid in Full?

5 12-5 Copyright  Oracle Corporation, 1999. All rights reserved. Two Types of Column Properties Display properties Definition properties Other Database Browser: http:// Hollywood X Action Edit Block Filed + Customers:

6 12-6 Copyright  Oracle Corporation, 1999. All rights reserved. Column Definition Properties ….. Definition Column Name Display Display Type Sequence Display Sequence Data Type Length Define how a column is implemented Other Database

7 12-7 Copyright  Oracle Corporation, 1999. All rights reserved. Display Properties at Work Speedy Pizza Customer Customers Last NamePhotographWork Telephone No Jones El Mokri Cheeks 407-575-5555 44-116-66-7878 888-555-9000 Display Type ImageImageCharChar The Last Name of the Customer PromptPrompt Hint Text

8 12-8 Copyright  Oracle Corporation, 1999. All rights reserved. ….. Definition Column Name Display Display Type Sequence Display Sequence Data Type Length Column Display Properties Provide defaults for how modules use the column Promote standards Save time Provide defaults for how modules use the column Promote standards Save time Browser: http:// Hollywood X Action Edit Block Filed + Customers:

9 12-9 Copyright  Oracle Corporation, 1999. All rights reserved. Flowdown from Analysis Work Name Comment Format Length Height Domain Prompt Hint text Display Type Display Length Display Height Domain AttributeColumn

10 12-10 Copyright  Oracle Corporation, 1999. All rights reserved. How Domains Flow Down Attribute Column Edit Domain Detail Values Domain valid values Display Type Display Length Format Max Length

11 12-11 Copyright  Oracle Corporation, 1999. All rights reserved. DisplayControlsUI Edit Table PRODUCTS Where to Set Display Properties (in Design Editor – Server Model) Display Sequence Prompt Display Type Display Height and Width Prompt Display Type Display Height and Width Hint text Display Format Alignment Hint text Display Format Alignment

12 12-12 Copyright  Oracle Corporation, 1999. All rights reserved. What Display Properties to Consider Prompt Display Type Format Mask Hint Text For large text items or image items: – Display Height and Display Length Prompt Display Type Format Mask Hint Text For large text items or image items: – Display Height and Display Length

13 12-13 Copyright  Oracle Corporation, 1999. All rights reserved. Display Type: GUI Items Charge Available only for columns with allowable values Radio group Paid in full Checkbox Poplist Cash Cash Charge Check Form of Payment Cash Check

14 12-14 Copyright  Oracle Corporation, 1999. All rights reserved. Guidelines for Display Type Check boxCheck box – Use for columns with 2 possible values – Has to have allowable values and mandatory property RadiogroupRadiogroup – Use if you have 3-5 allowable values PoplistPoplist – Use if you have 6-20 allowable values Check boxCheck box – Use for columns with 2 possible values – Has to have allowable values and mandatory property RadiogroupRadiogroup – Use if you have 3-5 allowable values PoplistPoplist – Use if you have 6-20 allowable values

15 12-15 Copyright  Oracle Corporation, 1999. All rights reserved. Practice 1 In the HOLLYWOOD application: remove hyphensChange FHD to remove hyphens (-) from Function names (e.g., ADD3 - Record…) Check and refine Prompt and Hint Text for all columns in the TITLES table Set MONOCHROME column in TITLES table to display as a checkbox Make sure no fields or domains use CHAR data type (need to use VARCHAR2) In the HOLLYWOOD application: remove hyphensChange FHD to remove hyphens (-) from Function names (e.g., ADD3 - Record…) Check and refine Prompt and Hint Text for all columns in the TITLES table Set MONOCHROME column in TITLES table to display as a checkbox Make sure no fields or domains use CHAR data type (need to use VARCHAR2)

16 12-16 Copyright  Oracle Corporation, 1999. All rights reserved. Overview of Tasks to Transform and Generate Application Prototype 1. Verify Function: Data Usages 2. Refine Column Display Properties 3.TRANSFORM into an application design using the ADT 4.ACCEPT candidate modules using Design Editor 5.GENERATE and run the prototype 1. Verify Function: Data Usages 2. Refine Column Display Properties 3.TRANSFORM into an application design using the ADT 4.ACCEPT candidate modules using Design Editor 5.GENERATE and run the prototype

17 12-17 Copyright  Oracle Corporation, 1999. All rights reserved. Transforming the Function Model Transform the Function Model into a module design – Use the ADT (Application Design Transformer) – In general, each atomic (leaf) function becomes a candidate module Transform the Function Model into a module design – Use the ADT (Application Design Transformer) – In general, each atomic (leaf) function becomes a candidate module

18 12-18 Copyright  Oracle Corporation, 1999. All rights reserved. Transforming the Function into a Working “Form” Block Module Component Entity Usage FormModuleFunction Physical Build DesignConceptualModelADTADTGenGen

19 12-19 Copyright  Oracle Corporation, 1999. All rights reserved. Understanding the Process Leaf functions CRUD matrix InputOutput Modules ORD0030 CUS_MC CUSTOMERS ORD0020 CUS_MC ORD0010 CUS_MC CUSTOMERS

20 12-20 Copyright  Oracle Corporation, 1999. All rights reserved. Data Usages Transformed CRUD matrix CUSTOMERS ORDERS Module data usages PRODUCTS ITEMS Data used by a form Speedy Pizza Order Items

21 12-21 Copyright  Oracle Corporation, 1999. All rights reserved. Using the Transformer 1.Click the Application Design Transformer icon 2.Click Generate 3. View / print the report 4.In Design Editor, accept candidate modules 1.Click the Application Design Transformer icon 2.Click Generate 3. View / print the report 4.In Design Editor, accept candidate modules ?

22 12-22 Copyright  Oracle Corporation, 1999. All rights reserved. DEMO (watch me) Create a First-Cut Application Design:  Run the ADT  Review the transformation report THIS IS A HUGE TASK FOR ORACLE ! Don’t interfere with my demo !!! Create a First-Cut Application Design:  Run the ADT  Review the transformation report THIS IS A HUGE TASK FOR ORACLE ! Don’t interfere with my demo !!!

23 12-23 Copyright  Oracle Corporation, 1999. All rights reserved. DEMO Questions 1.What kind of function becomes a candidate module? 2.What makes a function become a Form vs. a Report? 1.What kind of function becomes a candidate module? 2.What makes a function become a Form vs. a Report?

24 12-24 Copyright  Oracle Corporation, 1999. All rights reserved. Rules for Transforming Functions Results depend on Response property and data usages See the ADT report... Results depend on Response property and data usages See the ADT report... ImmediateScreenScreen Manual Entity Usages OvernightUtilityReportManual ResponseR onlynone any of C/U/D

25 12-25 Copyright  Oracle Corporation, 1999. All rights reserved. Candidate Modules Output of the Application Design Wizard Module PropertiesUse the Design Editor to accept or delete (via Module Properties ) Output of the Application Design Wizard Module PropertiesUse the Design Editor to accept or delete (via Module Properties ) Candidate Module A module created by the Application Design Transformer from data entered during analysis. You can either accept or reject the candidate module. ?

26 12-26 Copyright  Oracle Corporation, 1999. All rights reserved. Accepting the Candidates Modules ORD0010 ORD0020 ORD0030 Planning Status Candidate? Speedy: Module Properties YesNo Modules ORD0010 ORD0020 ORD0030

27 12-27 Copyright  Oracle Corporation, 1999. All rights reserved. DEMO (watch me) Select candidate modules for HOLLYWOOD prototype application generation: By setting the Candidate? Field to NO. Select candidate modules for HOLLYWOOD prototype application generation: By setting the Candidate? Field to NO.

28 12-28 Copyright  Oracle Corporation, 1999. All rights reserved. Is Generation the Next Step? Generating a prototype requires: – A module – Data usages Generating a production application requires: – A module – Data usages – Refinements to the module design Generating a prototype requires: – A module – Data usages Generating a production application requires: – A module – Data usages – Refinements to the module design ORD0010 CUS_MC CUSTOMERS

29 12-29 Copyright  Oracle Corporation, 1999. All rights reserved. Generating a Module 1. Select a module ORD0030 Modules ORD0020 ORD0010 3. Click Start 2. Click Generation complete. You can save, delete... Generating the binary... Generating the executable... 4. Read the messages 5. Save or revert the changes

30 12-30 Copyright  Oracle Corporation, 1999. All rights reserved. Generating a Module (cont.) 6. Click “List Actions” icon 7. Select “Run Form” and click Run button to view the prototype application Generating the binary... Generating the executable...

31 12-31 Copyright  Oracle Corporation, 1999. All rights reserved. DEMO (watch me) Generate a Form prototype application: Select HOLLYW0070 Generate Save Click “List Actions” to select Run Form View the prototype form Note the checkbox display type on the form Generate a Form prototype application: Select HOLLYW0070 Generate Save Click “List Actions” to select Run Form View the prototype form Note the checkbox display type on the form

32 12-32 Copyright  Oracle Corporation, 1999. All rights reserved. Summary After your database is generated, you can generate prototype application modules following this process: 1.In Design Editor, refine Column Display Properties 2.Verify Function: Data Usages 3.Run the ADT 4.View the report and print it out (click on Show Results) After your database is generated, you can generate prototype application modules following this process: 1.In Design Editor, refine Column Display Properties 2.Verify Function: Data Usages 3.Run the ADT 4.View the report and print it out (click on Show Results)

33 12-33 Copyright  Oracle Corporation, 1999. All rights reserved. Summary 5.In Design Editor, click on the Modules tab. Expand Modules. 6.Highlight the first candidate module. Click on the long box, then click the pencil icon. 7.Click NO next to the Candidate? field. Click Save. 8.Click the next candidate module, and repeat step 7. Continue until all candidate modules have been set to NO. 5.In Design Editor, click on the Modules tab. Expand Modules. 6.Highlight the first candidate module. Click on the long box, then click the pencil icon. 7.Click NO next to the Candidate? field. Click Save. 8.Click the next candidate module, and repeat step 7. Continue until all candidate modules have been set to NO.

34 12-34 Copyright  Oracle Corporation, 1999. All rights reserved. Summary 9. In Design Editor, select a design module and Generate it


Download ppt "Copyright  Oracle Corporation, 1999. All rights reserved. 6 CMIS 570 - Powell Oracle Designer: Prototype Application Generation CMIS 570 - Powell."

Similar presentations


Ads by Google