Design patterns can be very useful in Python. But how do you know which patterns to choose, and the right and wrong ways to implement them? This advanced tutorial offers many practical examples of the good, the bad, and the beautiful methods for solving problems in Python with design patterns. You'll also learn some of the theory that underpins them.
This video covers both "classical" patterns from Design Patterns: Elements of Reusable Object-Oriented Software (Addison-Wesley Professional) and variations used specifically for Python, such as Borg vs. Singleton, Template Method, and Dependency Injection.
"Practical Python Programming: Callbacks" captures one of the popular tutorial sessions presented at OSCON 2010, the O'Reilly Open Source Convention held in Portland, Oregon, in July. Other videos of OSCON 2010 sessions include:
- Automated Infrastructure is on the Menu with Chef
- Building a NoSQL Data Cloud
- Cooking with jQuery
- Django Deployment Workshop
- Hands-on Cassandra
- Introduction to Django
- Observing and Optimizing your Application with DTrace
- The Productive Programmer
- Scalable Internet Architectures
- Test-Driven Database Development
- The Seductions of Scala