Home | Site map   
  Home Products Downloads Support Contacts
 
 

How template based code generation works

ASPRunner/PHPRunner are powerful tools that provide easy access and manipulation possibilities for databases on the Web. The main idea of these programs is using templates. Initially, before creating project with ASPRunner/PHPRunner, a user has a database and a set of ready templates, and as an output (after project is created) the user gets ready ASP/PHP pages.

Templates are plain text files that used to generate the application code. These files contain full description of web page appearance and its functionality. ASPRunner/PHPRunner just manage ready templates, substituting keywords with the specific values entered by the user in the process of project creation.

Besides keywords, templates contain special sections that will be either included into php/asp code or ignored depending on the selected settings. If a certain option is not selected by user, then corresponding section defined in the template will not be inserted into resulting code.

It is very convenient to use templates, in case you want to slightly change your site layout or add some functionality. For example, to change search parameters or display some picture on top of each page of your site. To do it, you need to edit appropriate template. You can do it with any text editor or use ASPRunner/PHPRunner built-in template editor.

After you edit and save all templates needed for it, changes you�ve made will be immediately shown on the generated pages. Afterwards, all generated pages will keep these features.

Applies to:
ASPRunner Pro
PHPRunner

Back to top

 
 

Home | Products | Downloads | Support | Contacts

  © 1999 - 2006 XLineSoft. All rights reserved. All comments send to webmaster@xlinesoft.com