Don’t miss your chance to get Apress Access at $/€ 99 through Oct 29, 2019! Subscribe now >>

Practical Django 2 and Channels 2

Building Projects and Applications with Real-Time Capabilities

Authors: Marani, Federico

Download source code Free Preview
  • Covers real-time development with Django Channels
  • Based on Django version 2
  • Adopts a "Learn by Doing" approach
see more benefits

Buy this book

eBook £17.99
price for United Kingdom (gross)
  • ISBN 978-1-4842-4099-1
  • Digitally watermarked, DRM-free
  • Included format: PDF, EPUB
  • ebooks can be used on all reading devices
  • Immediate eBook download after purchase
Softcover £22.99
price for United Kingdom (gross)
  • ISBN 978-1-4842-4098-4
  • Free shipping for individuals worldwide
  • Usually dispatched within 3 to 5 business days.
About this book

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 ORM
  • Integrate Django with Channels
  • Unit-test your solutions
Who This Book Is For
Python developers and web developers wanting to learn Django 2 and Channels 2

About the authors

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 hasbeen 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.



Table of contents (10 chapters)

Table of contents (10 chapters)
  • Introduction to Django

    Pages 1-22

    Marani, Federico

  • Getting Started with a Simple Company Site

    Pages 23-54

    Marani, Federico

  • Adding the Product Catalog to the Site

    Pages 55-109

    Marani, Federico

  • A Checkout System for Receiving Orders Online

    Pages 111-178

    Marani, Federico

  • Adding CSS/JavaScript to Our Django Project

    Pages 179-203

    Marani, Federico

Buy this book

eBook £17.99
price for United Kingdom (gross)
  • ISBN 978-1-4842-4099-1
  • Digitally watermarked, DRM-free
  • Included format: PDF, EPUB
  • ebooks can be used on all reading devices
  • Immediate eBook download after purchase
Softcover £22.99
price for United Kingdom (gross)
  • ISBN 978-1-4842-4098-4
  • Free shipping for individuals worldwide
  • Usually dispatched within 3 to 5 business days.

Services for this book

Loading...

Bibliographic Information

Bibliographic Information
Book Title
Practical Django 2 and Channels 2
Book Subtitle
Building Projects and Applications with Real-Time Capabilities
Authors
Copyright
2019
Publisher
Apress
Copyright Holder
Federico Marani
eBook ISBN
978-1-4842-4099-1
DOI
10.1007/978-1-4842-4099-1
Softcover ISBN
978-1-4842-4098-4
Edition Number
1
Number of Pages
XVI, 409
Number of Illustrations
36 b/w illustrations
Topics