BCS Delphi Content Page Code Generator Master Page

No matter the complexity of the .NET Active Server Pages web application (weblication) content pages are the bloodline of the weblication. The normal process of generating the required pages to fulfill the requirements for menu items, text pages as well as pages under construction can be quite tedious.
The BCS Delphi .NET Content Page Code Generator alleviates all the drudgery by using only a few keystrokes and mouse clicks. The code generator generates the .NET active server page (.aspx) and the required code behind code (.pas).
This code generation feat is accomplished by using a master detail scenario that identifies the group of active server web pages as the master. The properties of each active server page serves as the details used in the master detail scenario.
The master data elements are a unique integer (auto number) identifier, an output path and a brief description.
The detail data elements are a unique integer as an identifier, Active Server Page Name an Active Server Page Title, a Master Page Number, Page For Text and a Under Construction identifiers. The Page For Text and the Under Construction identifiers are both Boolean fields.
Each page will have a the same components and structure but the overall functionality will identify a content area for text or a flash content area that tells the user the page is under construction.
The master (.aspx) and detail scenario (.pas) both reside in data repository tables. There are four main snippets employed for the active server page for .NET creation and one main snippet for the code behind Delphi program code.
Naming conventions for the active server pages and the code behind perform much of the file tailoring and code generation tasks.
For generation of the active server page the master page designation, the page title and the page name are employed from the table for subsequent code generation.
For generation of the code behind Delphi code the page name from the detail record is employed to make the new code program name and class names required to make the program complete and functional.
Before the creation of this code generator to create fifteen active server pages for .NET could take up to two hours of repetitive coding. Now simply key in only the particular attributes that comprises the active server page and the require code behind and then click the Make All option on the Primary Menu and the code is generate (all fifteen pages) in only a few seconds that require zero testing and zero debugging.
This particular tool focuses on Delphi for .NET but tools also exist that produce similar results for C#, C++ and Visual Basic.

By Arch Brooks

0 komentar:

Copyright © 2008 - Computer - is proudly powered by Blogger
Blogger Template