Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

A WAM may contain one or more Webroutines. These contain your Application Logic. They can be thought of in much the same way as subroutines. Indeed, a Webroutine is defined in a similar manner to a subroutine, using the Webroutine/Endroutine command combination, as follows:
Image Removed
Image Added

To execute this Webroutine from a browser (i.e., to initiate this Webroutine), a user would enter a URL that looks something like this:

http://www.MyWebSite.com/cgi-bin/lansaweb?wam=MYWAM&webrtn=MyWebroutine

Note that, when the Endroutine statement is reached, control is passed back to the Presentation Layer.

...

Of course, you will often want to pass data back and forth between the Application Logic Layer and the Presentation Layer. This is done with 1.4.2 Web Maps.