- Django Design Patterns and Best Practices
- Arun Ravindran
- 240字
- 2021-06-25 21:31:57
Preface
Django is one of the most popular web frameworks today. It powers large websites such as Pinterest, Instagram, Disqus, and NASA. With a few lines of code, you can rapidly build a functional and secure website that can scale to millions of users.
This is not a book about Gang of Four design patterns.
Instead, it explains solutions to several common design problems faced by Django developers. Sometimes there are several solutions, but we tend to seek recommended approach. Experienced developers frequently use certain idioms, while deliberately avoiding certain others.
This book is a collection of such patterns and insights. It is organized into chapters each covering a key area of the framework, such as models, or an aspect of web development, such as debugging. The focus is on building clean, modular, and more maintainable code.
Every attempt has been made to present up-to-date information and use the latest versions. Django 2.0 comes loaded with exciting new features, such as its simplified URL syntax, and Python 3.6 is the bleeding edge of the language with several new modules, such as asyncio, both of which have been used here.
Superheroes are a constant theme throughout the book. Most of the code examples are about building SuperBook, a social network of superheroes. As a novel way to present the challenges of a web development project, an exciting fictional narrative has been woven into each chapter in the form of story boxes.
- Dynamics 365 Application Development
- Troubleshooting PostgreSQL
- 從0到1:Python數據分析
- Procedural Content Generation for C++ Game Development
- Mobile Device Exploitation Cookbook
- TMS320LF240x芯片原理、設計及應用
- Building Serverless Architectures
- 軟件測試綜合技術
- Mastering Apache Camel
- Web開發(fā)的平民英雄:PHP+MySQL
- VMware vSphere Design Essentials
- PHP典型模塊與項目實戰(zhàn)大全
- 計算機輔助設計與繪圖技術(AutoCAD 2014教程)(第三版)
- C#從入門到精通(微視頻精編版)
- Practical Linux Security Cookbook