Kbase P318: How to Use WebSpeed Embedded SpeedScript
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  16/10/2008 |
|
Status: Unverified
GOAL:
How to use WebSpeed Embedded SpeedScript
GOAL:
What is SpeedScript?
FACT(s) (Environment):
WebSpeed 3.x
FIX:
SpeedScript is Progress 4GL code that is added directly to an HTML file to create dynamic output of HTML source code.
It is 4GL code that is embedded into an HTML document, therefore
this file type of file has both 4GL code and HTML in the same
file. This file type is considered "unstructured".
An unstructured file is a file created either entirely by the
user, or with the aid of a template. All HTML files are
unstructured, including those that contain embedded SpeedScript
or those that deal with any report or detail wizard.
You add SpeedScript to an HTML file with special HTML tags and
format. When an HTML file that contains SpeedScript compiles, the
4GL code is parsed and compiled into an .r file that recreates
the original HTML. Dynamic content that was created by
SpeedScript and any additional processing logic added by
SpeedScript is added the static HTML output. The SpeedScript code
is resolved on the server. Only the .r file is required in a
production environment to run the file.
As a WebSpeed developer, you should be become familiar with how to use each type of WebSpeed file for development. You must be able to determine the correct file type to use for your differing Web-based solutions.