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

 


“It was very positive. This course was 4 days but covered a semester worth of work if it was done in college. The labs were relevant and delegates were provided the lab/coursebook for further study and practice after the course finished. GuruTeam's course was excellent and provides a deeper understanding of the architecture and how it all works. The hands-on aspect was very helpful as it helped solidify the concepts as I went along."

 

Kubernetes Administration Certification - GTLFK

Live Online September 2024

 

 

 

“The Instructor was very knowledgeable, laid back and very approachable during the course. The environment setup was second to none.  Very easy to jump in and follow along with minimal pre-req setup."

Kubernetes Administration Certification - GTLFK

Onsite May 2024

 

“The experience was complete for me. I like how the training was sequenced - the slides organization, the examples and explanations and then the exercises. Time for exercises and support by the Instructor was great plus answering the questions and going out for answers and coming back with examples as brilliant. I loved how much I refreshed and how I learned and got inspired to improve stuff at work.”

 

Docker - GTDK1

Live Online December 2024

 

“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 Admin

10th - 13th March 2025
24th -27th March 2025
    7th - 10th April 2025
  14th - 17th April 2025

 Live Online
 GMT +00:00  09:30 - 17:00 hrs

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 PROGRAMMING

10th - 13th March 2025
24th -27th March 2025
    7th - 10th April 2025
  14th - 17th April 2025

 Live Online
 GMT +00:00  09:30 - 17:00 hrs

This Rust programming training 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

INTRO TO PYTHON 3 /ADVANCED PYTHON 3

19th - 21st March 2025

 

Live Online
GMT +00.00  09:30 - 17:00 hrs

Python is a powerful and popular object-oriented programming/
scripting language with many high quality libraries.

 

Learn More

 GO LANG TRAINING

10th - 13th March 2025
24th -27th March 2025
    7th - 10th April 2025
  14th - 17th April 2025

Live Online
GMT +00:00  09:30 - 17:00 hrs

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.

Learn More

Newsletter

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

Subscribe to our Newsletter