Você está na página 1de 30

http://www.boosla.

com
Introduction to Oracle Forms Developer
And Oracle Forms Services

* -:

-1 . Oracle10G
-2 . Oracle10G Application Server
-3 .
-4 .
-5 . Forms
-6 . Forms


. Form

. Forms 10G


Tools .
Oracle Developer
Forms .

Oracle10G

: Oracle 10G Database -1



. Image XmlSpread SheetsExcel

: Oracle 10G Application Server -2


Forms
. Business IntelligencePortalWirelessJava
Oracle10G Application Server
Forms Application Server
.
Oracle10G Application Server Service
Forms .

: Oracle10G Developer Suite -3


oracle 6i oracle10G
.Web Form Builder Design
Forms .

Oracle application server Architecture

Oracle application server :

:Communication Service
protocols.

:Application Run time Services


J2EE
WEB Servlets .CONNECTION

:System Services
. J2EE

:Management Service

.

:Connectivity Services
.

:Solutions


.
Oracle10G Application Server :

Oracle Forms Service

Service Application Server


Service Forms Forms
. Service
Forms .
Service
Database Application :
Client Tier .1

Web Browser
Application Forms .

Middle Tier .2
Forms Application
Software
.Application Server

Database Tier .3 Database


Application Server
.

:Forms Service
User Forms Application
Client Tier
Web Browser JInitiator
Software Java Applet Code
Form . Code
Forms Service Java Applet
Forms Web Browser
Java . Application

Oracle Forms Developer


Forms Developer Developer Suite

.
Wizard
.

Forms Builder Components

:Object Navigator
Form Builder
Tree Form Builder Node
Tree + :
Module
). (Object Libraries,PL/SQL Libraries,Form,Menu
Built in Package
Package .
Database Object Object
)(Tables,View,Procedure
Object
Icon
Connect

Text Item Object


Object Navigator Icon
Forward and Backward Searches
Icon
Object Navigator .
:Property Palette
Object
Object Navigator
Property Palette Property
Text Item
Property Palette
Object F4 :

:Layout Editor
Design Interface
Property Palette
:
:PL/SQL Editor
Code Forms
PL/SQL Editor
Item F11 :

Using Online Help System

Menu Help Online Help


Tab :

:Contents Forms10G
.
Built in :Index
Forms Built in
Text Item Search
Built in Built in
). (Procedure ,Function,Package,System Variable

. Forms :Search
Running a Forms
Developer Application

:
-1 Runtime .
-2 .Forms
-3
Condition.
-4 .DML
-5 Error .

Forms Three Tiers


. Application Server
DML Interface Application
Action . Database
Forms URL
Web Browser
Forms Service HTML file
Java Applet . Java Applet
Forms .
URL Form -1
Web Browser .Web Server
HTTP OC4J Request Client -2
.Forms Servlet
Forms Servlet HTML page -3
.Form Session
HTTP OC4J Client Tier -4
Java Applet
Java Applet Client
.Forms
Client Tier Java Applet -5
Forms Listener Servlet Session
Forms Runtime Engine
URL Form
.
Forms Listener Forms Runtime Engine -6
Connection .
user interface Forms Applet -7
.User
OC4J HTTP Forms listener Servlet -8
.Runtime Engine Forms Applets

Forms Servlet

Java Servlet Forms Servlet


: HTML File
.Forms Web configuration
.Forms Base HTML File
.Application URL parameters
Forms Client

Client
Forms Client Java Applet
. Java Classes

The Forms Runtime Engine

Forms Listener Forms Runtime Engine


. Forms Listener Servlet .Servlet
Forms Runtime Engine
Code Forms Functionality Application Logic
Client Tier Action
. Database Tier

Oracle Developer Environment Variable

Modules Oracle Developer


(Forms, Menus, Libraries)
App Server Path Modules
. Modules
Local Regedit Start Menu Run
File Oracle Software Machine
Text File FORMS90_PATH
Directory Path ( );( Simi Colon )
. Modules
Runtime

?What is the Default Menu


Menu Forms
Menu
Form Menu.
Default menu
Default menu user Form
user menu
menu -:
-1 Data .Block
-2 .Save
-3 . Execute query
-4 Record . Record
.help -5
What is the Console?
Form
Item Message Error Message
.
:form

1- prompt
2- text item
3- boilerplate graphics
4- check boxes
5- boiler plate text
6- display items
7- list item
8- push buttons
9- image item
10- radio group
:
1- tree
2- chart items
3- custom item

Form
Record Record Block
Block Default Menu Icons
Forms :

Action Keyboard
Key Help :

Key
Keyboard :
-1 Block Record . Item
-2 .Execute Query
-3 Record . Record
-4 . Help
:Runtime
:Enter-Query Mode
Form Condition
.search
Enter-Query

Condition.
Enter-query Block Block
Form DML
. Block
Record Record.
:Normal-Query
Normal Node Form

Condition
Block Record Record
. Form
DML . Commit

Displaying errors
Error Runtime Description
Error ) (Menu
Error Display Error Error
. Error
Record Record PK
Action Error Pk FK
Error Menu
. Error
:
Working in the Forms
Developer Environment

Application :Forms
File ( ..Block,Canvas,Item)
.Fmb,Fmx

Form :Menus
.Mmb,Mmx File

File Program Unit :PL/SQL libarary


.Pll,Plx

Form Object :Object Libarary


( .Trigger, Visual attribute, Alert)
.Olb File
:Item
Items
.

:Block Item
Form Block
Module Block
Module Item
Item Block.

:Canvas Items
User Interface
Items Block
Canvas Block A
Items Canvas2
.Canvas1
:Navigation in a form module
) Form (Run Cursor
Items Navigation Item
Canvas .Cursor Item
Cursor Property
Block .Items

Types of Block

:Data Block
* Data Block
Items Items
.
* Block Constraint
).(FK,PK
* Items DML
).(Insert, Update, Delate
:Control Block
* Block
Items Block
Items Button
.Form Item
.Sal+Comm

Relationship Data Blocks


) (One to Many Primary Key Block
Foreign Key Block.
Block PK Master Block
FK .Details

Master Block Block


PK .Single-Record Data Block

Details Block Block


Block
Master Block Block FK PK .Master

Module
) (Block,Canvas,Frame,Trigger,Program Unit Blocks
.Data Base
)Starting (OC4J

Service
Form .
Application Server ) (OC4J
Service Application Server Server
Network .

Working with Data Block and Frame

:
.property Palette -1
.property palette -2
.Block -3
Property .Frame -4
.Block Manual -5
Block . -6

Property Palette Object


Object F4 .Object
Property Palette Object :

:Find Filed Property.


:Search Backward Property.
:Search Forward . Property
:Property Value .Property
:Help Help Object .F1
:Property Name .Property
:Text Field More Button
OK
.Text Field
:Lov Window
Item Lov
.
:Pop-up List List
.

Property :Property
:Changed Property .
:Default Property .
:Inherited Property .Property Class
:Overridden Property Property Class
.
:Visual Attributes
.

Visual Attribute :
-1 Object Navigator .Visual Attribute
-2 Property
.
-3 Property Item
Visual Attribute .
. Block Block

:Navigation Style
Option
.Record :Same Record -1
Record :Change Record-2
.Block
. Block Block :Change Data Block-3

. Block :Previous Navigation Data Block


. Block :Next Navigation Data Block
:Current Record Visual Attribute
.Block Record Visual Attribute
:Query Array Size
Record
. Record
:Number of Record Buffered
.Buffer Record
:Number of Record Displayed
.Canvas Record
:Query All Record
.Calculation Item
:Record Orientation
.Horizontal Vertical Record
:Single Record
.Record Record
:Data Base Data Block
. Block Yes
:Enforce Primary Key
.Block Primary Key Block
:Query/Insert/Update/Delete allowed
. DML
:Query Data Source Type
.(Table, Procedure,) Block
:Query Data Source Name
.Block
:Query Data Source Column
.
:Query Data Source Argument
.Procedure Parameters
:Where Clause
. Condition
:Order By Clause
.

:Show Scroll Bar


.Block Scroll Bar
:Show Bar Canvas
.Canvas Scroll Bar
:Scroll Bar Orientation
.(Vertical , Horizontal) Scroll Bar
:Scroll Bar X/Y Position
.Scroll Bar
:Scroll Bar Wight /Height
.Scroll Bar
:Layout Data Block
.Block Frame
:Update Layout
.Manual Frame
:Layout Style
.Tabular Form
:Distance Between Record
.Record
:X/Y Position
.Frame
:Wight / Height
.Frame