Previous Topic: Modify the LOGIN GOLFER Process Action Diagram LogicNext Topic: Add Logic to MAINTAIN GOLFER


Create the Three New Server Procedures

The primary diagram used in client/server design is the Window Navigation Diagram.

Follow these steps:

  1. In the tree control under the Design folder, double-click Window Navigation Diagram.

    Create the Three New Server Procedures

    Note: The Window Navigation Diagram is made up of three panes:

    Network Pane

    Contains a graphical representation of the client/server system structure. This structure includes the client procedure's windows and dialogs, the server procedures, and the flows between them.

    Hierarchy Pane

    Contains an indented list of essentially the same information that is in the Network Pane.

    Controls Pane

    Lists the specific GUI controls used on a window or dialog selected from either of the other two panes and the specific actions that can occur against those controls.

    This Navigation Diagram is <Untitled>. You can have multiple Navigation Diagrams; each diagram would then have a name of your choosing assigned to it. We will name and save this navigation diagram now.

  2. From the Main Menu, select Diagram, then Create Diagram….
  3. In the subsequent Create Diagram dialog, in the Create Diagram as entry field, enter egolf services web application. Select the Save push button, and then the OK push button when prompted.
  4. Save your model.
  5. We now want to add the three server procedures. On the Toolbar, select the Add Server Create the Three New Server Procedures icon and then (with the crosshairs Create the Three New Server Procedures) select anywhere in the Network pane. In the Server/Procedure Step Properties dialog, enter maintain golfer in the Server Name entry field and then select the OK push button.

    The Toolset adds a three-dimensional box representing the server in the Network pane, as well as an entry in the Hierarchy pane. You will probably find it useful to zoom out Create the Three New Server Procedures or zoom in Create the Three New Server Procedures on the diagram by using the appropriate Toolbar options. You can also resize the panes in the Window Navigation Diagram by moving your cursor over the edges of the pane until it turns into double-sided arrow and then dragging the edge to a different position.

    Note: If you have made a mistake in the name, you can select the server, select Detail from the Main Menu, select Properties, and then enter the new name.

  6. Zoom out in the diagram and add the maintain scoring record and list scoring record servers. See step number five in the previous section if you need help. Your diagram should look similar to the following example:

    Create the Three New Server Procedures

    You can move objects around in the diagram by selecting the object and then dragging it to where you want it. You can move multiple objects at the same time by selecting each object while holding down the Ctrl key on your keyboard. Then, after selecting the last object, click-and-drag any of the highlighted objects (as a group) to the new location.

  7. Save your model.