Code Customization Tutorial

Iron Speed Designer creates standard .NET web pages and code-behind files containing all of the code necessary to retrieve, display, validate and save the data from the database.  Your application code is easily customizable; you can augment the code to perform additional actions or even replace sections of the code with your own custom code.

Most pages in an Iron Speed Designer application are based on tables and views in your database. Views may be used the same as tables to create pages, keeping in mind that views may not have primary or foreign keys declared initially.

For each database table and view used, we create Business Layer and Data Access Layer code files. From these tables, we create the pages you select and for each page we create a layout file with an .ASPX extension, code-behind and control code files.

Class

Type

Example Class Name

Location

Page

Presentation layer

Edit_Customers

Page code-behind file

Record control

Presentation layer

CustomersRecordControl

Control code-behind file

Table control

Presentation layer

CustomersTableControl

Control code-behind file

Table control row

Presentation layer

CustomersTableControlRow

Control code-behind file

Record

Business layer

CustomersRecord

Business layer

Table

Business layer

CustomersTable

Business layer

 

 

You can customize behavior of the record in the Business Layer which is discussed later.

On this diagram Page content is wrapped in a master page which is located in ..\<app Name>\Master Pages folder

Master page includes:

Page Header (..\<app Name>\Header and Footer\Header.ascx)
Menu (..\<appName>\Menu Panels\Menu.ascx)
Page Footer (..\<app Name>\Header and Footer\Footer.ascx)
PageContent – (..\<app Name>\Customers\Edit-Customers.aspx)

This page has both master record (Record Control) and details table (Table Control) panels. Table control includes a set of rows, each one of which is a Table Control Row (record) control.