Presentation is loading. Please wait.

Presentation is loading. Please wait.

DEV-5: Introduction to WebSpeed ® Stephen Ferguson Sr. Training Program Manager.

Similar presentations


Presentation on theme: "DEV-5: Introduction to WebSpeed ® Stephen Ferguson Sr. Training Program Manager."— Presentation transcript:

1 DEV-5: Introduction to WebSpeed ® Stephen Ferguson Sr. Training Program Manager

2 © 2006 Progress Software Corporation2 DEV-5: Introduction to WebSpeed Agenda  What is WebSpeed?  A Web Request Round-trip  WebSpeed Workshop  Programming Considerations  Security This presentation includes annotations with additional complementary information

3 © 2006 Progress Software Corporation3 DEV-5: Introduction to WebSpeed OpenEdge Application Deployment Options WebSpeed Transaction Server Any client Data Web Browser Web service Client Data OpenEdge Application Server Application Code AppServer™ Speed Script CharacterGUI ABL * * OpenEdge Advanced Business Language

4 © 2006 Progress Software Corporation4 DEV-5: Introduction to WebSpeed UI Choices Today Desktop Application versus Web Application

5 © 2006 Progress Software Corporation5 DEV-5: Introduction to WebSpeed  WebSpeed is the ultimate thin client  The client uses a browser to run applications  WebSpeed components Web browser Web Server (3rd party product) Messenger WebSpeed broker WebSpeed agent What is WebSpeed? Components

6 © 2006 Progress Software Corporation6 DEV-5: Introduction to WebSpeed WebSpeed Components Business Logic Agent WebSpeed Broker Name Server Database Web Server Messenger HTTP

7 © 2006 Progress Software Corporation7 DEV-5: Introduction to WebSpeed  Listens for WebSpeed requests coming in to a Web server  Handles data transfer between Web server and agent  Messenger types CGI messenger –Independent process started by the web server –Dies when its request is complete DLL messengers (ISAPI and NSAPI) –Loaded into the web server’s memory and reside there WSASP –Works with Microsoft Active Server Pages WebSpeed Messenger Components

8 © 2006 Progress Software Corporation8 DEV-5: Introduction to WebSpeed  WebSpeed Workshop WebSpeed development environment  Name Server Directs client connections to a broker Load balancing Fault tolerance What is WebSpeed? Additional Components

9 © 2006 Progress Software Corporation9 DEV-5: Introduction to WebSpeed  Web browser Resides on client machine Handles the display Communicates with web servers  Web server Resides on a server machine Waits for browser requests Serves web pages Can run programs and scripts What is WebSpeed? Non-OpenEdge Components

10 © 2006 Progress Software Corporation10 DEV-5: Introduction to WebSpeed  Netscape Navigator/Communicator Version 4.5 or higher  Internet Explorer Version 4.x or higher  Considerations / differences Browser behavior Back / refresh buttons Frame handling Browser Support WebSpeed 3.1

11 © 2006 Progress Software Corporation11 DEV-5: Introduction to WebSpeed Agenda  What is WebSpeed?  A Web Request Round-trip  WebSpeed Workshop  Programming Considerations  Security

12 © 2006 Progress Software Corporation12 DEV-5: Introduction to WebSpeed A Web Request Round-trip  Connection Browser and the web server  Request From browser to web server  Process By the requested resources  Response Web server to the browser  Termination Of the connection

13 © 2006 Progress Software Corporation13 DEV-5: Introduction to WebSpeed A Web Request Round-trip (1) Business Logic Agent WebSpeed Broker Name Server Database Web Server Messenger HTTP

14 © 2006 Progress Software Corporation14 DEV-5: Introduction to WebSpeed A Web Request Round-trip (2) Business Logic Agent WebSpeed Broker Name Server Database Web Server Messenger HTTP

15 © 2006 Progress Software Corporation15 DEV-5: Introduction to WebSpeed A Web Request Round-trip (3) Business Logic Agent WebSpeed Broker Name Server Database Web Server Messenger HTTP

16 © 2006 Progress Software Corporation16 DEV-5: Introduction to WebSpeed A Web Request Round-trip (4) Business Logic Agent WebSpeed Broker Name Server Database Web Server Messenger HTTP

17 © 2006 Progress Software Corporation17 DEV-5: Introduction to WebSpeed A Web Request Round-trip (5) Business Logic Agent WebSpeed Broker Name Server Database Web Server Messenger HTTP

18 © 2006 Progress Software Corporation18 DEV-5: Introduction to WebSpeed A Web Request Round-trip (6) Business Logic Agent WebSpeed Broker Name Server Database Web Server Messenger HTTP

19 © 2006 Progress Software Corporation19 DEV-5: Introduction to WebSpeed A Web Request Round-trip (7) Business Logic Agent WebSpeed Broker Name Server Database Web Server HTTP Messenger

20 © 2006 Progress Software Corporation20 DEV-5: Introduction to WebSpeed A Web Request Round-trip (8) Business Logic Agent WebSpeed Broker Name Server Database Web Server Messenger HTTP

21 © 2006 Progress Software Corporation21 DEV-5: Introduction to WebSpeed A Web Request Round-trip (9) Business Logic Agent WebSpeed Broker Name Server Database Web Server Messenger HTTP

22 © 2006 Progress Software Corporation22 DEV-5: Introduction to WebSpeed Agenda  What is WebSpeed?  A Web Request Round-trip  WebSpeed Workshop  Programming Considerations  Security

23 © 2006 Progress Software Corporation23 DEV-5: Introduction to WebSpeed WebSpeed Workshop Business Logic Agent WebSpeed Broker Name Server Web Server Messenger HTTP Database Web Tools AppBuilder Development

24 © 2006 Progress Software Corporation24 DEV-5: Introduction to WebSpeed WebSpeed Workshop - WebTools Developing WebSpeed Applications

25 © 2006 Progress Software Corporation25 DEV-5: Introduction to WebSpeed  Complete development tools OpenEdge® Architect or Studio Browser based tools  Wizards  Sample applications WebTools Advantages

26 © 2006 Progress Software Corporation26 DEV-5: Introduction to WebSpeed Agenda  What is WebSpeed?  A Web Request Round-trip  WebSpeed Workshop  Programming Considerations  Security

27 © 2006 Progress Software Corporation27 DEV-5: Introduction to WebSpeed Programming Considerations  HTML with embedded SpeedScript  CGI wrappers  Mapped web objects WebSpeed File Types

28 © 2006 Progress Software Corporation28 DEV-5: Introduction to WebSpeed HTML with Embedded SpeedScript  HTML containing ABL code  Script language enclosed in tags  Resolved on the server SpeedScript never seen on client  Can use standard HTML editors

29 © 2006 Progress Software Corporation29 DEV-5: Introduction to WebSpeed DEFINE VARIABLE vcCustName AS CHARACTER NO-UNDO. DEFINE VARIABLE vcToday AS CHARACTER NO-UNDO. FIND FIRST CUSTOMER NO-LOCK NO-ERROR. ASSIGN vcCustName = Customer.Name vcToday = STRING(today). The first customer in Sports2000 is: ` vcCustName `. Todays Date is ` vcToday `. Sample: HTML with Embedded SpeedScript

30 © 2006 Progress Software Corporation30 DEV-5: Introduction to WebSpeed CGI Wrapper  There is no associated HTML file  The ABL procedure renders the HTML required Embedded within character strings  Can reference variables and table field names

31 © 2006 Progress Software Corporation31 DEV-5: Introduction to WebSpeed {src/web2/wrap-cgi.i} output-content-type ("text/html":U). {&OUT} " ":U SKIP " ":U SKIP " {&FILE-NAME} ":U SKIP " ":U SKIP " ":U SKIP. /* Custom HTML */ {&OUT} "Sample CGI Wrapper". {&OUT} " ":U SKIP " ":U SKIP. Sample: CGI Wrapper

32 © 2006 Progress Software Corporation32 DEV-5: Introduction to WebSpeed Development Methodology Presentation Business Services Data Access Data Sources Common Infrastructure Enterprise Services

33 © 2006 Progress Software Corporation33 DEV-5: Introduction to WebSpeed  Separate UI from business logic  HTML mapping HTML authored separately Match HTML tags with database fields Programming Considerations

34 © 2006 Progress Software Corporation34 DEV-5: Introduction to WebSpeed Mapped Web Objects  Separates HTML from ABL Can use HTML editor for HTML file Structured ABL files  HTML can be maintained independently of the ABL code  ABL fields mapped to HTML form elements  ABL output rendered as values of form elements Mapping HTML elements

35 © 2006 Progress Software Corporation35 DEV-5: Introduction to WebSpeed Mapped Web Objects – HTML Form

36 © 2006 Progress Software Corporation36 DEV-5: Introduction to WebSpeed Mapped Web Objects – Write Code

37 © 2006 Progress Software Corporation37 DEV-5: Introduction to WebSpeed Mapped Web Objects – Generate Offset file

38 © 2006 Progress Software Corporation38 DEV-5: Introduction to WebSpeed Mapped Web Objects – Run The App

39 © 2006 Progress Software Corporation39 DEV-5: Introduction to WebSpeed  Stateless – typical web mode No limit on number of users Context management required Record locking / transaction management Programming Considerations The state you are in

40 © 2006 Progress Software Corporation40 DEV-5: Introduction to WebSpeed Agenda  What is WebSpeed?  A Web Request Round-trip  WebSpeed Workshop  Programming Considerations  Security

41 © 2006 Progress Software Corporation41 DEV-5: Introduction to WebSpeed  Disable WSMAdmin  Set Application Mode to Production  Disable debug mode  Change all default ports  Hide / rename your messengers  Do not give execute permission to “upload” directory  Applies to WebSpeed only – still need to secure the rest of your environment WebSpeed Security

42 © 2006 Progress Software Corporation42 DEV-5: Introduction to WebSpeed  Zero footprint  Update UI without impacting business logic  Supports intra-, extra- and internet  Flexible programming model  Choice of Authoring tools ISAPI, NSAPI, CGI HTML, JavaScript, Java™, ActiveX, DHTML, ASP, etc WebSpeed Benefits

43 © 2006 Progress Software Corporation43 DEV-5: Introduction to WebSpeed In Summary  Ultimate thin client  Browser based access to business applications  Scalable  Flexible programming model

44 © 2006 Progress Software Corporation44 DEV-5: Introduction to WebSpeed For More Information, go to…  PSDN WebSpeed Product Information page  Relevant Exchange Sessions: ARCH-7: Multiple "Views" with WebSpeed INNOV-6: Rich User Interface for the Web? AJAX to the Rescue

45 © 2006 Progress Software Corporation45 DEV-5: Introduction to WebSpeed Education / Documentation References  WebSpeed Application Development

46 © 2006 Progress Software Corporation46 DEV-5: Introduction to WebSpeed Questions?

47 © 2006 Progress Software Corporation47 DEV-5: Introduction to WebSpeed Thank you for your time

48 © 2006 Progress Software Corporation48 DEV-5: Introduction to WebSpeed


Download ppt "DEV-5: Introduction to WebSpeed ® Stephen Ferguson Sr. Training Program Manager."

Similar presentations


Ads by Google