Django Essentials

Samuel Dauzon

  • 出版商: Packt Publishing
  • 出版日期: 2014-06-14
  • 售價: $1,030
  • 貴賓價: 9.5$979
  • 語言: 英文
  • 頁數: 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架構並被鼓勵開發高質量的代碼。這種質量使得多個開發人員能夠輕鬆合作,並減少由於人為錯誤而引起的錯誤數量。

本書從Web和Django的基礎知識開始,解釋了MVC模式。然後,它逐步解釋了在Windows、Linux和Mac OS上安裝Python、PIP和Django的步驟。此外,您還將學習如何創建模板、模型、表單等。閱讀本書後,您將能夠使用AJAX和管理部分快速創建動態網絡應用程式。

本書採用逐步方法,向您展示如何使用Python和Django編寫、創建和改進網絡應用程式的質量。

本書的學習重點:
- 使用MVC模式創建網絡應用程式
- 使用Django模型將信息存儲在數據庫中,並生成跨模型訪問數據庫的查詢
- 使用Django生成易於維護的表單
- 使用基於類的視圖快速開發網頁,以從模型中創建、讀取、更新和刪除數據
- 使用身份驗證模塊構建用戶,以限制對某些頁面的訪問
- 使用Django進行AJAX操作
- 在Linux上安裝您的網站並通過互聯網訪問

本書適合對Python和網絡開發已有一定了解的開發人員,他們希望提高其網絡應用程式的質量和維護性。