Practical Python Patterns

Python
Location: E145/E146
Please note: to attend, your registration must include Tutorials.
Average rating: ***..
(3.62, 21 ratings)

A fast-paced session meant for experienced coders, this tutorial focuses mostly on the practical issues of choosing appropriate Design Patterns for the purpose of solving problems in Python, and how best to code in accordance with those patterns; and only secondarily on the theoretical underpinnings of the endeavor (just enough to provide guidance for making practical choices in other cases not directly covered in the tutorial).

Design Patterns are shaped, among other things, by the “forces” (constraints, desires, opportunities) in play — and the technologies chosen for implementation (such as, the programming languages to be used) are a strong component of those “forces”. Therefore, appropriate choice of patterns, and implementation thereof, in Python, is going to be different from what it would be in other languages (such as C++, or Java).

The talk covers both “classical” patterns from the “Gang of 4” book, and Pythonic variations thereof (such as Borg vs Singleton, and Template Method in its many Pythonic incarnations) and other important ones such as Dependency Injection.

Photo of Alex Martelli

Alex Martelli

Google

Alex Martelli wrote “Python in a Nutshell” and co-edited
“Python Cookbook”. He’s a PSF member, and won the 2002 Activators’ Choice Award and the 2006 Frank Willison Award for contributions to the Python community. He works as Senior Staff Engineer for Google. You can read some PDFs and
watch some videos of his past presentations.

Comments on this page are now closed.

Comments

Picture of Herb Lainchbury
Herb Lainchbury
07/20/2010 5:24pm PDT

Lots of practical guidance and advice at a sufficiently advanced level. Thanks Alex.

  • Intel
  • Microsoft
  • Google
  • Facebook
  • Rackspace Hosting
  • (mt) Media Temple, Inc.
  • ActiveState
  • CommonPlaces
  • DB Relay
  • FireHost
  • GoDaddy
  • HP
  • HTSQL by Prometheus Research
  • Impetus Technologies Inc.
  • Infobright, Inc
  • JasperSoft
  • Kaltura
  • Marvell
  • Mashery
  • NorthScale, Inc.
  • Open Invention Network
  • OpSource
  • Oracle
  • Parallels
  • PayPal
  • Percona
  • Qualcomm Innovation Center, Inc.
  • Rhomobile
  • Schooner Information Technology
  • Silicon Mechanics
  • SourceGear
  • Symbian
  • VoltDB
  • WSO2
  • Linux Pro Magazine

Sponsorship Opportunities

For information on exhibition and sponsorship opportunities at the conference, contact Sharon Cordesse at scordesse@oreilly.com

Download the OSCON Sponsor/Exhibitor Prospectus

Media Partner Opportunities

Download the Media & Promotional Partner Brochure (PDF) for information on trade opportunities with O'Reilly conferences or contact mediapartners@ oreilly.com

Press and Media

For media-related inquiries, contact Maureen Jennings at maureen@oreilly.com

OSCON Newsletter

To stay abreast of conference news and to receive email notification when registration opens, please sign up for the OSCON Newsletter (login required)

OSCON 2.0 Ideas

Have an idea for OSCON to share? oscon-idea@oreilly.com

Contact Us

View a complete list of OSCON contacts