Migrating a Web Server to IIS 5.0
|
|
Business Logic
Usually, once much of the “plumbing” is removed from a CGI application, some business logic remains to be ported. Approaches to migrating business logic include:
- Taking business logic written in a language such as C, C++, or Perl, and rewriting it as an ASP-supported scripting language such as VBScript, JScript, or PerlScript. This is a good approach when the business logic is fairly simple and if it is useful in only one or two applications.
- Encapsulating the business logic within a component. If the logic is extensive, requires more functionality than is available in a scripting environment, or is very general, this is a good approach. You can write components in any language that supports COM, including C, C++, Java, Visual Basic, Delphi, and even some implementations of COmmon Business Oriented Language (COBOL). The advantage of using components is that they can be reused in other business applications both within and outside the Web environment.
Note Server-side components run completely within the server environment. Their use has no effect on whether an application can support a particular browser on a specific platform.
© 1997-1999 Microsoft Corporation. All rights reserved.