Code Generation Tags in Layout Pages

Iron Speed Designer utilizes a simple set of XML-based code generation tags that let you quickly create n-tier web applications.  Code generation tags specify the database-connected tables, fields, filters, and other controls you want in your application.  Using any text or HTML editor, simply place these code generation tags in your HTML layout pages at the locations where you wish the controls to appear.  From there, these code generation tags instruct Iron Speed Designer what to generate.  The following illustration shows several code generation tags placed at desired locations within an HTML layout page.

Code generation tags instruct Iron Speed Designer which components to generate.

This example shows how complex pages are constructed in ordinary HTML with simple declarative code generation tags positioned where you wish databound components to be generated.

Using code generation tags you can:

Once code generation tags are placed in a web page, the Iron Speed Designer prompts you for the information required to connect the controls to the underlying databases and to set other application generation parameters.  You do not need to know SQL or be a programmer to create sophisticated web applications using code generation tags.

When you build your application, Iron Speed Designer replaces the code generation tags with web controls to produce ready-to-use ASPX pages.  The code generation tags are stripped out of the final generated ASPX pages, and replaced by corresponding web controls, code-behind logic, and transaction management code.  This also means that the code generation tags have no run-time effect on your application because they are not present in the application.  Your application runs completely independent of Iron Speed Designer; there is no residual presence from Iron Speed Designer left in your application, i.e., no special interpreted languages or 4GL’s.

Types of Code Generation Tags

The code generation tags are divided into these groups:

Field Display Tags

Record Tags

Table Tags

Table Component Tags

FieldLabel
FieldValue

Record

Table
ItemTemplate
AlternatingItemTemplate
Separator Template
HeaderTemplate
FooterTemplate

FieldStatistics
Pagination
TableStatistics

Filter Tags

Layout Tags

Button Tags

Grouping and Iteration Tags

CategoryFilter
FieldFilter
SearchFilter

HTML
HyperLink
Image
Label
Literal
Text

ImageButton
LinkButton
PushButton

ForEach
Group
Template
Use

Using Code Generation Tags

Because code generation tags are simple XML statements, you can use any HTML editor to add code generation tags to any new or existing HTML layout page.  Your HTML editor and web browser will ignore the code generation tags for display purposes, allowing you to view the pages without seeing the code generation tag.

Code generation tags are very easy to use:

The specifics of each individual code generation tag are discussed elsewhere in more detail.

See Also

Creating HTML Layout Pages

What is a Layout Page?

How Code Generation Tags Work

Code Generation Tag Syntax