Build maintainable websites with elegant Django design patterns and modern best practicesKey FeaturesDeep dive into various aspects of Django from Models and Views to testing and deploymentFamiliarize yourself with the various nuances of web development such as browser attacks and data designGuides you through various asynchronous tools like Celery, Channels.Book DescriptionBuilding secure and maintainable web applications requires extensive knowledge of several areas. This book is not just a guide to tackle such difficult topics beyond Django but also encapsulates years of experience in the form of design patterns and best practices. Rather than stick to GoF design patterns, this book looks broadly at higher-level patterns in web development.Using the latest version of Django and Python, this book fast track you to current developments like Channels and asyncio while building adequate conceptual background. It compares various design choices that will help you in making everyday decisions in a rapidly changing environment.You will first learn about various architectural patterns, many of which are used to build Django itself. Start from the very beginnings of a fun superhero project by gathering requirements, creating mockups, and setting up the project. Through project-guided examples, you will explore the Model, View, templates, workflows and code reusability techniques. Throughout this book, you will learn practical Python coding techniques in Django that will enable you to tackle problems related to complex topics like legacy coding, data modelling, code reusability and so on.You will also explore API design principles and best practices and understand the need for asynchronous workflows in websites. You will also learn popular Python code testing techniques in Django, various web security threats and their countermeasures, and go into the details of monitoring and performance of your applicationWhat you will learnUnderstand common design patterns that can help you write better Django codeDiscover the latest best practices and idioms in this rapidly evolving frameworkDeep dive into various aspects of Django from Models and Views to testing and deploymentGet to grips with difficult topics such as dealing with legacy code and debuggingFamiliarize yourself with the various nuances of web development such as browser attacks and data designGuides you through various asynchronous tools like Celery, Channels and asyncioShows various patterns while designing an API interface with Django Rest FrameworkReduce the maintenance burden with well-tested, cleaner codeShow your work to the world by learning about hosting, deploying, and securing your Django projectsWho This Book Is ForThe ideal target audience for this book would be Python Developers who are using Python for developing complex web applications and new Django developers who are trying to learn best practices.About the AuthorArun Ravindran is an avid speaker and blogger who has been tinkering with Django since 2007 for projects ranging from intranet applications to social networks. He is a long-time open source enthusiast and Python developer. His articles and screencasts have been invaluable to the rapidly growing Django community. He is currently a developer member of the Django Software Foundation. Arun is also a movie buff and loves graphic novels and comics.
Author: Arun Ravindran