Django Essentials
暫譯: Django 基礎精要
Samuel Dauzon
- 出版商: Packt Publishing
- 出版日期: 2014-06-14
- 售價: $1,130
- 貴賓價: 9.5 折 $1,074
- 語言: 英文
- 頁數: 137
- 裝訂: Paperback
- ISBN: 1783983701
- ISBN-13: 9781783983704
-
相關分類:
Django
海外代購書籍(需單獨結帳)
商品描述
Develop simple web applications with the powerful Django framework
Overview
- Get to know MVC pattern and the structure of Django
- Create your first webpage with Django mechanisms
- Enable user interaction with forms
- Program extremely rapid forms with Django features.
- Explore the best practices to develop applications of a superior quality
In Detail
Django is a powerful Python web framework designed for rapid web application development. With the advent of frameworks such as Django, web developers have been forced to adopt MVC architectures and are encouraged to develop quality code. This quality allows several developers to work together easily and reduces the number of bugs due to human errors.
Beginning with the basics of the Web and Django, the book explains the MVC pattern. It then moves on to explain the step-by-step installation of Python, PIP, and Django on Windows, Linux, and Mac OS. Furthermore, you will learn how to create templates, models, forms, and so on. After reading the book, you will be able to quickly create dynamic web applications with AJAX and an admin part.
This book features a step-by-step approach that shows you how to program, create, and improve the quality of web applications using Django, with the help of Python.
What you will learn from this book
- Utilize the MVC pattern to create web applications
- Use Django models to store information in the database and generate queries to access a database across models
- Generate very maintainable forms with Django
- Quickly develop web pages to create, read, update, and delete data from the model using class-based views
- Construct users by using an authentication module to restrict access to certain pages
- Use AJAX with Django
- Install your website on Linux and access it through the Internet
Approach
This book features a step-by-step approach that shows you how to program, create, and improve the quality of web applications using Django, with the help of Python.
Who this book is written for
This is an ideal book for developers who want to improve the quality and maintenance of their web application, and who already have knowledge of Python and web development.
商品描述(中文翻譯)
開發簡單的網頁應用程式,使用強大的 Django 框架
概述
- 了解 MVC 模式和 Django 的結構
- 使用 Django 機制創建您的第一個網頁
- 通過表單啟用用戶互動
- 使用 Django 功能快速編寫表單
- 探索開發高品質應用程式的最佳實踐
詳細內容
Django 是一個強大的 Python 網頁框架,旨在快速開發網頁應用程式。隨著 Django 等框架的出現,網頁開發人員被迫採用 MVC 架構,並被鼓勵開發高品質的代碼。這種品質使得多位開發人員能夠輕鬆協作,並減少因人為錯誤而產生的錯誤數量。
本書從網頁和 Django 的基本概念開始,解釋了 MVC 模式。接著,逐步說明如何在 Windows、Linux 和 Mac OS 上安裝 Python、PIP 和 Django。此外,您將學習如何創建模板、模型、表單等。在閱讀完本書後,您將能夠快速創建具有 AJAX 和管理部分的動態網頁應用程式。
本書採用逐步的方法,向您展示如何使用 Python 編程、創建和提高網頁應用程式的質量。
您將從本書中學到的內容
- 利用 MVC 模式創建網頁應用程式
- 使用 Django 模型將資訊存儲在資料庫中,並生成查詢以跨模型訪問資料庫
- 使用 Django 生成可維護性極高的表單
- 快速開發網頁以使用基於類的視圖創建、讀取、更新和刪除模型中的數據
- 通過使用身份驗證模組來構建用戶,以限制對某些頁面的訪問
- 在 Django 中使用 AJAX
- 在 Linux 上安裝您的網站並通過互聯網訪問它
方法
本書採用逐步的方法,向您展示如何使用 Python 編程、創建和提高網頁應用程式的質量。
本書的讀者對象
這是一本理想的書籍,適合希望提高其網頁應用程式質量和維護性的開發人員,並且已經具備 Python 和網頁開發知識。