Two Scoops of Django: Best Practices For Django 1.5

Daniel Greenfeld, Audrey M. Roy

  • 出版商: CreateSpace Independ
  • 出版日期: 2013-04-16
  • 售價: $1,470
  • 貴賓價: 9.5$1,397
  • 語言: 英文
  • 頁數: 312
  • 裝訂: Paperback
  • ISBN: 1481879707
  • ISBN-13: 9781481879705
  • 相關分類: Django
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

商品描述

Update!

The third edition, Two Scoops of Django: Best Practices For Django 1.8 is available! Revised and expanded to 532 pages, it's a whole new book full of new material. Please consider it before purchasing this edition!

http://www.amazon.com/Two-Scoops-Django-Best-Practices/dp/0981467342

Two Scoops of Django: Best Practices For Django 1.5 is chock-full of material that will help you with your Django projects.

We'll introduce you to various tips, tricks, patterns, code snippets, and techniques that we've picked up over the years.

We have put thousands of hours into writing and revising its 300+ pages of concise, example-packed text.

What is everyone saying about Two Scoops of Django?

  • “A single read-through of Two Scoops of Django gave me so many lightbulbs and tips; I had to go back for a second helping.” -- Lynn Root, Red Hat engineer and PyLadies ambassador.
  • Ha ha, I learned something in the first chapter. Awesome. -- Zed Shaw, Author of Learn Python the Hard Way.
  • Two Scoops should provide some food for thought and usable recommendations for anybody using Django regularly. -- Malcolm Tredinnick, Django Core Contributor
  • Make sure you have your favorite project next to you while reading. You'll be doing some rewriting. -- Bryan Veloso, GitHubber, PyCon PH Keynote Speaker
  • If I could time travel, the first thing I'd do would be give my younger self a copy of this book, and make him read it. -- Randall Degges, Passionate Python Hacker
  • You know those lessons you learn when projects blow up in your face? This book contains several projects worth of such lessons. -- Lennart Regebro, author of "Porting to Python 3"
  • This book should prove to be an amazing resource for any new-to-Django developer that picks it up. -- Kenneth Love, Creator of "Getting Started with Django"
  • No matter what your skill level is, Two Scoops has solid tips for everyone. -- Jeff Triplett, Developer at Revsys
  • This is the book I wished had existed and I could have read when I started learning Django. -- Barry Morrison, Linux systems engineer and Django developer
  • Two Scoops of Django is by far the best Django book I've read. -- Ben Beecher on Twitter
  • Are there any negatives? Well yes. Only one: I wish I've read it earlier! -- Branko Vukelic

Table of Contents

  • Chapter 1: Coding Conventions
  • Chapter 2: The Optimal Django Environment Setup
  • Chapter 3: How To Lay Out Django Projects
  • Chapter 4: Fundamentals of Django App Design
  • Chapter 5: Settings and Requirements Files
  • Chapter 6: Database/Model Best Practices
  • Chapter 7: Function-and Class-Based Views
  • Chapter 8: Best Practices for Class Based Views
  • Chapter 9: Common Patterns for Forms
  • Chapter 10: More Things To Know About Forms
  • Chapter 11: Building REST APIs in Django
  • Chapter 12: Templates: Best Practices
  • Chapter 13: Template Tags and Filters
  • Chapter 14: Tradeoffs of Replacing Core Components
  • Chapter 15: Working With the Django Admin
  • Chapter 16: Dealing with the User Model
  • Chapter 17: Django's Secret Sauce: Third-Party Packages
  • Chapter 18: Testing Chapter of Doom!
  • Chapter 19: Documentation: Be Obsessed
  • Chapter 20: Finding and Reducing Bottlenecks
  • Chapter 21: Security Best Practices
  • Chapter 22: Logging: Tips and Tools
  • Chapter 23: Signals: Use Cases and Avoidance Techniques
  • Chapter 24: What About Those Random Utilities?
  • Chapter 25: Deploying Django Projects
  • Chapter 26: How To Release Your Own Django Packages
  • Chapter 27: Closing Thoughts
  • Appendix A: Packages Mentioned In This Book
  • Appendix B: Troubleshooting

商品描述(中文翻譯)

更新!
第三版《Django最佳實踐:Two Scoops of Django 1.8》已經上市!經過修訂和擴充,共有532頁,是一本全新的書籍,充滿了新的內容。在購買本版之前,請考慮這本書!

http://www.amazon.com/Two-Scoops-Django-Best-Practices/dp/0981467342

《Django最佳實踐:Two Scoops of Django 1.5》充滿了對您的Django項目有幫助的材料。
我們將向您介紹多種技巧、訣竅、模式、代碼片段和多年來我們學到的技術。

我們花了數千個小時來撰寫和修訂這本300多頁的簡潔、範例豐富的文字。

大家對《Two Scoops of Django》有什麼評價?



  • “只需閱讀《Two Scoops of Django》一次,我就得到了很多啟發和技巧,我不得不再次閱讀。” - Lynn Root,紅帽工程師和PyLadies大使。


  • 哈哈,我在第一章就學到了東西。太棒了。 - Zed Shaw,《學習Python的硬道路》作者。


  • 《Two Scoops of Django》應該為那些經常使用Django的人提供一些思考和可用的建議。 - Malcolm Tredinnick,Django核心貢獻者。


  • 在閱讀時,請確保您的最喜歡的項目在身邊。您將需要進行一些重寫。 - Bryan Veloso,GitHubber,PyCon PH主題演講嘉賓。


  • 如果我能夠時光旅行,我會做的第一件事就是給年輕的自己一本這本書,並讓他閱讀。 - Randall Degges,熱衷的Python黑客。


  • 您知道那些在項目失敗時學到的教訓嗎?這本書包含了幾個項目的教訓。 - Lennart Regebro,《遷移到Python 3》作者。


  • 對於任何剛接觸Django的開發人員來說,這本書應該是一個很棒的資源。 - Kenneth Love,《開始使用Django》的創作者。


  • 無論您的技能水平如何,《Two Scoops》都有實用的技巧。 - Jeff Triplett,Revsys開發人員。


  • 這是我在開始學習Django時希望存在並且可以閱讀的書籍。 - Barry Morrison,Linux系統工程師和Django開發人員。


  • 《Two Scoops of Django》是我讀過的最好的Django書籍。 - Ben Beecher在Twitter上的評價。


  • 有什麼缺點嗎?是的,只有一個:我希望我早點讀到它! - Branko Vukelic

目錄


  • 第1章:編碼慣例

  • 第2章:最佳的Django環境設置

  • 第3章:如何佈局Django項目

  • 第4章:Django應用程式設計基礎

  • 第5章:設定和需求文件

  • 第6章:數據庫/模型最佳實踐

  • 第7章:基於函數和類的視圖

  • 第8章:類視圖的最佳實踐

  • 第9章:表單的常見模式

  • 第10章:更多關於表單的知識

  • 第11章:在Django中構建REST API

  • 第12章:模板:最佳實踐

  • 第13章:模板標籤和過濾器

  • 第14章:替換核心組件的權衡

  • 第15章:使用Django管理員

  • 第16章:處理用戶模型

  • 第17章:Django的秘密武器:第三方套件

  • 第18章:可怕的測試章節!

  • 第19章:文檔:追求完美

  • 第20章:尋找和減少瓶頸

  • 第21章:安全最佳實踐

  • 第22章:日誌:技巧和工具

  • 第23章:信號:用例和避免技巧

  • 第24章:那些隨機工具怎麼辦?

  • 第25章:部署Django項目

  • 第26章:如何發布自己的Django套件

  • 第27章:結語

  • 附錄A:本書提到的套件

  • 附錄B:疑難排解