Django 5 for the Impatient - Second Edition: Learn the core concepts of Django to develop Python web applications
Correa, Daniel, Lim, Greg
- 出版商: Packt Publishing
- 出版日期: 2024-09-27
- 售價: $1,490
- 貴賓價: 9.5 折 $1,416
- 語言: 英文
- 頁數: 228
- 裝訂: Quality Paper - also called trade paper
- ISBN: 1835461557
- ISBN-13: 9781835461556
-
相關分類:
Django、Python、程式語言
海外代購書籍(需單獨結帳)
相關主題
商品描述
Get up and running with Django quickly by delving into practical code examples and build real-world Django applications
Key Features:
- Develop web applications with Python and Django quickly
- Understand Django features with concise explanations and learn how to use them in a practical way
- Create a movie store app with a responsive user interface and deploy it to the cloud
- Purchase of the print or Kindle book includes a free PDF eBook
Book Description:
Learning Django can be a challenging and time-consuming activity without the right guidance. With hundreds of tutorials, loads of documentation, and unclear explanations out there, it's easy to lose sight of what's most important. This book stands out by teaching you how to use Django in just a few days with a focused approach. In this second edition, you'll go on a fun, practical, and pragmatic journey to learning full-stack development with Django 5. You'll start building your first Django app within minutes. As you progress, you'll learn from concise explanations that will help you get to grips with some of the most important Django features, including URLs, views, templates, models, CSS inclusion, image storage, Django admin panel, and more. You'll also understand how to design Django MVT (Model-View-Template) architectures and implement them. Additionally, you'll use Django to develop a movie store application and deploy it to the internet.
By the end of this book, you'll be able to build and deploy your own Django web applications confidently.
What You Will Learn:
- Understand and use Django key features, including URLs, templates, models, and forms
- Implement responsive user interfaces using Bootstrap
- Manage data storage in databases effectively
- Explore the powerful built-in admin interface with Django
- Harness Django's powerful built-in authentication system
- Deploy your Django project on the internet for users
Who this book is for:
This book is for Python developers of any experience level who want to build full-stack web applications using Django. Anyone new to Django can get started with this book.
Table of Contents
- Installing Python and Django, and Introducing the Movies Store Application
- Understanding the Project Structure and Creating Our First App
- Designing a Base template
- Creating a Movies App with Dummy Data
- Working with Models
- Collecting and Displaying Data from the Database
- Understanding the Database
- Implementing User Signup and Login
- Letting Users Create, Read, Update, and Delete Movie Reviews
- Implementing a Shopping Cart System
- Implementing Order and Item Models
- Implementing the Purchase and Orders Pages
- Deploying the Application to the Cloud
商品描述(中文翻譯)
快速上手並運行 Django,透過實用的程式碼範例來構建真實世界的 Django 應用程式
主要特點:
- 快速使用 Python 和 Django 開發網頁應用程式
- 透過簡明的解釋了解 Django 的特性,並學習如何以實際方式使用它們
- 創建一個具有響應式使用者介面的電影商店應用程式並將其部署到雲端
- 購買印刷版或 Kindle 書籍可獲得免費 PDF 電子書
書籍描述:
學習 Django 可能是一項具有挑戰性且耗時的活動,尤其在缺乏正確指導的情況下。面對數百個教程、海量的文檔和不清晰的解釋,很容易忽略最重要的內容。本書的特色在於以專注的方式教你如何在短短幾天內使用 Django。在這第二版中,你將展開一段有趣、實用且務實的旅程,學習使用 Django 5 進行全端開發。你將在幾分鐘內開始構建你的第一個 Django 應用程式。隨著進展,你將從簡明的解釋中學習,幫助你掌握一些最重要的 Django 特性,包括 URL、視圖、模板、模型、CSS 包含、圖像存儲、Django 管理面板等。你還將了解如何設計 Django MVT(模型-視圖-模板)架構並實施它們。此外,你將使用 Django 開發一個電影商店應用程式並將其部署到互聯網上。
在本書結束時,你將能夠自信地構建和部署自己的 Django 網頁應用程式。
你將學到的內容:
- 理解並使用 Django 的關鍵特性,包括 URL、模板、模型和表單
- 使用 Bootstrap 實現響應式使用者介面
- 有效管理數據庫中的數據存儲
- 探索 Django 強大的內建管理介面
- 利用 Django 強大的內建身份驗證系統
- 將你的 Django 專案部署到互聯網上供用戶使用
本書適合對象:
本書適合任何經驗水平的 Python 開發者,想要使用 Django 構建全端網頁應用程式的人。任何對 Django 新手的人都可以從本書開始。
目錄:
- 安裝 Python 和 Django,並介紹電影商店應用程式
- 理解專案結構並創建我們的第一個應用程式
- 設計基礎模板
- 使用虛擬數據創建電影應用程式
- 與模型一起工作
- 收集並顯示來自數據庫的數據
- 理解數據庫
- 實施用戶註冊和登錄
- 讓用戶創建、閱讀、更新和刪除電影評論
- 實施購物車系統
- 實施訂單和項目模型
- 實施購買和訂單頁面
- 將應用程式部署到雲端