Django 5 By Example - Fifth Edition: Build powerful and reliable Python web applications from scratch

Melé, Antonio

  • 出版商: Packt Publishing
  • 出版日期: 2024-04-30
  • 售價: $1,970
  • 貴賓價: 9.5$1,872
  • 語言: 英文
  • 頁數: 820
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1805125451
  • ISBN-13: 9781805125457
  • 相關分類: DjangoPython程式語言Scratch
  • 立即出貨 (庫存 < 3)

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

相關主題

商品描述

Build four real-world Django apps and learn Django by doing. Create fully functional web applications with authentication, content management systems, payment processing, REST APIs, and more!

Purchase of the print or Kindle book includes a free eBook in PDF format.

Key Features
  • Updated with Django 5 features, detailed app planning, improved tooling, and GPT prompts for extending projects
  • Learn Django essentials, including models, ORM, views, templates, URLs, forms, authentication, signals, and middleware
  • Integrate JavaScript, PostgreSQL, Redis, Celery, Docker, and Memcached into your applications
Book Description

If you want to learn Django by doing, this book is for you.

Django 5 By Example is the fifth edition of the best-selling franchise that helps you build real-world web apps. This book will walk you through planning and creation, solving common problems, and implementing best practices using a step-by-step approach.

You'll cover a wide range of web application development topics through four different projects: a blog application, a social website, an e-commerce application, and an e-learning platform. Pick up what's new in Django 5 as you build end-to-end Python web apps, follow detailed project plans, and understand the hows and whys of Django.

This is a practical and approachable book that will have you creating web apps quickly.

What you will learn
  • Use different modules of the Django framework to solve specific problems
  • Integrate third-party Django applications into your project
  • Build complex web applications using Redis, Postgres, Celery/RabbitMQ, and Memcached
  • Set up a production environment for your projects with Docker Compose
  • Build a RESTful API with Django Rest Framework (DRF)
  • Implement advanced functionalities, such as full-text search engines, user activity streams, payment gateways, and recommendation engines
  • Build real-time asynchronous (ASGI) apps with Django Channels and WebSockets
Who this book is for

This book is for readers with basic Python programming knowledge and programmers transitioning from other web frameworks who wish to learn Django by doing. If you already use Django, or have in the past, and want to learn best practices and integrate other technologies to scale your applications, then this book is for you too. This book will help you master the most relevant areas of the framework by building practical projects from scratch.

Some previous knowledge of HTML and JavaScript is assumed.

Table of Contents
  1. Building a Blog Application
  2. Enhancing Your Blog and Adding Social Features
  3. Extending Your Blog Application
  4. Building a Social Website
  5. Implementing Social Authentication
  6. Sharing Content on Your Website
  7. Tracking User Actions
  8. Building an Online Shop
  9. Managing Payments and Orders
  10. Extending Your Shop
  11. Adding Internationalization to Your Shop
  12. Building an E-Learning Platform
  13. Creating a Content Management System
  14. Rendering and Caching Content
  15. Building an API
  16. Building a Chat Server
  17. Going Live

商品描述(中文翻譯)

透過實作建立四個真實世界的 Django 應用程式,並透過實際操作學習 Django。建立具有身分驗證、內容管理系統、付款處理、REST API 等功能的完全功能性網路應用程式!

購買印刷版或 Kindle 版本的書籍將包含一本免費的 PDF 電子書。

主要特點:
- 更新 Django 5 功能,詳細的應用程式規劃,改進的工具,以及用於擴展專案的 GPT 提示
- 學習 Django 的基礎知識,包括模型、ORM、視圖、模板、URL、表單、身分驗證、信號和中介軟體
- 將 JavaScript、PostgreSQL、Redis、Celery、Docker 和 Memcached 整合到您的應用程式中

書籍描述:
如果您想透過實作學習 Django,這本書適合您。

《Django 5 By Example》是這個暢銷系列的第五版,它將引導您通過逐步的方法規劃和建立真實世界的網路應用程式,解決常見問題並實施最佳實踐。

通過四個不同的專案,您將涵蓋各種網路應用程式開發主題:部落格應用程式、社交網站、電子商務應用程式和電子學習平台。在建立端到端的 Python 網路應用程式、遵循詳細的專案計劃以及了解 Django 的原理和方法時,您將了解 Django 5 的最新功能。

這是一本實用且易於理解的書籍,將讓您快速建立網路應用程式。

您將學到:
- 使用 Django 框架的不同模組解決特定問題
- 將第三方 Django 應用程式整合到您的專案中
- 使用 Redis、Postgres、Celery/RabbitMQ 和 Memcached 建立複雜的網路應用程式
- 使用 Docker Compose 為您的專案建立生產環境
- 使用 Django Rest Framework (DRF) 建立 RESTful API
- 實現高級功能,例如全文檢索引擎、使用者活動流、付款閘道和推薦引擎
- 使用 Django Channels 和 WebSockets 建立即時非同步 (ASGI) 應用程式

本書適合對基本 Python 編程知識有一定了解的讀者和從其他網路框架轉換的程式設計師,他們希望透過實作學習 Django。如果您已經使用過 Django,或者過去使用過 Django,並且希望學習最佳實踐並整合其他技術以擴展應用程式,那麼這本書也適合您。本書將幫助您通過從頭開始建立實用專案來掌握框架的最相關領域。

假設您具有 HTML 和 JavaScript 的基本知識。

目錄:
1. 建立部落格應用程式
2. 增強您的部落格並添加社交功能
3. 擴展您的部落格應用程式
4. 建立社交網站
5. 實現社交驗證
6. 在您的網站上分享內容
7. 追蹤使用者操作
8. 建立線上商店
9. 管理付款和訂單
10. 擴展您的商店
11. 將國際化添加到您的商店
12. 建立電子學習平台
13. 建立內容管理系統
14. 渲染和快取內容
15. 建立 API
16. 建立聊天伺服器
17. 上線