Modern Django Web Development: With Channels, Drf, Graphql, and React
暫譯: 現代 Django 網頁開發:使用 Channels、DRF、GraphQL 和 React
Lathkar, Malhar
相關主題
商品描述
You Will:
- Explore the full spectrum of modern Django development
- Learn how to use SQLAlchemy MongoDB with Django
- Understand Django Channels for asynchronous web apps
- Explore DRF for building REST API in Django
- Learn how to build GraphQL API with Graphene and Strawberry
- Understand how to develop a Django-React app
Who is it for:
Software developers, web developers and engineers who are interested in adding Django to their development skillset. Python Developers can also leverage the power of modern Django with the help of this practical guide.
商品描述(中文翻譯)
Django 已經發展成為一個強大的全棧框架,非常適合開發數據驅動的網頁應用程式,並不斷擴展新的工具以支持非同步解決方案、API 和即時應用程式。本書探討了現代 Django 開發的最佳實踐,包括用於 WebSockets 的 Django Channels、用於 REST API 的 Django REST Framework (DRF)、用於 GraphQL API 的 Graphene 和 Strawberry,以及與 React 構建的前端整合。內容分為兩個主要部分,以實用且易於消化的方式涵蓋基本和進階概念。
第一部分介紹了 Django 的核心概念,首先概述了網頁開發和 Python 的 asyncio 模組以進行非同步處理。接著引導您完成 Django 的安裝、專案設置和管理介面。深入解釋了模型-視圖-模板 (MVT) 架構,並有關於模型、視圖和模板的章節,展示了實際案例。此外,還涵蓋了數據庫交互,介紹了 SQLAlchemy ORM 和 MongoDB 整合,以擴展 Django 的功能,超越其預設的 ORM。
第二部分深入探討了進階的 Django 特性和更廣泛的生態系統。主題包括身份驗證、安全性、消息傳遞以及可重用的應用程式,如 Django 工具列。探討了使用 Django REST Framework 開發 REST API,隨後介紹了使用 Graphene 和 Strawberry 構建 GraphQL API 的方法。一個專門的章節涵蓋了 Django Channels 和 WebSocket 協議以支持即時應用程式。《現代 Django 網頁開發》以整合 React 來開發 Django 基於 REST、GraphQL 和 WebSocket API 的前端客戶端,實現全棧開發體驗。
您將:
- 探索現代 Django 開發的全範圍
- 學習如何在 Django 中使用 SQLAlchemy 和 MongoDB
- 了解 Django Channels 用於非同步網頁應用程式
- 探索 DRF 以在 Django 中構建 REST API
- 學習如何使用 Graphene 和 Strawberry 構建 GraphQL API
- 了解如何開發 Django-React 應用程式
適合對象:
對於希望將 Django 加入其開發技能組合的軟體開發人員、網頁開發人員和工程師。Python 開發人員也可以利用這本實用指南的幫助,發揮現代 Django 的強大功能。
作者簡介
Malhar Lathkar is an independent developer, trainer, technical writer, and author with over 30 years of experience. He holds a postgraduate degree in electronics. After a brief stint as a college lecturer, he entered into the software training and development field as an entrepreneur. Over the years, he has gained proficiency in various programming technologies and guided thousands of students and professionals from India and different countries around the world. Malhar also offers software training services to corporates. He has been associated with many EdTech companies as a freelance content developer and subject matter expert.
Malhar has written several books that have been published by well-known publishing houses (including one recently published in March 2023 by Apress) Malhar is frequently invited to conduct workshops, deliver talks for the students in various engineering colleges, and as a jury for the inter-collegiate Hackathon competitions organized by AICTE.
In his spare time, Malhar enjoys Indian classical music and keeps a keen eye on all the sporting action around the world.
作者簡介(中文翻譯)
Malhar Lathkar 是一位獨立開發者、培訓師、技術作家和作者,擁有超過 30 年的經驗。他擁有電子學的研究生學位。在短暫擔任大學講師後,他作為企業家進入了軟體培訓和開發領域。多年來,他在各種程式設計技術上獲得了熟練,並指導了來自印度及世界各地的數千名學生和專業人士。Malhar 也為企業提供軟體培訓服務。他曾作為自由內容開發者和主題專家,與多家 EdTech 公司合作。
Malhar 寫了幾本書,這些書籍由知名出版社出版(包括最近於 2023 年 3 月由 Apress 出版的一本)。Malhar 經常受邀舉辦工作坊,為各工程學院的學生演講,並擔任 AICTE 組織的校際黑客馬拉松比賽的評審。
在空閒時間,Malhar 喜歡印度古典音樂,並密切關注全球的體育賽事。