1 / 6

CGI vs ASP

CGI vs ASP. CGI Model. sends HTML back. request. Sends CGI to. runs the script and returns HTML. Script is stored in the script server. ASP Model. 4. sends HTML back. request. Browser. Server. 1. 2. 3. Sends page to. runs the script and returns HTML. ASP.dll.

spiro
Download Presentation

CGI vs ASP

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CGI vs ASP

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

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

  4. Pros and cons of CGIs • Pros: • can be written in any programming language • can run in all hardware & software platforms • large library of free applications/scripts • Cons: • performance problems, specially in Windows • more complex programming than alternatives, Perl, C and Java

  5. Pros and cons of ASP • Pros: • simpler to program in Windows, using VBScript or JavaScript • ASP.dll is loaded in the same space than IIS • designed to support data bases • Cons: • Mostly restricted to Windows platform (20+% of servers)

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

More Related