1 / 15

Inside the WebApp Classes

Inside the WebApp Classes. John Tuohy Data Access Worldwide . Web Server ASP/JSP. WBO. <HTML> <% IF…THEN ELSE END IF %> ASP Page. Database. Using Web Business Objects. Web Server ASP/JSP. WBO. <HTML> <% IF…THEN ELSE END IF %> ASP Page. Data Dictionaries.

Download Presentation

Inside the WebApp Classes

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Inside the WebApp Classes John Tuohy Data Access Worldwide

  2. Web Server ASP/JSP WBO <HTML> <% IF…THEN ELSE END IF %> ASP Page Database Using Web Business Objects

  3. Web Server ASP/JSP WBO <HTML> <% IF…THEN ELSE END IF %> ASP Page Data Dictionaries Function xx : End_Function WebApp in Detail Database Driver

  4. A WebApp ASP/JSP Contains • Standard HTML code • Markup text, Input Forms, Client Script • Embedded Script Code • <% and %> • VBScript code “Islands” • Calls to Built-in ASP/JSP Objects • Response, Request, Session, Server, Application, • Calls to WebApp WBO Objects

  5. 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

  6. 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

  7. ASP/JSP Accesses a WBO via... • DDValue • Retrieves information about your DDOs • Used most often to retrieve field values <%= oMyWBO.DDValue(“Cust.Name”) %> • Can be used to build dynamic input controls <%= oMyWBO.DDValue(“Cust.Name”,DDAUTO) %>

  8. 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

  9. WebApp Application Object IIS Web Server ASP COM/WBO <HTML> <% IF…THEN ELSE END IF %> ASP Page WBO WBO DDOs DDOs Function xx : End_Function Function xx : End_Function COM/WBO WebApp in Detail

  10. WebApp Application Object Linux WebServer Jsp/Java Servlet Bean/WBO <HTML> <% IF…THEN ELSE END IF %> JSP Page WBO WBO DDOs DDOs Function xx : End_Function Function xx : End_Function Bean/WBO Linux WebApp in Detail

  11. 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

  12. A WBO cWebBusinessProcess IIS Web Server ASP WebApp Application Object DDOs Built in Properties, Methods Report Objects Custom Properties, Methods & Objects Registered “Call” Interface

  13. WebApp Classes cWebApp cWebBusinessProcess cWebReport cAutoWebReport DDO Classes DataDictionary ValidationTable DescriptionValidationTable FileValidationTable CodeValidationTable Misc. Classes Array Set Button The Complete WebApp Class Library

  14. The Important WebApp Classes • cWebApp • cWebBusinessProcess • cWebReport • DataDictionary

  15. oWebApp is a cWebApp c oMyWBO is a cWebBusinessProcess oMyTable1_DD is a cMyTable1_DD oMyTable2_DD is a cMyTable2_DD oMyReport is a cWebReport Property integer pi… Function xxx… Procedure xxx…… Send RegisterInterface… WebApp Object Structure

More Related