guideofpills.com


   Home
   Viagra
   Tramadol
   Phentermine
   Propecia
   Nexium
   Prilosec
   Lipitor
   Xenical
   Zocor
   Celebrex
   Allegra
   Claritin
   Levitra
   Penis Pill
   Diet
   Pacerone
   Zoloft
   Lose Weight
   Healthy Diet
   Taxol
   Tamone
   Links
     
 
 Sponsored Links
Gateway
Gateway Interfaces
AS-Interface



Common Gateway Interface

Common Gateway Interface (CGI) is an important World Wide Web technology that enables a client web browser to request data from a program executed on the Web server. CGI specifies a standard for passing data between the client and the program.

Originally, CGI was invented by NCSA for the NCSA HTTPd web server in 1993. This web server used Unix environment variables to store parameters passed from the web server execution environment before spawning the CGI program as a separate process.

The programming language Perl is often associated with CGI, but one of the aims of CGI is to be language-neutral. The Web server does not need to know anything about the language in question. In fact, CGI programs can be written in any scripting language or a full-fledged programming language, as long as that language can be executed on the system. Besides Perl, examples include Unix shell scripts, Python, Ruby, PHP, Tcl, C/C++, Pascal, and Visual Basic.

An example of a CGI program is the one implementing a wiki. You hand it the name of an entry; it will retrieve the source of that entry's page (if one exists), transform it into HTML, and send the result back to the browser or tell it that you want to edit a page. All wiki operations are managed by this one program.

The way CGI works from the Web server's point of view is that certain locations (e.g. http://www.example.com/wiki.cgi) are defined to be served by a CGI program. Whenever a request to a matching URL is received, the corresponding program is called, with any data that the client sent as input. Output from the program is collected by the Web server, augmented with appropriate headers, and sent back to the client.

Because this technology generally requires a fresh copy of the program to be executed for every CGI request, the workload could quickly overwhelm web servers, inspiring more efficient technologies such as mod_perl that allow script interpreters to be integrated directly into web servers as modules, thus avoiding the overhead of repeatedly loading and initializing language interpreters.

Workarounds for scripting languages

The overhead of spawning new processes to compile the server code can be easily handled if the code is occasionally changed. One example is FastCGI while others include programming accelerators that take a web script when initially called and store a compiled version of the script in system location so that further requests for the file are automatically directed to the compiled code instead of invoking the script interpreter every time the script is called. When scripts are changed the temporary accelerator cache can be emptied to ensure that the new script is called instead of the old one.

Thus for languages such as C or Pascal, which are usually compiled anyway, CGI programs are no different from other programs in this regard, and require no special processing.

Another approach used for scripting languages is to embed the interpreter directly into the web server so that it can be executed without creating a new process. The Apache web server has a number of modules such as mod_perl, mod_php, mod_python, mod_ruby, and mod_mono which do this.

See also

External links



  • Blind search dot net

  • Fun search

  • On casino

  • Toolhost.com

  • GuideofCasinos dot Com

  • Pillscatalog dot Net

  • CatalogofCasinos dot com

  • All of Finance dot com


  • .


    Try search at Google | Yahoo
        Gateway Interfaces      
        Empower mobile workforces by increasing efficiency and productivity. Psion Teklogix Inc. is a leading provider of rugged mobile computing solutions around the world. ISO 9001:2000 registered. Call 1-800-322-3437 or CLICK HERE to find out more.
       
         http://PsionTeklogix.com 
       
     
        common gateway interface Info      
        Get Info on common gateway interface from 14 search engines in 1.
       
         http://web.info.com 
       
     
        AS-Interface      
        Siemens Energy and Automation helps customers in the industrial, manufacturing and construction sectors succeed by providing complete electrical, engineering and automation solutions. Siemens serves the world's largest and most respected companies around ...
       
         http://www.sea.siemens.com/AS-Interface 
       
     
        ELLE.com Hairstyle Guide      
        Hair Tips, Styles, Tricks and more. See the latest at ELLE.com.
       
         http://ELLE.com/Hairstyles 
       
     
        52 Beauty Resolutions      
        Put a little beauty back into your life, one week at a time in 2009
       
         http://WomansDay.com/BeautyResolutions 
       
     
        Search Jobs on Yahoo! HotJobs      
        Search Jobs by Location, Industry or Keyword
       
         http://www.hotjobs.com 
       
     
        Sweep the Leg      
        Watch the Karate Kid Free Online. Exclusively on Crackle.
       
         http://crackle.com/c/The_Karate_Kid_I 
       
     
        common gateway interface Websites      
        Search for common gateway interface and more and get relevant results.
       
         http://www.bediddle.com//// 
       
     
        Like YouTube? You'll love blinkx!      
        News, sports, TV shows, cartoons, celebs...it's all on blinkx. 26 million hours of video. Watch it all!
       
         http://www.video.blinkx.com 
       
     
        Like YouTube? Check this out!      
        News, sports, TV shows, cartoons, celebs...watch it all!
       
         http://www.televerse.com/ 
       
     
        Video News & Entertainment      
        Get breaking news stories in streaming video. Today's top stories in Entertainment, Health and More. Always Free!
       
         www.ivillage.com 
       
     
        Warrior Challenge      
        A hot new reality series where average citizens get to compete with American National Guard Soldiers to win a prize to meet Dale Jr. and become the Ultimate Warrior.
       
         www.RipeTV.com 
       
     
        Gamer News, Videos, Screenshots & Reviews      
        Independent Journalism Has Arrived At Crispy Gamer. Credible Reviews Without Publishers Ads. For Serious Gamers Only.
       
         www.CrispyGamer.com 
       
     
        Babes, Beer, Sports & Videos      
        Visit Bullz-eye.com Online Men's Magazine.
       
         www.bullz-eye.com 
       
     
        Review common gateway interface deals.      
        Our common gateway interface experts have researched & listed all the latest info.
       
         http://search.frisgo.com 
       
     
        The common gateway interface Info Center      
        Top common gateway interface experts have posted common gateway interface info for you.
       
         http://www.frisgo.com 
       
     
        Hot girls doing yoga on Break.com!      
        Free Videos, Hot girls, funny pranks and more. Take a Break!
       
         http://www.break.com 
       
     
        common gateway interface      
        Search for common gateway interface and more and get relevant results.
       
         http://ww.bediddle.com// 
       
     
        START A SUCCESSFUL BUSINESS TODAY!      
        Learn how to start your own business in anything and advice on how to do it; from construction to medical businesses, Entrepreneur.com has all the tools and resources you need to get your business started and successful.
       
         http://entrepreneur.com/ask.htm 
       
     
        common gateway interface Search Results      
        Search for common gateway interface and more and get relevant results.
       
         http://www.bediddle.com/common gateway interface// 
       
     
         2000-2005 guideofpills.com