SlideShare a Scribd company logo
RAJKIYA ENGINEERING COLLEGE, AMBEDKAR NAGAR (737)
(DEPARTMENT OF INFORMATION TECHNOLOGY)
A Colloquium presentation on
Common Gateway Interface
Under the supervision of
Miss Ritu Verma
Submitted By:
Mohit Jaiswal
Roll no.1573713017
Submitted to:
Miss Anamika Srivastava
(Asst. Professor)
 Contents
 INTRODUCTION
 CGI ARCHITECTURE
 HOW DOES CGI WORK?
 APPLICATIONS
 INTRODUCTION TO PERL
 ADVANTAGES
 DISADVANTAGES
 CONCLUSION
 REFERENCES
Introduction : What is CGI ?
 CGI stands for Common Gateway Interface in
other words, a standard ("common") way of
communicating ("interface") between different
processes ("gateway").
 The Common Gateway Interface, or CGI, is a set of standards that
define how information is exchanged between the web server and
a custom script.
 CGI Architecture Diagram
4
 Browsing using CGI
To understand the concept of CGI, lets see what happens when we click a hyper link
to browse a particular webpage or URL
 Your browser contacts the HTTP web server and demand for the URL i.e.
filename.
 Web Server will parse the URL and will look for the filename in if it finds that
file then sends back to the browser otherwise sends an error message indicating
that you have requested a wrong file.
 Web browser takes response from web server and displays either the received
file or error message.
CGI
1. HTTP request 2. Call CGI
3. CGI program’s
response
4. HTTP responseUser
Web Browser
(on client)
Application
(on server)
Server
 How does CGI work?
 Basic Setup
 That's the basic set up for a CGI form, but what
happens after the user presses Submit? Consider, for
example, this simple form:
 Name:
E-mail:
SUBMIT
 Here's the chain of events when the user hits
"Submit":
7
 Cont…
8
 What is PERL?
 Perl is a stable, cross platform programming language.
 Perl stands for Practical Extraction and Report
Language.
 It is used for mission critical projects in the public and
private sectors.
 Perl is Open Source software, licensed under its
Artistic.
 License, or the GNU General Public License (GPL).
 Perl was created by Larry Wall.
 proyectoweb2.com
 Centro de capacitacion use CMS ‐ CGI::Application
 Unlibrary.com
 Book sharing and cataloging site, uses CGI::Application, My SQL, Apache on
Linux
 Dis‐Order (metal music webshop)
 Page‐A‐Day
Calendars Online
 CGI::Application, My SQL & Apache on Linux
 Workman.com
 Ajax, site search, shopping cart and Gift‐O‐Matic are all CGI::Apps
 And Many more..
 Completed Websites based on
CGI: Application
 Advantages
 PLATFORM INDEPENDENCE : Most web servers support CGI,
Unix: Apache,Netscape,NCSA,Microsoft IIS.
 LANGUAGE INDEPENDENCE : Perl,TCL,C,C++ Visual basic ,
Appletscript, java.
 SCALABILITY: The simplicity of the CGI interface mean that it is
extremely scalable.
 Disadvantages
 Not Good to interact with database(connecting issue).
 Not flexible or powerful to generate dynamic HTML pages.
 For busy web site running complex applications,the
performance problem become critical issue.
 It is free not easy to sell the web server products with
free software.
 Scope of Research
 Popularity Contest for CPAN Modules
 Offline Command Line Search for CPAN
 Which tests matter?
 Binary CPAN mirror.
 Conclusion
 CGI is not a language .
 CGI is a protocol defining how server program interact
with application programs to process the HTTP request
& return the HTTP response.
 Reference
 http://www.w3.org/CGI/
 www.studymafia.org
 https://en.wikipedia.org/wiki/CommonGateway_Interfac
e
Mohit Jaiswal
Mohit Jaiswal

More Related Content

PPT
Android ppt
PPSX
Android - A brief introduction
PPTX
Presentation on Android
PPTX
PPT on Android
PPTX
Android technology prepared by Hritika Raj (Shivalik college of engg.)
PDF
What's new in Android Pie
PPTX
android phone feature and value for user
PPTX
Android history,features,applications,hardware development and versions
Android ppt
Android - A brief introduction
Presentation on Android
PPT on Android
Android technology prepared by Hritika Raj (Shivalik college of engg.)
What's new in Android Pie
android phone feature and value for user
Android history,features,applications,hardware development and versions

What's hot (20)

PPTX
Android ppt
PPTX
Android Introduction 2013
PPTX
Android ppt for saravanan angel
PPT
Android PPT
PDF
Android 10 released check out new features
PDF
Evolution of android operating system
PPT
Android workShop
PPT
PPSX
Android OS and its Features
PPTX
Introduction to Android - Seminar
PPTX
Android ppt
PDF
Android tutorial points
PPTX
Android Presentation [Final]
PPT
Android Applications
PPT
PDF
Android
PPTX
Android OS by Prasad & Sarang
PDF
Android Platform Architecture
PPTX
Android Programming Seminar
PPT
An introduction to Android
Android ppt
Android Introduction 2013
Android ppt for saravanan angel
Android PPT
Android 10 released check out new features
Evolution of android operating system
Android workShop
Android OS and its Features
Introduction to Android - Seminar
Android ppt
Android tutorial points
Android Presentation [Final]
Android Applications
Android
Android OS by Prasad & Sarang
Android Platform Architecture
Android Programming Seminar
An introduction to Android
Ad

Similar to Mohit Jaiswal (20)

PPTX
Common Gateway Interface ppt
PPTX
CGI Seminar.pptxbcfffvghuhgggyuuuyhhhhhy
DOCX
Copy of cgi
PDF
SERVER SIDE SCRIPTING
PPS
Web Development in Perl
DOC
Perl web programming
PPTX
PPT
Fm 2
PPT
Building dynamic websites with Mod perl and apache
PPT
CGI Introduction
ODP
Introduction to Web Programming with Perl
PDF
Modern Web Development with Perl
PPT
CGI Presentation
PDF
Slides serverside main
Common Gateway Interface ppt
CGI Seminar.pptxbcfffvghuhgggyuuuyhhhhhy
Copy of cgi
SERVER SIDE SCRIPTING
Web Development in Perl
Perl web programming
Fm 2
Building dynamic websites with Mod perl and apache
CGI Introduction
Introduction to Web Programming with Perl
Modern Web Development with Perl
CGI Presentation
Slides serverside main
Ad

Recently uploaded (20)

PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Machine learning based COVID-19 study performance prediction
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Empathic Computing: Creating Shared Understanding
PPTX
Cloud computing and distributed systems.
PDF
Approach and Philosophy of On baking technology
PDF
Encapsulation theory and applications.pdf
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PPTX
Spectroscopy.pptx food analysis technology
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PPTX
Programs and apps: productivity, graphics, security and other tools
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPT
Teaching material agriculture food technology
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
The AUB Centre for AI in Media Proposal.docx
Machine learning based COVID-19 study performance prediction
Unlocking AI with Model Context Protocol (MCP)
Empathic Computing: Creating Shared Understanding
Cloud computing and distributed systems.
Approach and Philosophy of On baking technology
Encapsulation theory and applications.pdf
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Spectroscopy.pptx food analysis technology
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Building Integrated photovoltaic BIPV_UPV.pdf
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Programs and apps: productivity, graphics, security and other tools
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Chapter 3 Spatial Domain Image Processing.pdf
Teaching material agriculture food technology

Mohit Jaiswal

  • 1. RAJKIYA ENGINEERING COLLEGE, AMBEDKAR NAGAR (737) (DEPARTMENT OF INFORMATION TECHNOLOGY) A Colloquium presentation on Common Gateway Interface Under the supervision of Miss Ritu Verma Submitted By: Mohit Jaiswal Roll no.1573713017 Submitted to: Miss Anamika Srivastava (Asst. Professor)
  • 2.  Contents  INTRODUCTION  CGI ARCHITECTURE  HOW DOES CGI WORK?  APPLICATIONS  INTRODUCTION TO PERL  ADVANTAGES  DISADVANTAGES  CONCLUSION  REFERENCES
  • 3. Introduction : What is CGI ?  CGI stands for Common Gateway Interface in other words, a standard ("common") way of communicating ("interface") between different processes ("gateway").  The Common Gateway Interface, or CGI, is a set of standards that define how information is exchanged between the web server and a custom script.
  • 5.  Browsing using CGI To understand the concept of CGI, lets see what happens when we click a hyper link to browse a particular webpage or URL  Your browser contacts the HTTP web server and demand for the URL i.e. filename.  Web Server will parse the URL and will look for the filename in if it finds that file then sends back to the browser otherwise sends an error message indicating that you have requested a wrong file.  Web browser takes response from web server and displays either the received file or error message.
  • 6. CGI 1. HTTP request 2. Call CGI 3. CGI program’s response 4. HTTP responseUser Web Browser (on client) Application (on server) Server  How does CGI work?
  • 7.  Basic Setup  That's the basic set up for a CGI form, but what happens after the user presses Submit? Consider, for example, this simple form:  Name: E-mail: SUBMIT  Here's the chain of events when the user hits "Submit": 7
  • 9.  What is PERL?  Perl is a stable, cross platform programming language.  Perl stands for Practical Extraction and Report Language.  It is used for mission critical projects in the public and private sectors.  Perl is Open Source software, licensed under its Artistic.  License, or the GNU General Public License (GPL).  Perl was created by Larry Wall.
  • 10.  proyectoweb2.com  Centro de capacitacion use CMS ‐ CGI::Application  Unlibrary.com  Book sharing and cataloging site, uses CGI::Application, My SQL, Apache on Linux  Dis‐Order (metal music webshop)  Page‐A‐Day Calendars Online  CGI::Application, My SQL & Apache on Linux  Workman.com  Ajax, site search, shopping cart and Gift‐O‐Matic are all CGI::Apps  And Many more..  Completed Websites based on CGI: Application
  • 11.  Advantages  PLATFORM INDEPENDENCE : Most web servers support CGI, Unix: Apache,Netscape,NCSA,Microsoft IIS.  LANGUAGE INDEPENDENCE : Perl,TCL,C,C++ Visual basic , Appletscript, java.  SCALABILITY: The simplicity of the CGI interface mean that it is extremely scalable.
  • 12.  Disadvantages  Not Good to interact with database(connecting issue).  Not flexible or powerful to generate dynamic HTML pages.  For busy web site running complex applications,the performance problem become critical issue.  It is free not easy to sell the web server products with free software.
  • 13.  Scope of Research  Popularity Contest for CPAN Modules  Offline Command Line Search for CPAN  Which tests matter?  Binary CPAN mirror.
  • 14.  Conclusion  CGI is not a language .  CGI is a protocol defining how server program interact with application programs to process the HTTP request & return the HTTP response.
  • 15.  Reference  http://www.w3.org/CGI/  www.studymafia.org  https://en.wikipedia.org/wiki/CommonGateway_Interfac e