Book description
Make the best of your test suites by using cutting-edge software architecture patterns in Python
Key Features
- Learn how to create scalable and maintainable applications
- Build a web system for micro messaging using concepts in the book
- Use profiling to find bottlenecks and improve the speed of the system
Book Description
Developing large-scale systems that continuously grow in scale and complexity requires a thorough understanding of how software projects should be implemented. Software developers, architects, and technical management teams rely on high-level software design patterns such as microservices architecture, event-driven architecture, and the strategic patterns prescribed by domain-driven design (DDD) to make their work easier.
This book covers these proven architecture design patterns with a forward-looking approach to help Python developers manage application complexity—and get the most value out of their test suites.
Starting with the initial stages of design, you will learn about the main blocks and mental flow to use at the start of a project. The book covers various architectural patterns like microservices, web services, and event-driven structures and how to choose the one best suited to your project. Establishing a foundation of required concepts, you will progress into development, debugging, and testing to produce high-quality code that is ready for deployment. You will learn about ongoing operations on how to continue the task after the system is deployed to end users, as the software development lifecycle is never finished.
By the end of this Python book, you will have developed "architectural thinking": a different way of approaching software design, including making changes to ongoing systems.
What you will learn
- Think like an architect, analyzing software architecture patterns
- Explore API design, data storage, and data representation methods
- Investigate the nuances of common architectural structures
- Utilize and interoperate elements of patterns such as microservices
- Implement test-driven development to perform quality code testing
- Recognize chunks of code that can be restructured as packages
- Maintain backward compatibility and deploy iterative changes
Who this book is for
This book will help software developers and architects understand the structure of large complex systems and adopt architectural patterns that are scalable. Examples in the book are implemented in Python so a fair grasp of basic Python concepts is expected. Proficiency in any programming languages such as Java or JavaScript is sufficient.
Table of contents
- Preface
- Introduction to Software Architecture
- Part I
- Design
- API Design
- Data Modeling
- The Data Layer
- Part II
- Architectural Patterns
- The Twelve-Factor App Methodology
- Web Server Structures
- Event-Driven Structures
- Advanced Event-Driven Structures
- Microservices vs Monolith
- Part III
- Implementation
- Testing and TDD
- Package Management
- Part IV
- Ongoing operations
- Logging
- Metrics
- Profiling
- Debugging
- Ongoing Architecture
- Other Books You May Enjoy
- Index
Product information
- Title: Python Architecture Patterns
- Author(s):
- Release date: January 2022
- Publisher(s): Packt Publishing
- ISBN: 9781801819992
You might also like
book
Architecture Patterns with Python
As Python continues to grow in popularity, projects are becoming larger and more complex. Many Python …
book
Software Architecture with Python
Architect and design highly scalable, robust, clean, and highly performant applications in Python About This Book …
book
Python Programming with Design Patterns
Improve Your Python Code with Modern Object-Oriented Design Patterns To write clean, efficient, maintainable code, developers …
book
Python Concurrency with asyncio
Learn how to speed up slow Python code with concurrent programming and the cutting-edge asyncio library. …