Django Design Patterns and Best Practices

Arun Ravindran

  • 出版商: Packt Publishing
  • 出版日期: 2015-03-31
  • 售價: $1,870
  • 貴賓價: 9.5$1,777
  • 語言: 英文
  • 頁數: 180
  • 裝訂: Paperback
  • ISBN: 1783986646
  • ISBN-13: 9781783986644
  • 相關分類: DjangoDesign Pattern
  • 下單後立即進貨 (約3~4週)

商品描述

Easily build maintainable websites with powerful and relevant Django design patterns

About This Book

  • Unravel the common problems of web development in Django
  • Learn the current best practices while working in Django 1.7 and Python 3.4
  • Experience the challenges of working on an end-to-end social network project

Who This Book Is For

If you want to learn how best to utilize commonly found patterns and learn best practices in developing applications with Django, this is the book for you. This book, like Django itself, is accessible to amateur and professional developers alike and assumes little in the way of prior experience.

Although written for Python 3, the majority of the code in this book works in Python 2 or can be easily translated.

In Detail

Learning how to write better Django code to build more maintainable websites either takes a lot of experience or familiarity with various design patterns. Filled with several idiomatic Django patterns, Django Design Patterns and Best Practices accelerates your journey into the world of web development.

Discover a set of common design problems, each tackling aspects of Django including model design and Views, and learn several recommended solutions with useful code examples and illustrations. You'll also get to grips with the current best practices in the latest versions of Django and Python. Creating a successful web application involves much more than Django, so advanced topics including REST, testing, debugging, security, and deployment are also explored in detail.

商品描述(中文翻譯)

使用強大且相關的Django設計模式輕鬆建立易於維護的網站

關於本書
- 解決Django網頁開發中的常見問題
- 學習在Django 1.7和Python 3.4中的最佳實踐
- 通過參與一個從頭到尾的社交網絡項目,體驗工作中的挑戰

本書適合對於如何最佳利用常見模式以及在Django中開發應用程序的最佳實踐感興趣的讀者。本書像Django本身一樣,對於業餘和專業開發人員都是可接觸的,並且假設讀者在之前沒有太多經驗。

儘管本書是針對Python 3編寫的,但其中大部分代碼也適用於Python 2,或者可以輕鬆轉換。

詳細內容
學習如何撰寫更好的Django代碼,以建立更易於維護的網站,需要豐富的經驗或對各種設計模式的熟悉。《Django設計模式與最佳實踐》充滿了幾個典型的Django模式,加速您進入網頁開發的世界。

發現一組常見的設計問題,每個問題都涉及Django的不同方面,包括模型設計和視圖,並學習幾個推薦的解決方案,並提供有用的代碼示例和插圖。您還將掌握最新版本的Django和Python中的最佳實踐。創建成功的Web應用程序不僅僅涉及Django,因此還詳細探討了高級主題,包括REST、測試、調試、安全性和部署。