Subscribe and be notified whenever new books are published. View Sample Newsletter Or RSS Feed

Django Design Patterns and Best Practices

By: Arun Ravindran
Pages: 180
Publisher: Publisher object
Publication Date: March 26, 2015

Easily build maintainable websites with powerful and relevant Django design patterns

About This Book

  • Unravel the common problems of web development in Django
  • Learn the current best practices while working in Django 1.7 and Python 3.4
  • Experience the challenges of working on an end-to-end social network project

Who This Book Is For

If you want to learn how best to utilize commonly found patterns and learn best practices in developing applications with Django, this is the book for you. This book, like Django itself, is accessible to amateur and professional developers alike and assumes little in the way of prior experience.

Although written for Python 3, the majority of the code in this book works in Python 2 or can be easily translated.

What You Will Learn

  • Understand common design patterns that can help you write better Django code
  • Discover the latest best practices and idioms in this rapidly evolving framework
  • Deep dive into various aspects of Django from Models and Views to testing and deployment
  • Get to grips with difficult topics such as dealing with legacy code and debugging
  • Familiarize yourself with the various nuances of web development such as browser attacks and databases
  • Reduce the maintenance burden with well-tested, cleaner code
  • Show your work to the world by learning about hosting, deploying, and securing your Django projects

In Detail

Learning how to write better Django code to build more maintainable websites either takes a lot of experience or familiarity with various design patterns. Filled with several idiomatic Django patterns, Django Design Patterns and Best Practices accelerates your journey into the world of web development.

Discover a set of common design problems, each tackling aspects of Django including model design and Views, and learn several recommended solutions with useful code examples and illustrations. You'll also get to grips with the current best practices in the latest versions of Django and Python. Creating a successful web application involves much more than Django, so advanced topics including REST, testing, debugging, security, and deployment are also explored in detail.