Inside the WebApp Classes John Tuohy Data Access Worldwide.
-
Upload
melvyn-ferguson -
Category
Documents
-
view
219 -
download
0
Transcript of Inside the WebApp Classes John Tuohy Data Access Worldwide.
WebApp in Detail
Web Server ASP/JSP
<HTML><% IF…THEN ELSE END IF%>
ASP Page
DatabaseDriverDriver
WBO
DataDictionaries
Function xx:End_Function
A WebApp ASP/JSP ContainsStandard HTML code
Markup text, Input Forms, Client ScriptEmbedded Script Code
<% and %>VBScript code “Islands”Calls to Built-in ASP/JSP Objects
Response, Request, Session, Server, Application,
Calls to WebApp WBO Objects
An ASP/JSP call to a WBO will...
Execute a Process e.g. Save a Record, Find a Record
Output HTML code to the Page being created e.g. Generate a report in HTML format, Generate an
HTML input control Return a value to the Script function that called it
e.g. Return a Field value, Return an Error Code
ASP/JSP Accesses a WBO via... Built in Methods
<% Err = oMyWBO.RequestSave(“Cust”) %>
RequestSave RequestDelete RequestFind RequestClear RequestDDUpdate RequestFindbyRecId
These can be disabled by the WBO
ASP/JSP Accesses a WBO via...
DDValue Retrieves information about your DDOsUsed most often to retrieve field values
<%= oMyWBO.DDValue(“Cust.Name”) %>
Can be used to build dynamic input controls
<%= oMyWBO.DDValue(“Cust.Name”,DDAUTO) %>
ASP Accesses a WBO via...Call
<% bOk = oMyWBO.Call(“get_LoginUser”,sName,sPass) %>
For custom interface methods Can be used to call any process within a WBO This is the hook that lets you do anything Only registered WBO methods can be called
WebApp in Detail
WebApp Application Object
IIS Web Server ASP
<HTML><% IF…THEN ELSE END IF%>
ASP Page
COM/WBO
COM/WBO
WBO DDOs
Function xx:End_Function
WBO DDOs
Function xx:End_Function
Linux WebApp in Detail
WebApp Application Object
Linux WebServerJsp/Java Servlet
<HTML><% IF…THEN ELSE END IF%>
JSP Page
Bean/WBO
Bean/WBO
WBO DDOs
Function xx:End_Function
WBO DDOs
Function xx:End_Function
A WebApp WBO Contains
Data Dictionary Object Structure (DDOs) Based on Data-dictionary rules (DD classes)
Built in Data Handling Processes
Validate & Save, Delete, Find, Clear, Update & Validate,
Find by RecId, DD Field Values and Attributes Custom Processes Custom Reporting Objects A Controlled External Interface
A WBO
WebApp Application Object
IIS Web Server ASP
cWebBusinessProcess
DDOs
Built inProperties,Methods
Report Objects
Custom Properties,Methods &Objects
Registered “Call” Interface
The Complete WebApp Class Library
WebApp Classes
cWebAppcWebBusinessProcesscWebReportcAutoWebReport
DDO Classes
DataDictionaryValidationTableDescriptionValidationTableFileValidationTableCodeValidationTable
Misc. Classes
ArraySetButton