Templates Based Tools for HTML Generation by Delphi.
Abstract:
The problem of HTML pages generation for Data Base request is considered. One of the methods to separate HTML-design from script consists in using templates (HTML page with special tags). The template language and the way for interaction between script and template are proposed. The interaction way is based on event handlers. This combination allows to present HTML-design evidently and to generate an arbitrary text, which is not presented in the template explicitly. Delphi implementation for proposed technology is described. Example with templates set is presented. This templates set describes HTML-design of the page presented textbooks request at Web-server 'Moscow Textbook'.