9780321985071

Django Unleashed

by
  • ISBN13:

    9780321985071

  • ISBN10:

    0321985079

  • Edition: 1st
  • Format: Paperback
  • Copyright: 11/9/2015
  • Publisher: Sams Publishing

Note: Supplemental materials are not guaranteed with Rental or Used book purchases.

Purchase Benefits

  • Free Shipping On Orders Over $59!
    Your order must be $59 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $49.99 Save up to $12.50
  • Rent Book $37.49
    Add to Cart Free Shipping

    TERM
    PRICE
    DUE

Supplemental Materials

What is included with this book?

  • The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.
  • The Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.

Summary

Django is an amazingly powerful system for creating modern, dynamic websites. But programming Django hasn’t always been easy–until now. Django Unleashed is your step-by-step, beginner-friendly guide to leveraging Django’s core capabilities and its powerful contributed library. You’ll learn in the most effective way possible: hands on, by building a fully functional Django website from scratch. You’ll even deploy the website to the cloud.

 

As you build your website, expert Django consultant and trainer Andrew Pinkham reveals how websites operate; how Django makes building websites easy; how to write Python code that leverages its immense capabilities; and how to build solutions that are robust, reliable, and secure. You’ll start simply and learn to solve increasingly challenging problems: mastering new features and understanding how Django’s architecture shapes their behavior, and gaining essential knowledge for working with any web framework, not just Django.

 

Drawing on his extensive experience teaching Django, Pinkham answers the key questions beginners ask most often. And as you gain experience, you’ll learn advanced techniques for enhancing site functionality and performance, strengthening security, promoting code reuse, and much more.

 

Detailed information on how to…

  • Quickly start a new Django project and establish a strong foundation for a growing site
  • Define how your data is organized and create a SQLite database to manage it
  • Quickly produce HTML with Django templates
  • Create dynamic webpages with Django’s URL patterns and views, including function views, class-based views, and generic views
  • Enable efficient, reliable data input with Django Forms and custom form validations
  • Understand the Model-View-Controller (MVC) architecture, compare it to Model-Template-Views, and gain a holistic understanding of Django’s structure
  • Write as little code as possible, simplify code reuse, and mitigate software decay by adhering to the Don’t Repeat Yourself paradigm.
  • Dive into Django source code to troubleshoot problems
  • Extend site functionality with Django’s contributed library
  • Protect your site with user authentication and permissions
  • Avoid security pitfalls such as SQL Injection, XSS, and CSRF
  • Optimize site performance
  • Deploy your site to a managed cloud service and to a PostgreSQL database

 

Author Biography

Andrew Pinkham is a software engineer and owner of JamBon Software, which specializes in web and mobile products and also offers Python and Django training. He prides himself on being an engineer who can communicate complex ideas in simple ways, and is passionate about security and distributed systems. In his free time, Andrew writes fiction and swims. A 2009 graduate of Dartmouth College, he can be found online at andrewsforge.com or afrg.co.

Table of Contents

Preface
Part I. Django Core
1. Project Outline. Startup Blog
2. Organizing and Storing Data
3. Basic Data Display
4. Extending Our Display
5. Refactoring and Polish
6. Data Input
7. Review

 

Part II. Django Libraries
8. Django Source Code Overview
9. Data Input
10. Data Display
11. Refactoring
12. User Interaction
13. Remove Internationalization
14. Clickjacking
15. Feeds (RSS/Atom)
16. Sitemap
17. Deployment
18. App Encapsulation
19. Conclusion

 

Part III. Appendices
Appendix 1. Primer
Appendix 2. Installation
Appendix 3. Formal Syntax
Appendix 4. Cheat Sheets

Rewards Program

Write a Review