Skip to main content
  • Book
  • © 2017

Practical Python Design Patterns

Pythonic Solutions to Common Problems

Apress

Authors:

  • Implement 17 different design patterns to address specific situations
  • Learn how to write cleaner, more efficient "Pythonic" code
  • Master both traditional object-oriented design patterns and Python-specific design patterns

Buy it now

Buying options

eBook USD 29.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 39.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (20 chapters)

  1. Front Matter

    Pages i-xvii
  2. Before We Begin

    • Wessel Badenhorst
    Pages 1-21
  3. The Singleton Pattern

    • Wessel Badenhorst
    Pages 23-35
  4. The Prototype Pattern

    • Wessel Badenhorst
    Pages 37-60
  5. Factory Pattern

    • Wessel Badenhorst
    Pages 61-73
  6. Builder Pattern

    • Wessel Badenhorst
    Pages 75-90
  7. Adapter Pattern

    • Wessel Badenhorst
    Pages 91-103
  8. Decorator Pattern

    • Wessel Badenhorst
    Pages 105-121
  9. Facade Pattern

    • Wessel Badenhorst
    Pages 123-132
  10. Proxy Pattern

    • Wessel Badenhorst
    Pages 133-141
  11. Chain of Responsibility Pattern

    • Wessel Badenhorst
    Pages 143-165
  12. Command Pattern

    • Wessel Badenhorst
    Pages 167-177
  13. Interpreter Pattern

    • Wessel Badenhorst
    Pages 179-202
  14. Iterator Pattern

    • Wessel Badenhorst
    Pages 203-217
  15. Observer Pattern

    • Wessel Badenhorst
    Pages 219-237
  16. State Pattern

    • Wessel Badenhorst
    Pages 239-248
  17. Strategy Pattern

    • Wessel Badenhorst
    Pages 249-255
  18. Template Method Pattern

    • Wessel Badenhorst
    Pages 257-270
  19. Visitor Pattern

    • Wessel Badenhorst
    Pages 271-297
  20. Model-View-Controller Pattern

    • Wessel Badenhorst
    Pages 299-314

About this book

Become a better, more productive programmer through a series of projects that will help you deeply understand and master each of the design patterns covered. In this book you will learn to write elegant "Pythonic" code to solve common programming problems. You will also experience design thinking, by identifying design patterns that would be helpful given a specific problem or situation.


Python is eating the world. In recent years it has become so much more than a mere object-oriented, scripting language. Design patterns help you think of and solve problems in chunks. They help you to stand on the shoulders of the giants who have come before, instead of having to reinvent the wheel.




What You Will Learn
  • Craft cleaner code
  • Increase your effectiveness as a programmer
  • Write more Pythonic code
  • Solve bigger problems
  • Discover optimal solutions to common problems, done in a way that is uniquely Pythonic





Who This Book Is For 
Programmers who are comfortable with Python. It is also guide for people who have mastered other programming languages and who want to make the transition to Python.



Authors and Affiliations

  • Durbanville, South Africa

    Wessel Badenhorst

About the author

Wessel Badenhorst is deeply passionate about the process of attaining mastery, especially in the field of programming. The combination of a BSc in computer science and extensive experience in the real world gives him a balanced and practical perspective on programming, and the road every programmer must walk.


Bibliographic Information

Buy it now

Buying options

eBook USD 29.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 39.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access