Hands-on Advanced PERL Programming (Part2)

5 Days course

Language: English

This course is only available on request!!


DESCRIPTION
The course gives a thorough treatment of packages, modules, libraries, and references so that the students will then have the necessary background to understand objects.
A treatment of object orientation follows so that students will be able to understand applications areas through modules such as Tk.pm, DBI.pm, CGI.pm and Socket.pm

WHAT YOU WILL LEARN
Download, install, and use Modules from the Comprehensive Perl Archive Network (CPAN)
Use the modules in the Standard Perl Distribution
Write POD (Pain Old Documentation) sections of Perl modules.
Use Perl references to solve many programming problems including those problems involving arbitrarily complex data structures.
Use associative arrays in a wide variety of commonly arising programming solutions
Distinguish among packages, modules, libraries, and classes
Create objects and reuse classes
Write and use modules that implement the object oriented paradigm
Write client/server applications using the Socket.pm module
Write Graphical User Interfaces (GUIs) in Perl by using the Tk.pm module.
Write Perl CGI (Common Gateway Interface) scripts that extend the services provided by Web Servers.
Write Perl applications that make queries to real databases through the use of the DBI.pm module

WHO SHOULD ATTEND:
Programmers, end users, system administrators, network administrators, CGI script writers, or anybody who is interested in automating tasks.

ASSUMED KNOWLEDGE
Students should have attended the Perl Programming course or have equivalent knowledge.

OUTLINES

  CHAPTER 1: WHAT YOU SHOULD ALREADY KNOW
1) A quick review of Perl (through a Perl program)
2) Perl Libraries
3) The Standard Perl Libraries
4) Packages
5) Modules
6) Using .pm modules
7) Exporter.pm
8) CPAN

  CHAPTER 2: ASSOCIATIVE ARRAYS
1) Introduction
     Associative Arrays as Dual Arrays
     A Hashing Algorithm
     Collisions
     Associative Arrays
2) Sorting by Keys or Values
     Finding Unique Tokens in a File
     Reverse Lookups
     Selecting the top n elements from a list

  CHAPTER 3: REFERENCES AND DATA STRUCTURES
1) Introduction
2) Scalar References
3) Array References
4) Hash References
5) Prototypes
6) Higher Dimensional Arrays
7) Complex Hashes
8) References and Subroutines
9) Linked Lists

  CHAPTER 4: OBJECT ORIENTED PROGRAMMING
1) Introduction
2) Modules included with the distribution
3) The Comprehensive Perl Archive Network
4) Object Oriented Vocabulary
5) The class Definition
6) Defining and Using objects
7) Information Hiding
8) Instance Methods
9) Destructors
10) Class methods
11) Inheritance
12) Polymorphism
13) Documenting Perl Code
14) IO.pm

  CHAPTER 5: PERL/TK
1) Introduction
2) Widgets
3) Event Driven Programming
4) Geometry Management
5) pack()
6) grid()
7) place()
8) Buttons
9) Checkboxes
10) RadioButtons
11) Label
12) Entry
13) ListBox
14) Scrollbars
15) The Text Widget
     Menus
     Frames
     Top Level Widgets
     Dialog Boxes
     Bind

  CHAPTER 6: CLIENT/SERVER APPLICATIONS USING TCP/IP
1) Client/Server fundamentals
2) A simple Client
3) A simple Server
4) Client Server using Socket.pm
5) Example: a File Server
6) A GUI File Server using the Tk extensions
7) ftp, email, etc

  CHAPTER 7: CGI.PM
1) What is CGI
2) What is CGI.pm
3) Creating a CGI object
4) Retrieving Parameter Info
5) Creating the HTTP header and footer
6) start_html()
7) Tags
8) Tables
9) Forms
10) Text Fields
11) Text Areas
12) Passwords
13) CheckBox Group
14) Individual CheckBox
15) RadioButton Group
16) Popup Menu
17) Scrolling List
18) Reset Button
19) Hidden Fields
20) Submit Button
21) Clickable Image
22) JavaScript Buttons
23) Cookies
24) Debugging

  CHAPTER 8: ACCESSING REAL DATABASES IN PERL
1) What is DBI
2) A Review of SQL and Relational Databases
3) Accessing A Relational Database
4) Updating Databases with SQL
5) DBI Architecture
6) Handles
7) An Example
8) Executing a Query
9) Retrieving Query Results
10) Other Means of Retrieving Data
11) Binding output Columns
12) Accessing Database Metadata
13) Handling Quotes
14) Debugging BDI programs
15) Error Handling

Back to top


[HOME] [dates] [reserve] [seminars]
FDDI Institute
De Regenboog 11 - 2800 Mechelen - Belgium - Europe
Tel 32 15 24 50 58 - Fax 32 15 25 10 50