Python Programming with Design Patterns
To write clean, efficient, maintainable code, developers everywhere turn to design patterns. Now there's a Python-specific patterns guide that's friendly and practical enough for every Python developer, regardless of experience. Best-selling patterns author James W. Cooper presents visual, example-driven explanations of 23 proven patterns for writing superior object-oriented code. Through clear and intuitive code samples, he introduces modern techniques for creating Python objects that interact effectively in powerful, flexible programs. Python newcomers--including those moving from other languages--will find a succinct introduction designed to get them up to speed fast.
Features
- Review the essentials of Python objects and visual programming
- Learn what design patterns are, and how they help you write better code
- Use creational patterns to enhance flexibility and avoid unnecessary complexity
- Apply structural patterns to ensure that program elements work together well in large programs
- Optimize communication between objects with behavioral patterns
PART I: Introduction –
1. Introduction to Objects 2. Visual Programming in Python 3. Visual Programming of Tables of Data 4. What Are Design Patterns?
Part II: Creational Patterns –
5. The Factory Pattern 6. The Factory Method Pattern 7. The Abstract Factory Pattern 8. The Singleton Pattern 9. The Builder Pattern 10. The Prototype Pattern 11. Summary of Creational Patterns
PART III: Structural Patterns –
12. The Adapter Pattern 13. The Bridge Pattern 14. The Composite Pattern 15. The Decorator Pattern 16. The Facade Pattern 17. The Flyweight Pattern 18. The Proxy Pattern 19. Summary of Structural Patterns
PART IV: Behavioral Patterns –
20. Chain of Responsibility Pattern 21. The Command Pattern 22. The Interpreter Pattern 23. The Iterator Pattern 24. The Mediator Pattern 25. The Memento Pattern 26. The Observer Pattern 27. The State Pattern 28. The Strategy Pattern 29. The Template Pattern 30. The Visitor Pattern
Part V: A Brief Introduction To Python –
31. Variables and Syntax in Python 32. Making Decisions in Python 33. Development Environments 34. Python Collections and Files 35. Functions
Book | |
---|---|
Author | Cooper |
Pages | 352 |
Year | 2024 |
ISBN | 9789361594564 |
Publisher | Pearson |
Language | English |
Uncategorized | |
Edition | 1/e |
Weight | 426 g |
Dimensions | 23.5 x 17.2 x 1.4 cm |
Binding | Paperback |