How to build scalable Django applications?
At a certain size, Django projects can be particularly difficult to maintain and reason about. The framework has little prescriptive architectural structure, other than the Model-Template-View pattern, and that may be
too much freedom for projects with considerable amounts of contributors.
With that in mind, the purpose of this book is to
bring some deliberate structure to the world of Django. We'll examine and apply multiple architecture patterns in the context of the beloved framework, so that the reader can pick and choose which ones make sense for their particular problems and solutions.
Some developers believe that Django is a good framework only for small or CRUD-only projects, and that it gets in the way of implementing good patterns due to producing tightly-coupled applications, also known as the Unmanageable Monolith, or the Big Ball of Mud anti-pattern.
Opposing that, the book shows patterns and approaches for introducing structure to Django projects so that they can become less coupled and more maintainable.
What You Will Learn
Framework-Centered Architecture (FCA)
Enhance the standard Django structure without fighting the framework
by exploring a dozen classic patterns that you can adopt according to your needs.
Domain-Centered Architecture (DCA)
When your project contains a rich domain and is more than just a web application, you may want to think outside of the box. In this part, a few modern patterns are covered with the goal of providing a domain-focused structure to such applications.
Key Features
- Practical Examples
- Trade-off Analyses
- Foundational Principles
Who This Book Is For
This book is designed for intermediate to advanced Django developers who want to understand and write scalable and maintainable code.