|
Introduction to APGen |
|
See Also: |
A simplified diagram of APGen data flow:
Figure 1 shows that APG scripts are executed by the Active Page Generator engine, creating pages in multiple formats. APGen can be used to create any type of file: HTML, ASP, XML, Script, TXT, .INI, text or binary.
Figure 1 also shows that APGen exposes a COM interface (which allows access to several other COM interfaces), which can be used to programmatically execute APG scripts. This interface is accessible from Visual C++, Visual Basic, Visual J++, Delphi, ASP, VBScript, JScript, APGen, Windows Scripting Host, and any other COM-enabled Windows tool.
In addition to programmatic execution, APG scripts can be run by users, either by double clicking APG scripts in Microsoft Windows Explorer, or by typing:
<script path>\script.apg <optional param list>
at the Command prompt.