CGI Programming Using Perl
Course
Inhouse
Description
-
Type
Course
-
Methodology
Inhouse
-
Start date
Different dates available
This course bridges the gap between using HTML to create static Web pages and using Perl CGI scripts to create dynamic Web pages. The course emphasizes using the Perl 5 CGI library routines to process HTML forms by providing extensive working examples and by students writing applications to illustrate the concepts presented. This course is not intended to be a substitute for a Perl programming course.
Facilities
Location
Start date
Start date
About this course
Web site developers wanting to create interactive Web pages.
Familiarity with HTML forms. Programming experience is required. Basic UNIX skills and the ability to use VI or a basic text editor are also required.
Reviews
This centre's achievements
All courses are up to date
The average rating is higher than 3.7
More than 50 reviews in the last 12 months
This centre has featured on Emagister for 6 years
Subjects
- HTML
- Perl
- Web
- Programming
- CGI
Course programme
#text-block-10 { margin-bottom:0px; text-align:left; }
1. Course Introduction
Course Objectives Course Overview
Suggested References
2. The Internet and the Web
TCP/IP and Ports
DNS vs. Hosts Files Servers and Clients
Client/Server Protocols
3. Browsers and Servers
URLs
WEB Browsers and Servers
The Hypertext Transfer Protocol HTTP Requests and Responses HTTP Headers HTTP Requests Mime Types
4. Introduction to CGI
HTML Tag Structure
HTML Document Structure URLs and CGI CGI Programs
Running and Debugging from the
Command Line
Running and Debugging from a Browser Handling an HTML Form with CGI Generating HTML
5. CGI and Perl
Perl
Perl Programs
Why Use CGI.pm (and Where is It?)
Running and Debugging from the
Command Line
Generating HTML with CGI.pm
Running and Debugging from a Browser
6. Generating HTML
Introduction to CGI.pm
How to use CGI.pm’s Online
Documentation
CGI.pm’s Rules for General HTML Tags CGI.pm’s Rules for HTML Form Tags Named vs. Positional Parameters in
CGI.pm
7. Generating Forms
General Structure of HTML Forms Form Element Tags Pushbuttons Radiobuttons Checkboxes
Popups and Listboxes
Textfields, Passwords, and Textareas
8. CGI Data Flow Architecture
URL Encoding and Decoding
Data Flow between Browsers and
Servers GET vs. POST Which to Use?
CGI Environment Variables
Accessing CGI’s Environment Variables
9. Processing Form Data
Static Forms
Dynamic Forms
Controlling Flow with User Input
Accessing Form Data Using CGI.pm The param Method of CGI.pm Sticky Widgets
Validating Input from the Browser Command Line Debugging
#text-block-11 { margin-bottom:0px; text-align:left; }
7. Loops The for Loop
The while Loop
break and continue
Reading Lines From Files Using Arrays with Loops
8. Special Variables
$$ – PID of Shell
Command-Line Arguments $# – Number of Arguments $* – All Arguments The shift Command The set Command Getting Options
9. Quoting Mechanisms
Single vs. Double Quotes What is a Here Document? Using a Here Document Here Document Quoting Ignoring Leading Tabs
10. Functions
Shell Functions
Passing Arguments to Functions Returning Values from Functions Function Declarations
11. Advanced Programming
Shell Arithmetic
The select Statement
Terminal Independence in Scripts The eval Command
12. Debugging Techniques
Using echo
CGI Programming Using Perl