O'Reilly Open Source Convention
oreilly.comO'Reilly Network
Conferences International Safari: Books Online

Arrow Home
Arrow Registration
Arrow Speakers
Arrow Keynotes
Arrow Tutorials
Arrow Sessions
Arrow At-a-Glance
Arrow BOFs
Arrow Events
Arrow Exhibitors
Arrow Sponsors
Arrow Hotel/Travel
Arrow Venue Map
Arrow See & Do
Arrow Press
Arrow Mail List
Kids World

From the Frontiers of Research to the Heart of the Enterprise
O'Reilly Open Source Convention
Sheraton San Diego Hotel and Marina
July 22-26, 2002 -- San Diego, CA



POE Tutorial
Matt Sergeant, MessageLabs Inc.

Track: Perl
Date: Tuesday, July 23
Time: 8:45am - 12:15pm
Location: Harbor Island I

This tutorial will introduce POE, the Perl Object Environment, what POE is (exactly) what it does, what it is useful for, and go through the concepts involved, introducing them one-by-one with code examples.

  • POE acted out live. A captain and a few dinghys and lots of shouting messages. Requires audience participation.
  • What is POE, concepts, principals, high level overview.
  • What is it good for (network servers, daemons, network clients, GUI controllers, even one off scripts) and why.
  • POE Sessions - the sea of objects.
  • The POE Kernel - sending messages, setting alarms/delays, naming sessions, watching IO handles.
  • State Machines. What is one, and why POE is perfect for this.
  • Writing simple POE applications - a daemon that executes some code every 10 seconds, a TCP echo server.
  • POE Components (examples of PoCo::Client::HTTP, PoCo::Logger, PoCo::Server::HTTP).
  • Threading techniques - how to write threaded code for POE, subtle non-obvious issues, examples of where threading helps, producer-consumer problems.
  • Inter-Kernel Communication - possible uses for HTTP session management, load balancing, replication, centralised logging.

oreilly.com Home | O'Reilly Bookstores | How to Order | O'Reilly Contacts
International | About O'Reilly | Affiliated Companies | Privacy Policy

© 2001, O'Reilly Media, Inc.