舉報

會員
Django Design Patterns and Best Practices
最新章節:
Index
IfyouwanttolearnhowbesttoutilizecommonlyfoundpatternsandlearnbestpracticesindevelopingapplicationswithDjango,thisisthebookforyou.Thisbook,likeDjangoitself,isaccessibletoamateurandprofessionaldevelopersalikeandassumeslittleinthewayofpriorexperience.AlthoughwrittenforPython3,themajorityofthecodeinthisbookworksinPython2orcanbeeasilytranslated.
目錄(104章)
倒序
- coverpage
- Django Design Patterns and Best Practices
- Credits
- About the Author
- About the Reviewers
- www.PacktPub.com
- Support files eBooks discount offers and more
- Preface
- What this book covers
- What you need for this book
- Who this book is for
- Conventions
- Reader feedback
- Customer support
- Chapter 1. Django and Patterns
- Why Django?
- The story of Django
- What is a Pattern?
- Patterns in this book
- Best practices
- Summary
- Chapter 2. Application Design
- How to gather requirements
- Are you a story teller?
- HTML mockups
- Designing the application
- Before starting the project
- SuperBook – your mission should you choose to accept it
- Summary
- Chapter 3. Models
- M is bigger than V and C
- The model hunt
- Structural patterns
- Retrieval patterns
- Migrations
- Summary
- Chapter 4. Views and URLs
- A view from the top
- Class-based generic views
- View mixins
- Decorators
- View patterns
- Designing URLs
- Summary
- Chapter 5. Templates
- Understanding Django's template language features
- Organizing templates
- Using Bootstrap
- Template patterns
- Summary
- Chapter 6. Admin Interface
- Using the admin interface
- Enhancing models for the admin
- Admin interface customizations
- Protecting the admin
- Summary
- Chapter 7. Forms
- How forms work
- Displaying forms
- Understanding CSRF
- Form processing with Class-based views
- Form patterns
- Summary
- Chapter 8. Dealing with Legacy Code
- Finding the Django version
- Where are the files? This is not PHP
- Starting with urls.py
- Jumping around the code
- Understanding the code base
- Incremental change or a full rewrite?
- Write tests before making any changes
- Legacy databases
- Summary
- Chapter 9. Testing and Debugging
- Why write tests?
- Test-driven development
- Writing a test case
- Mocking
- Pattern – test fixtures and factories
- Learning more about testing
- Debugging
- The print function
- Logging
- The Django Debug Toolbar
- The Python debugger pdb
- Other debuggers
- Debugging Django templates
- Summary
- Chapter 10. Security
- Cross-site scripting (XSS)
- A handy security checklist
- Summary
- Chapter 11. Production-ready
- Production environment
- Hosting
- Deployment tools
- Monitoring
- Performance
- Summary
- But I still use Python 2.7!
- Python 3
- Further information
- Index 更新時間:2021-07-23 19:36:37
推薦閱讀
- iOS面試一戰到底
- Implementing Modern DevOps
- Learning Cython Programming(Second Edition)
- Hands-On Image Processing with Python
- Rake Task Management Essentials
- PostgreSQL Replication(Second Edition)
- Getting Started with Python and Raspberry Pi
- Mastering Elasticsearch(Second Edition)
- MINECRAFT編程:使用Python語言玩轉我的世界
- Python Machine Learning Blueprints:Intuitive data projects you can relate to
- Flask Web開發:基于Python的Web應用開發實戰(第2版)
- C++ System Programming Cookbook
- Instant Automapper
- IBM RUP參考與認證指南
- Monitoring Docker
- AngularJS UI Development
- Apache Solr for Indexing Data
- 前端架構設計
- Mastering ArcGIS Server Development with JavaScript
- Python深度學習與項目實戰
- Android從入門到精通
- HTML5+CSS+JavaScript深入學習實錄
- Applied Supervised Learning with Python
- TypeScript實戰
- Visual FoxPro 程序設計實驗教程
- 從零開始:HTML5+CSS3快速入門教程
- IBM Informix 11.x系統管理與開發指南
- 實戰Python設計模式:可復用面向對象軟件開發實踐
- Android Things Projects
- 機器學習與深度學習(Python版·微課視頻版)