Iron Speed Designer uses HTML layout pages to generate your application’s ASPX web pages. HTML layout pages define your application’s web-based user interface and contain code generation tags that define which databound controls you want on the various pages (more about this in the next section). Layout pages are normal HTML files with .HTML file extensions. They can contain any HTML you wish, in any design you wish.
Most layout pages are created directly by Iron Speed Designer’s Application Wizard or New Page Wizard. Using the Application Wizard, for example, Iron Speed Designer can generate certain layout pages from pre-formatted page templates, including pages with database table listings and for database maintenance, such as viewing a record, adding a record, and editing a record. Layout pages can also be created by hand using one of the popular web page layout tools, such as Macromedia Dreamweaver, Microsoft FrontPage, and Microsoft Visual Studio.
|
<HTML> <body bottomMargin='0' leftMargin='0' topMargin='0' rightMargin='0'> <GEN:Image Name=”Logo” /> </body> </HTML> |
A very simple layout page with one Image code generation tag. |
It’s important to note that layout pages are not the final generated web pages. Layout pages are HTML pages; the final web pages generated by Iron Speed Designer are ASPX pages and ASCX controls and are generated from the HTML layout pages. Regardless of how the layout pages are created, they may have any layout and design you choose, and may include any HTML, DHTML, and client-side scripting in your layout pages that you wish passed through to the ASPX pages generated by Iron Speed Designer.
|
<table class="master_table" cellpadding="0" cellspacing="0" border="0"> <tr> <td class="page_yellow"> <div align="left"> <table cellpadding="0" cellspacing="0" border="0" class="holder_table"> <tr><td width=140> </td> <td> <table class="dialog_view" cellpadding="0" cellspacing="0" border="0"> <tr> <td class="dialog_header"> <GEN:Image Name="DialogIcon"> Icon </GEN:Image> <GEN:HTML Name="DialogTitle"> Dialog Title </GEN:HTML> </td> </tr> <tr> <td class="dialog_body"> <table cellpadding="0" cellspacing="3" border="0"> <tr> <td> |
HTML layout pages can contain any HTML, DHTML, or other scripting code your application requires. |
Iron Speed Designer utilizes a simple set of XML-based code generation tags that let you quickly create your N-tier web-based 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, such as Microsoft Visual Studio, Macromedia Dreamweaver, or Microsoft Front Page, 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 generated pages and controls do not contain code generation tags – they are replaced with .NET controls by Iron Speed Designer. In this way the code generation tags are simply placeholders where databound controls will be placed in your pages. If code generation tags are erroneously left in the generated ASPX/ASCX code, they have no effect and will not provide any data to an application user.