Search our courses
Training

This CGI Programming using Perl training 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.

CGI Programming using Perl

Course Code

GTPL5

Duration

3 Days

Course Fee

POA

Accreditation

N/A

Target Audience

This CGI Programming using Perl training course is suitable for Web site developers wanting to create interactive Web pages.

Attendee Requirements

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. The required skills are taught in the following course:

If you have any questions or doubts as to whether you meet the pre-requisites for this course, or indeed are wondering which course best suits you, please Contact Us to discuss your suitability for course attendance.

Expand all

Course Description

This CGI Programming using Perl training 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.

Course Outline

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

 10. Client-Side Statefulness

Stateful vs Stateless

Why use Stateful CGI Applications?

Program to Program Interaction

Stateful Access with Hidden Fields

Multiple Forms and Hidden Fields

Stateful Access with Netscape Cookies

Using Cookies with CGI.pm

Cookie Management

 11. Database Access

Server-Side Statefulness

Flat-File Databases

Structuring Text Data

File Permissions and Flat-File Databases

Perl’s DBM Interface

Perl’s DBI/DBD Interface

Issues with Statefulness

 12. Additional Web Programming Features

Extra Path Information

Frames

Server Side Includes (SSI)

The exec command

A Page Hit Counter Using SSI

Animation Description

Netscape’s Server Push

Client Pull

The GD.pm Module

 13. CGI Security Issues

Browser to Server Security Issues

CGI Security Issues

CGI Interaction with the Operating System

Database / File System Overflow

CGI and User Authentication

14. Appendix 1 – Overview of Perl

What is Perl?

Running Perl Programs

Sample Program

Another Sample Program

Yet Another Example

 15. Appendix 2 – Perl Variables

Three Types of Variables

Variable Names and Syntax

Variable Naming

Lists

Scalar and List Contexts

Hashes

Hash Functions

 16. Appendix 3 – Flow Control

Simple Statements

Simple Statement Modifiers

Compound Statements

The next, last, and redo Statements

The for Loop

The foreach Loop

Learning Path

There are a number of options of suitable follow-on courses, depending on your business needs. Please Contact Us for further details.

Ways to Attend
  • Attend a public course, if there is one available. Please check our Schedule, or Register Your Interest in joining a course in your area.
  • Private onsite Team training also available, please Contact Us to discuss. We can customise this course to suit your business requirements.

Private Team Training is available for this course

We deliver this course either on or off-site in various regions around the world, and can customise your delivery to suit your exact business needs. Talk to us about how we can fine-tune a course to suit your team's current skillset and ultimate learning objectives.

Private Team Training | Contact us

Technical ICT learning & mentoring services

Private Team Training

Our instructors are specialist consultants with vast real world experience and expertise allowing them to design and deliver client-focused courses for your organisation.

Learn more about our Private Team Training

What Our Clients Say

"Absolutely fantastic training. Thoroughly enjoyed it thanks to our highly enthusiastic tutor.  It wouldn't be an understatement to say that it was the best professional training that I have ever received."

 

Customised Linux with Networking

Live Online -  February 2022

 

"The course content was very good. When needed, the Instructor was extending the content of the course with hints and tips to help us understand different topics that were covered in the course."

 

Kubernetes Administration Certification - GTLFK

Live Online June 2021

 

 

 

“The course was held at the highest possible standards, the instructor was excellent, well prepared, well informed, and clearly an SME. Top marks.”

 

Professional Cloud Service Manager - GTC13

Live Online December 2021

 

“Very engaging and practical course so hope to be able to put the learning into practice.”

 

Being Agile in Business - GTBAB

Live Online September 2021

 

“Great instructor, who encouraged active participation. The breakout groups and exercises kept the group engaged and the content relevant to our own products”.

 

Site Reliability Engineering Foundation - GTDSRE

Live Online January 2022

 

 

 

"Intelligence is the ability to avoid doing work, yet
getting the work done"

Linus Torvalds, creator of Linux and GIT

Technical ICT learning & mentoring services

About GuruTeam

GuruTeam is a high-level ICT Learning, Mentoring and Consultancy services company. We specialise in delivering instructor-led on and off-site training in Blockchain, Linux, Cloud, Big Data, DevOps, Kubernetes, Agile, Software & Web Development technologies. View our Testimonials

Download our eBrochure
Our Accreditation Partners
  •  
  •  
  •  

 

Upcoming Courses

Kubernetes Administration

11th - 14th March 2024

26th - 29th March 2024

Live Online

 

This Kubernetes Administration Certification training course is suitable for anyone who wants to learn the skills necessary to build and administer a Kubernetes cluster

Learn More

RUST

11th - 14th March 2024

26th - 29th March 2024

 Live Online

This course will help you understand what Rust applications look like, how to write Rust applications properly, and how to get the most out of the language and its libraries.

Learn More

Introduction to Python 3 

19th - 21st March 2024

9th - 11th April 2024

7th - 9th May 2024

   4th - 6th June 2024

 

Live Online

This Introduction to Python 3 training course is designed for anyone who needs to learn how to write programs in Python or support/modify existing programs.

 

Learn More

 GO LANG TRAINING

11th - 14th March 2024

26th - 29th March 2024

 

Live Online        

 

This Go language programming training course will help you understand how Go works, and immediately be more productive. If you are building a team using Go, this will be a great opportunity to get your team on the same page and speaking the same language. Innovative lab exercises and code samples are provided to reinforce skills and quickly master the topics.

Learn More

Newsletter

Stay up to date, receive updates on scheduled dates, new courses, offers, and events.

Subscribe to our Newsletter