Two Scoops of Django: Best Practices For Django 1.6 (Anglais) Broché – 1 février 2014
|Neuf à partir de||Occasion à partir de|
- Choisissez parmi 17 000 points de collecte en France
- Les membres du programme Amazon Premium bénéficient de livraison gratuites illimitées
- Trouvez votre point de collecte et ajoutez-le à votre carnet d’adresses
- Sélectionnez cette adresse lors de votre commande
Produits fréquemment achetés ensemble
Les clients ayant acheté cet article ont également acheté
Descriptions du produit
Présentation de l'éditeur
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!
Two Scoops of Django: Best Practices For Django 1.6 is chock-full of even more 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 the second edition of the book, writing and revising its material to include over 130 new pages of concise, example-packed text containing 5 new chapters and 3 new appendices.
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 Function-Based Views
- Chapter 9: Best Practices for Class-Based Views
- Chapter 10: Common Patterns for Forms
- Chapter 11: More Things To Know About Forms
- Chapter 12: Templates: Best Practices
- Chapter 13: Template Tags and Filters
- Chapter 14: Building REST APIs
- Chapter 15: Consuming REST APIs in Templates
- Chapter 16: Tradeoffs of Replacing Core Components
- Chapter 17: Working With the Django Admin
- Chapter 18: Dealing with the User Model
- Chapter 19: Django's Secret Sauce: Third-Party Packages
- Chapter 20: Testing Chapter of Doom!
- Chapter 21: Documentation: Be Obsessed
- Chapter 22: Finding and Reducing Bottlenecks
- Chapter 23: Security Best Practices
- Chapter 24: Logging: Tips and Tools
- Chapter 25: Signals: Use Cases and Avoidance Techniques
- Chapter 26: What About Those Random Utilities?
- Chapter 27: Deployment: Platforms as a Service
- Chapter 28: Deploying Django Projects
- Chapter 29: Identical Environments: The Holy Grail
- Chapter 30: Continuous Integration
- Chapter 31: Where and How to Ask Django Questions
- Chapter 32: Closing Thoughts
- Appendix A: Packages Mentioned In This Book
- Appendix B: Troubleshooting
- Appendix C: Additional Resources
- Appendix D: Internationalization and Localization
- Appendix E: Settings Alternatives
- Appendix F: Working with Python 3
What is everyone saying about Two Scoops of Django?
- I read the first edition cover to cover. The second one raises the bar again. It's pedagogical, entertaining, and thoughtful. -- Aymeric Augustin, Django core developer.
- It's basically a 446 page checklist to getting your Django code right ~ Kevin A Stone, author of the Django Rest Framework and Angular Tutorial
- Whether you're a Django beginner or a seasoned veteran, I recommend you get this book, and read it cover to cover, and keep it near you for easy reference. --Ken Cochrane, Django developer since 2008
- 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, Spotify engineer, PSF Director, and PyLadies ambassador.
- 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
- 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"
Biographie de l'auteur
Daniel and Audrey Roy Greenfeld are best known for their open-source community leadership work on the following projects:
- DjangoPackages.com, the Django package index and comparison site.
- Cookiecutter, a Python package for generating projects from project templates.
- Cookiecutter-PyPackage, a project template for creating advanced python projects.
- Cookiecutter-Django, a project template for creating advanced Django projects.
- PyLadies, a women's outreach/mentorship group. Nurturing the group was basically a 2nd fulltime job for them in 2011, and they continue to run monthly Inland Empire PyLadies events.
- Barcamp Django SF, the first Django unconference.
- The first ever PyCon Philippines, a 300-person conference about the Python programming language held in the Philippines.
- The LA Open Source Hackathon event series, which brings together open-source developers from different programming backgrounds.
They do Python and Django development and run a small Python/Django consulting shop called Cartwheel Web. They've spoken at dozens of conferences and have given keynote speeches at DjangoCon Europe, EuroPython, PyCon Poland, PyCon Philippines, PyCon Australia, PyCon New Zealand, Python Brasil, and PyCon Argentina.
Aucun appareil Kindle n'est requis. Téléchargez l'une des applis Kindle gratuites et commencez à lire les livres Kindle sur votre smartphone, tablette ou ordinateur.
Pour obtenir l'appli gratuite, saisissez votre numéro de téléphone mobile.
Détails sur le produit
Quels sont les autres articles que les clients achètent après avoir regardé cet article?
Commentaires en ligne
Commentaires client les plus utiles sur Amazon.com (beta)
Most importantly, this book is not a starter guide to Django and it is not a tutorial. You will need a fair bit of familiarity with Django, Python, Database design, and Object-oriented programming before you will need this book.
There are honestly not a lot of starter books for Django, so your best bet is to probably do the official tutorial from djangoproject.org and build from there. I am about two years into using Django and there are topics in this book that I have not used yet, but it is good to at least familiarize with them.
This book is about 50% longer than the Django 1.5 version, so there is some recycled information, but a lot of new stuff as well. It is a great reference book if you're wanting to do something like a security checklist for your project.
Also, both the 1.5 and 1.6 books promote the use of Class-Based Views. Inheritance and Mixins with Class-Based Views help focus your design in a very re-useable fashion. I have not found these promoted in any of the other Django guides I have, and there is a minority that doesn't like Class-Based-Views. I, personally, have found them useful.
As a web developer, I have read books across a few different languages, but for a high-level book, Two Scoops of Django (for 1.6) is one of the most approachable. The authors have done a great job of adding enough code examples, explanations and even external web links to keep you well informed on the happenings of Django 1.6. Tips on how you should be coding (development environments, production, version control, etc) are also universal to any language.
Also, as a postscript to the authors, the Django community needs a tutorial book as well by both of you! I trudged through a Django 1.0 tutorial book in Django 1.4 as a newbie web developer, and a best practices tutorial book in Django 1.6 would be great!
But otherwise it’s a great collection of useful hints and howtos to make our code and setup better.
It's well written in a whimsical tone that's very approachable and fun to read compared to most technical references. The book features ice cream themed references and examples to help demonstrate the practices. It reads very quickly, not dragging on any subject for more than a few pages. There's plenty of links to background or detail for those motivated to dive deeper. For a book focused on best practices, it goes to great lengths to provide perspective on the recommendations, offering alternatives and citing key contributors for justifications. Use these recommendations as a starting point for teams to define standards and practices while allowing some leeway to customize or tailor to specific preferences.
Written by two experienced developers, the book presents each major topic in a concise, user friendly way. The authors pull on their experience to highlight approaches, tools, and tips that will save a developer valuable time while increasing code quality. Recognizing that there can be more than one practical approach on certain topics, they do a great job of alternative tools and approaches when a topic merits. When presenting alternatives, they point out the pros and cons as well as offer guidance on when to choose a particular approach.
New developers: this is a great book to reach for after completing the official Django tutorial. Experienced developers: the update gives an excellent reference of current best practices, reminders, and tips in a clear, friendly way.