Presentation is loading. Please wait.

Presentation is loading. Please wait.

CGI vs ASP. CGI Model request Sends CGI to runs the script and returns HTML sends HTML back Script is stored in the script server.

Similar presentations


Presentation on theme: "CGI vs ASP. CGI Model request Sends CGI to runs the script and returns HTML sends HTML back Script is stored in the script server."— Presentation transcript:

1 CGI vs ASP

2 CGI Model request Sends CGI to runs the script and returns HTML sends HTML back Script is stored in the script server

3 ASP Model BrowserServer ASP.dll 1 23 4 request Sends page to runs the script and returns HTML sends HTML back Script is embedded in the source page

4 Pros and cons of CGIs zPros: ycan be written in any programming language ycan run in all hardware & software platforms ylarge library of free applications/scripts zCons: yperformance problems, specially in Windows ymore complex programming than alternatives, Perl, C and Java

5 Pros and cons of ASP zPros: ysimpler to program in Windows, using VBScript or JavaScript yASP.dll is loaded in the same space than IIS ydesigned to support data bases zCons: yMostly restricted to Windows platform (20+% of servers)

6 Others zWin-CGI: programs in Visual Basic or C using the equivalent of cgi-lib.plWin-CGI zMacromedia’s Cold Fusion: code is embedded in the pages as ASP.Macromedia’s Cold Fusion zPHP: also a embedded code page generator, but free.PHP


Download ppt "CGI vs ASP. CGI Model request Sends CGI to runs the script and returns HTML sends HTML back Script is stored in the script server."

Similar presentations


Ads by Google