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

Federico Marani

  • 出版商: Apress
  • 出版日期: 2018-12-15
  • 定價: $1,380
  • 售價: 6.0$828
  • 語言: 英文
  • 頁數: 428
  • 裝訂: Paperback
  • ISBN: 1484240987
  • ISBN-13: 9781484240984
  • 相關分類: Django
  • 立即出貨

買這商品的人也買了...

商品描述

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

商品描述(中文翻譯)

學習如何透過應用Django的經過驗證的元件快速建立自己的電子商務網站。本書展示了Django的功能和慣例,以幫助您快速開發現代網絡應用程式。您將採用「學以致用」的方法,通過實際項目的工作來更深入地了解Django,其中實時組件至關重要。

本書從基礎知識開始,解釋了Django項目和Django應用程式之間的區別,最重要的設置,如何更改它們以及打包的基礎知識。然後,您將介紹Django的所有標準工具,並附帶一個示例項目。接下來,本書介紹了Channels,這是Django生態系統的最新添加。它通過支持Websockets和其他異步功能,擴展了框架的功能,用於實時操作。

《實用Django 2和Channels 2》提供了創建複雜的、以數據庫為驅動的網站所需的實用概念。

你將學到什麼:
- 使用Django建立並部署一個簡單的公司網站
- 使用Django ORM開發更複雜、數據密集的網站
- 將Django與Channels集成
- 對解決方案進行單元測試

本書適合對象:
- Python開發人員和網絡開發人員想要學習Django 2和Channels 2的人