In diesem Kurs werden diverse fortgeschrittene Aspekte der Perl-Programmierung behandelt; u.a. das Erstellen eigener Module, die objektorientierte Programmierung, anspruchsvolles Bearbeiten und Sortieren von Listen und die Interprozeß-Kommunikation über Sockets. Großer Wert wird auf praktische Beispiele und Übungen gelegt. Der Kurs eignet sich zur Vertiefung bereits vorhandener Perl-Kenntnisse und stellt somit eine ideale Ergänzung zum Seminar "Einführung in Perl" dar. Sie sind danach in der Lage, auch anspruchsvollste Aufgaben oder Projekte mit Perl zu bewältigen.
Inhalt
CGI-Programmierung mit
Perl
Das Modul CGI.pm
Direkte Parameterübergabe via URL-Zeile
Übergabe von Parametern durch HTML-Formulare
Verwenden von Modulen
Packages und Geltungsbereiche von Variablen
Erstellen eigener Module
Grundlagen der
objektorientierten Programmierung in Perl
Klärung von Begriffen aus der OOP-Welt (Klassen, Objekte, ...)
In drei Schritten zum eigenen Objekt
Perl-OOP in der Praxis
Verarbeiten von
Kommandozeilenparametern
Sinn und Zweck von Kommandozeilenparametern
Das Modul Getopt::Long
Fortgeschrittenes
Sortieren
Einsatz eigener Vergleichsfunktionen
Beispiel: Numerisches Sortieren
Fortgeschrittener Umgang mit
Listen
Die Funktionen grep(), map() und splice()
Dynamische Evaluation von
Programmteilen
Einsatzmöglichkeiten dynamischer Evaluation
Die Funktion eval()
Datenbankzugriff mit Perl
DBI
Was bietet DBI?
Benötigte Module zur Datenbankanbindung
Exemplarischer Zugriff auf eine MySQL- oder PostgreSQL-Datenbank
IPC (Interprocess
Communication) via Sockets
Grundlagen und Möglichkeiten der Interprozeß-Kommunikation
Das Modul IO::Socket::INET
Nutzung von Standard-Internet-Diensten
Wenn explizit gewünscht, wird auch auf Mason eingegangen. Mason ist ein excellentes Tool zum Erstellen, Betreiben und Managen großer Websites.
Seminar-Ziel
Nach diesem Seminar sind Sie in der Lage, CGI-Skripte zu schreiben, mit Modulen zu arbeiten und auch eigene Module zu erstellen. Sie wissen dann, welche fortgeschrittenen Möglichkeiten Perl bietet. Sie können auf Datenbanken zugreifen und Sockets zur Kommunikation zwischen mehreren Prozessen anlegen.
Wer sollte teilnehmen
Programmierer mit Vorkenntnissen in Perl
Dauer des Seminars
2 Tag(e), 1. Tag 10:00-17:00h, Folgetag(e) 09:00-16:00h
Teilnehmerzahl
min. 1, max. 8 Personen *** Wenn Sie sich anmelden findet der Kurs statt! ***
Seminar-Gebühren
760,00 Euro p. P. zzgl. MwSt., inkl. Seminar-Unterlagen, Teilnahmezertifikat, Mittagessen und ganztägig Getränke, Obst und Snacks
Abitur, Diplom in Mathematik und Informatik
Diverse SuSE Linux und Sun Solaris Zertifizierungen. Für alle Fragen rund um Linux und Unix ist Axel Miesen unser Experte
Im GFU-Bookshop finden Sie u. a. folgende Bücher zu diesem Seminar / Lehrgang:
Learning Perl
"Learning Perl, popularly known as "the Llama," is the book most programmers rely on to get started with Perl. The bestselling Perl tutorial since it was first published in 1993, this new fifth edition covers recent changes to the language up to Perl 5. 10. This book reflects the combined experience of its authors, who have taught Perl at Stonehenge Consulting since 1991. Years of classroom testing and experience helped shape the book´s pace and scope, and this edition is packed with exercises that let you practice the concepts while you follow the text. Topics include: * Perl data & variable types * Subroutines * File operations * Regular expressions * String manipulation * Lists & sorting * Process management * Smart matching * Using third party modules Perl is the language for people who want to get work done. Originally targeted to sysadmins for heavy-duty text processing, Perl is now a full-featured programming language suitable for almost any task on almost any platform-from short fixes on the command line to web applications, bioinformatics, finance, and much more. Other books may teach you to program in Perl, but this book will turn you into a Perl programmer. "
Seminar
Grundwissen Perl
"Das Buch "Grundwissen Perl" eignet sich sowohl für den absoluten Programmieranfänger als auch für den erfahrenen Perl-Programmierer, der seine Fähigkeiten in dieser leistungsstarken Sprache weiter ausbauen möchte. Anhand vieler praktischer Beispiele zeigt Ihnen das Buch, wie Sie Alltags-Programmieraufgaben ebenso wie anspruchsvolle Anwendungen mit Perl bewältigen können. Weiterhin wird Ihnen auf verständliche Art die objektorientierte Programmierung vermittelt und systematisch vertieft. Für den Website-Entwickler stehen viele Perl/CGI-Applikationen zum Einsatz bereit. Ein weiteres Kapitel widmet sich der Programmierung grafischer Oberflächen mit Perl/Tk. Hier wird Ihnen Schritt für Schritt erläutert, wie die einzelnen grafischen Elemente implementiert und konfiguriert werden. Des Weiteren erfahren Sie im Anhang Neues über Perl 6 und die virtuelle Maschine Parrot sowie über das Projekt Ponie. "
Seminar
Mastering Perl
"This is the third in O´Reilly´s series of landmark Perl tutorials, which started with Learning Perl, the bestselling introduction that taught you the basics of Perl syntax, and Intermediate Perl, which taught you how to create re-usable Perl software. Mastering Perl pulls everything together to show you how to bend Perl to your will. It convey´s Perl´s special models and programming idioms. This book isn´t a collection of clever tricks, but a way of thinking about Perl programming so you can integrate the real-life problems of debugging, maintenance, configuration, and other tasks you encounter as a working programmer. The book explains how to: * Use advanced regular expressions, including global matches, lookarounds, readable regexes, and regex debugging * Avoid common programing problems with secure programming techniques * Profile and benchmark Perl to find out where to focus your improvements * Wrangle Perl code to make it more presentable and readable * See how Perl keeps track of package variables and how you can use that for some powerful tricks * Define subroutines on the fly and turn the tables on normal procedural programming. * Modify and jury rig modules to fix code without editing the original source * Let your users configure your programs without touching the code * Learn how you can detect errors Perl doesn´t report, and how to tell users about them * Let your Perl program talk back to you by using Log4perl * Store data for later use in another program, a later run of the same program, or to send them over a network * Write programs as modules to get the benefit of Perl´s distribution and testing tools Appendices include "brian´s Guide to Solving Any Perl Problem" to improve your troubleshooting skills, as well as suggested reading to continue your Perl education. Mastering Perl starts you on your path to becoming the person with the answers, and, failing that, the person who knows how to find the answers or discover the problem. "
Seminar
GFU Cyrus AG Taubenholzweg 1
51105 Köln-Deutz Tel: (0221) 82809-0 Fax: (0221) 82809-50
EMail:
Vorstand: Hagen Cyrus, Karsten Kiesel Vorsitzender des Aufsichtsrats: Peter Hecker Gerichtsstand Köln,
HRB 60463, UST-Ident-Nr. DE 122 654 743