Re: ASP Coding Questions Discussion
Lin Ma wrote:
<snipped>[color=blue]
> The con may be:
> 1. too many include command to make the system slow??[/color]
It won't be slow except on the *first* page request after the server
starts. The reason is that the first time an ASP page is requested, it
is compiled to bytecode and saved in IIS memory. On successive calls,
the already-compiled bytecode is loaded. So only the first page request
will be slow. For more details see
[color=blue]
> My question is Am I Doing correct? Or there is a better solution?[/color]
While the structure you use is not common among ASP developers, it does
have some advantages and is perfectly fine, especially if it works for
you. There is no reason to abandon a successful approach.
FWIW the approach you use is sometimes called the "fusebox" approach. It
is most commonly used in the scripting language/engine Cold Fusion. But
it can be used in any language, as you can see.
Good Luck,
Michael D. Kersey
Lin Ma wrote:
<snipped>[color=blue]
> The con may be:
> 1. too many include command to make the system slow??[/color]
It won't be slow except on the *first* page request after the server
starts. The reason is that the first time an ASP page is requested, it
is compiled to bytecode and saved in IIS memory. On successive calls,
the already-compiled bytecode is loaded. So only the first page request
will be slow. For more details see
[color=blue]
> My question is Am I Doing correct? Or there is a better solution?[/color]
While the structure you use is not common among ASP developers, it does
have some advantages and is perfectly fine, especially if it works for
you. There is no reason to abandon a successful approach.
FWIW the approach you use is sometimes called the "fusebox" approach. It
is most commonly used in the scripting language/engine Cold Fusion. But
it can be used in any language, as you can see.
Good Luck,
Michael D. Kersey
Comment