Practical Django 2 and Channels 2: Building Projects and Applications with Real-Time Capabilities

  • 3h 12m
  • Federico Marani
  • Apress
  • 2019

Learn how to rapidly build your own ecommerce site by applying Django’s battle-tested components. This book demonstrates Django’s features and conventions to help you develop modern web applications quickly. You'll adopt a 'learn by doing' approach and gain a deeper understanding Django by working through a project in which the real-time component will be critical. The book starts with the basics and explains the difference between a Django project and a Django app, the most important settings, how to change them, and the fundamentals of packaging. You'll then be introduced to all the standard tools of Django, along with a sample project. The book then moves on to Channels, a recent addition to the Django ecosystem. It extends the framework with support for real-time operations such as Websockets and other asynchronous features.Practical Django 2 and Channels 2 provides the practical concepts needed to create complex, database-driven websites as easily as possible.

What You'll Learn

  • Build and deploy a simple company site with Django
  • Develop more complex, data-heavy sites using the Django ORMIntegrate Django with ChannelsUnit-test your solutions

Who This Book Is For

Python developers and web developers wanting to learn Django 2 and Channels 2

About the Author

Federico Marani has been a freelance software engineer and DevOps specialist for over 15 years. With a background in Computer Science and a Msc in Business Psychology, he has worked in companies ranging from e-commerce, finance, medical and banking companies. He started developing web applications with Python 1.5.2 on RedHat systems has been using Django since the first 1.x versions, more than 8 years ago. He now consults on technology strategy and tech teams with startups, and still very hands-on with coding. Open sourced a lot of code online, some of which is part of GNU Social. In his spare time, he enjoys playing drums and running.

In this Book

  • Introduction to Django
  • Getting Started with a Simple Company Site
  • Adding the Product Catalog to the Site
  • A Checkout System for Receiving Orders Online
  • Adding CSS/JavaScript to Our Django Project
  • Using External Libraries in Our Project
  • Making an Internal Dashboard for the Company
  • Backend for a Mobile Customer-Service App
  • Mobile Customer-Service App
  • How to Deploy Django Sites

YOU MIGHT ALSO LIKE

Rating 3.0 of 2 users Rating 3.0 of 2 users (2)
Rating 5.0 of 2 users Rating 5.0 of 2 users (2)
Rating 4.0 of 3 users Rating 4.0 of 3 users (3)