Django Design Patterns and Best Practices Second Edition
Arun Ravindran
- 出版商: Packt Publishing
- 出版日期: 2018-05-31
- 定價: $1,650
- 售價: 6.0 折 $990
- 語言: 英文
- 頁數: 282
- 裝訂: Paperback
- ISBN: 1788831349
- ISBN-13: 9781788831345
-
相關分類:
Django、Python、程式語言、Design Pattern
立即出貨 (庫存 < 3)
買這商品的人也買了...
-
$1,600$1,520 -
$1,270$1,207 -
$1,810$1,720 -
$580$452 -
$825Django 2 by Example
-
$749Building Django 2.0 Web Applications: Create enterprise-grade, scalable Python web applications easily with Django 2.0
-
$417Django 項目實例精解, 2/e
-
$1,500$1,425 -
$880$695 -
$534$507 -
$512Django 實戰 Python Web 典型模塊與項目開發
-
$1,758$1,665 -
$588$559 -
$880$695 -
$714$678 -
$509Elasticsearch 數據搜索與分析實戰
-
$2,100$1,995 -
$680$340 -
$1,750$1,663 -
$862Django4 實例精解
-
$1,880$1,786 -
$658Django 5 Web 應用開發實戰
-
$750$495 -
$680$530 -
$650$507
相關主題
商品描述
Build maintainable websites with elegant Django design patterns and modern best practices
Key Features
- Deep dive into various aspects of Django from Models and Views to testing and deployment
- Familiarize yourself with the various nuances of web development such as browser attacks and data design
- Guides you through various asynchronous tools like Celery, Channels.
Book Description
Building secure and maintainable web applications requires extensive knowledge of several areas. This book is not just a guide to tackle such difficult topics beyond Django but also encapsulates years of experience in the form of design patterns and best practices. Rather than stick to GoF design patterns, this book looks broadly at higher-level patterns in web development.
Using the latest version of Django and Python, this book fast track you to current developments like Channels and asyncio while building adequate conceptual background. It compares various design choices that will help you in making everyday decisions in a rapidly changing environment.
You will first learn about various architectural patterns, many of which are used to build Django itself. Start from the very beginnings of a fun superhero project by gathering requirements, creating mockups, and setting up the project. Through project-guided examples, you will explore the Model, View, templates, workflows and code reusability techniques. Throughout this book, you will learn practical Python coding techniques in Django that will enable you to tackle problems related to complex topics like legacy coding, data modelling, code reusability and so on.
You will also explore API design principles and best practices and understand the need for asynchronous workflows in websites. You will also learn popular Python code testing techniques in Django, various web security threats and their countermeasures, and go into the details of monitoring and performance of your application
What you will learn
- Understand common design patterns that can help you write better Django code
- Discover the latest best practices and idioms in this rapidly evolving framework
- Deep dive into various aspects of Django from Models and Views to testing and deployment
- Get to grips with difficult topics such as dealing with legacy code and debugging
- Familiarize yourself with the various nuances of web development such as browser attacks and data design
- Guides you through various asynchronous tools like Celery, Channels and asyncio
- Shows various patterns while designing an API interface with Django Rest Framework
- Reduce the maintenance burden with well-tested, cleaner code
- Show your work to the world by learning about hosting, deploying, and securing your Django projects
Who This Book Is For
The ideal target audience for this book would be Python Developers who are using Python for developing complex web applications and new Django developers who are trying to learn best practices.
商品描述(中文翻譯)
使用優雅的Django設計模式和現代最佳實踐來構建易於維護的網站
主要特點:
- 深入研究Django的各個方面,從模型和視圖到測試和部署
- 熟悉網站開發的各種細微差別,如瀏覽器攻擊和數據設計
- 引導您使用Celery、Channels等各種異步工具
書籍描述:
構建安全且易於維護的Web應用程序需要對多個領域有廣泛的知識。本書不僅是一本處理Django之外困難主題的指南,還以設計模式和最佳實踐的形式總結了多年的經驗。本書不僅僅局限於GoF設計模式,還廣泛探討了Web開發中的高級模式。
使用最新版本的Django和Python,本書將快速引導您了解Channels和asyncio等當前發展,同時建立適當的概念背景。它比較了各種設計選擇,這將幫助您在快速變化的環境中做出每天的決策。
您將首先了解各種架構模式,其中許多模式用於構建Django本身。從收集需求、創建模型和設置項目的有趣超級英雄項目的最開始。通過項目引導示例,您將探索模型、視圖、模板、工作流程和代碼可重用技術。在本書的整個過程中,您將學習在Django中解決與遺留代碼、數據建模、代碼可重用性等複雜主題相關的實用Python編碼技巧。
您還將探索API設計原則和最佳實踐,了解網站中異步工作流程的需求。您還將學習Django中流行的Python代碼測試技術,各種Web安全威脅及其對策,以及應用程序的監控和性能細節。
您將學到什麼:
- 瞭解常見的設計模式,幫助您編寫更好的Django代碼
- 發現這個快速發展的框架中的最新最佳實踐和慣用語法
- 深入研究Django的各個方面,從模型和視圖到測試和部署
- 掌握處理遺留代碼和調試等困難主題
- 熟悉網站開發的各種細微差別,如瀏覽器攻擊和數據設計
- 引導您使用Celery、Channels和asyncio等各種異步工具
- 在使用Django Rest Framework設計API接口時展示各種模式
- 通過經過良好測試和更清晰的代碼減輕維護負擔
- 通過學習有關主機、部署和保護Django項目的方式向世界展示您的工作
本書適合的讀者:
本書的理想目標讀者是使用Python開發複雜Web應用程序的Python開發人員,以及試圖學習最佳實踐的新Django開發人員。