Amazon.com: The Definitive Guide to Django: Web Development Done Right (Expert's Voice in Web Development) (9781590597255): Jacob Kaplan-Moss, Adrian Holovaty: Books
The Definitive Guide to Django: Web Development Done Right and over one million other books are available for Amazon Kindle. Learn more


or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
Kindle Edition
 
   
More Buying Choices
Have one to sell? Sell yours here
The Definitive Guide to Django: Web Development Done Right (Expert's Voice in Web Development)
 
 
Start reading The Definitive Guide to Django: Web Development Done Right on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

The Definitive Guide to Django: Web Development Done Right (Expert's Voice in Web Development) [Paperback]

Jacob Kaplan-Moss (Author), Adrian Holovaty (Author)
4.1 out of 5 stars  See all reviews (31 customer reviews)

List Price: $44.99
Price: $29.54 & this item ships for FREE with Super Saver Shipping. Details
You Save: $15.45 (34%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Want it delivered Monday, February 27? Choose One-Day Shipping at checkout. Details
Textbook Student FREE Two-Day Shipping for students on millions of items. Learn more

Formats

Amazon Price New from Used from
Kindle Edition $23.39  
Paperback $27.38  
Paperback, December 10, 2007 $29.54  
There is a newer edition of this item:
The Definitive Guide to Django: Web Development Done Right The Definitive Guide to Django: Web Development Done Right 4.1 out of 5 stars (31)
$27.38
In Stock.

Book Description

December 10, 2007 1590597257 978-1590597255 1

Django, the Python–based equivalent to the Ruby on Rails web development framework, is hottest topics in web development. In The Definitive Guide to Django: Web Development Done Right, Adrian Holovaty, one of Django’s creators, and Django lead developer Jacob Kaplan–Moss show you how they use this framework to create award–winning web sites. Over the course of three parts, they guide you through the creation of a web application reminiscent of chicagocrime.org.

The first part of the book introduces Django fundamentals like installation and configuration. You’ll learn about creating the components that power a Django-driven web site. The second part delves into the more sophisticated features of Django, like outputting non–HTML content (such as RSS feeds and PDFs), plus caching and user management. The third part serves as a detailed reference to Django’s many configuration options and commands. The book even includes seven appendices for looking up configurations options and commands. In all, this book provides the ultimate tutorial and reference to the popular Django framework.

What you’ll learn

The first half of this book explains in-depth how to build web applications using Django including the basics of dynamic web pages, the Django templating system interacting with databases, and web forms. The second half of this book discusses higher-level concepts such as caching, security, and how to deploy Django. The appendices form a reference for the commands and configurations available in Django.

Who this book is for

Anyone who wants to use the powerful Django framework to build dynamic web sites quickly and easily!


Frequently Bought Together

The Definitive Guide to Django: Web Development Done Right (Expert's Voice in Web Development) + Pro Django (Expert's Voice in Web Development) + Practical Django Projects (Expert's Voice in Web Development)
Price For All Three: $86.97

Show availability and shipping details

Buy the selected items together
  • In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Pro Django (Expert's Voice in Web Development) $29.54

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Practical Django Projects (Expert's Voice in Web Development) $27.89

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details



Editorial Reviews

About the Author

Jacob Kaplan-Moss is one of the lead developers of Django. At his day job, he's the lead developer for the Lawrence Journal-World, a locally owned newspaper in Lawrence, Kansas, where Django was developed. At the Journal-World, Jacob hacks on a number of sites including lawrence.com, LJWorld.com, and KUsports.com, and he is continually embarrassed by the multitude of media awards those sites win. In his spare time—what little of it there is—he fancies himself a chef.

Adrian Holovaty, a web developer and journalist, is one of the creators and core developers of Django. He works at WashingtonPost.com, where he builds database web applications and does "journalism as computer programming." Previously, he was lead developer for World Online in Lawrence, Kansas, where Django was created. When not working on Django improvements, Adrian hacks on side projects for the public good, such as ChicagoCrime.org, which won the 2005 Batten Award for Innovations in Journalism. He lives in Chicago and maintains a weblog at www.Holovaty.com.

Product Details

  • Paperback: 447 pages
  • Publisher: Apress; 1 edition (December 10, 2007)
  • Language: English
  • ISBN-10: 1590597257
  • ISBN-13: 978-1590597255
  • Product Dimensions: 9.2 x 7.1 x 0.9 inches
  • Shipping Weight: 1.7 pounds (View shipping rates and policies)
  • Average Customer Review: 4.1 out of 5 stars  See all reviews (31 customer reviews)
  • Amazon Best Sellers Rank: #570,844 in Books (See Top 100 in Books)

More About the Authors

Discover books, learn about writers, read author blogs, and more.

 

Customer Reviews

31 Reviews
5 star:
 (17)
4 star:
 (5)
3 star:
 (6)
2 star:
 (1)
1 star:
 (2)
 
 
 
 
 
Average Customer Review
4.1 out of 5 stars (31 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

40 of 41 people found the following review helpful:
3.0 out of 5 stars A solid introduction, lacking in examples, February 22, 2008
By 
James Stewart (Grand Rapids, MI, USA) - See all my reviews
(REAL NAME)   
This review is from: The Definitive Guide to Django: Web Development Done Right (Expert's Voice in Web Development) (Paperback)
Django is a framework I've long (in web years) held in some esteem, despite never having used it before the past few weeks. The framework's creators' many well reasoned contributions on all manner of debates about the web suggested a thoughtful approach, and the range of high quality sites powered by Django has kept growing, with the recent launch of EveryBlock being a prime example of its capabilities. So I was delighted to receive a copy of The Definitive Guide to django: Web Development Done Right for review.

Authored by two of the creators of Django: Adrian Holovaty and Jacob Kaplan-Moss, the book is carefully structured, initially placing django in context by exploring various approaches to web development, and then stepping through initial project creation, templates, models, url configuration, django's famed admin interface, and so on. After eight chapters it changes tack and switches from basic tutorial to more in-depth exploration of areas like the ORM, session handling, caching and deployment. Several appendices provide supplementary material.

The first few chapters do a good job of laying out the foci of the framework's architecture and it's Model Template View (MTV) approach. Its pace is measured and while I wonder if it might be a little too much too soon for those totally new to full stack web frameworks, it would work well for those coming from a background building web apps with PHP, Java, or for those of us who are used to working with Rails. There are new techniques to learn and I found the book particularly useful for grasping the deeply pythonic approach, favouring flexibility over convention.

A clear example of that comes in the use of Context objects for passing values between Views and Templates. The authors initially show us the most verbose and rudimentary way to do it and gradually develop that to show how they've provided for various common cases. By going through those steps there's a good chance the reader will be well equipped to work out ways to simplify their own workflow and/or create new subclasses to promote reuse in their code.

Where the book is lacking is in the examples. The introductory material, and much of the reference content is excellent, but as a newcomer to the framework I felt a little lost in how I should structure my code and how different components relate; it's clear how models relate to the database, but how do I pass them around when building associations?

I recognise that django deliberately avoids the strong conventions of the Rails community (though even there you frequently find newcomers unsure where in the directory structure to place certain components) and there's no need for lengthy tutorials on building a shop or how a magazine cms could work, but when I come to a book like this I'm looking for a guide to best practices at the project architecture level, not just the component level, and I was sorry not to find it. The authors clearly have a lot of experience of structuring django sites of all shapes and sizes and it would be good to learn more about how they keep those sites organised.

That said, this is a solid introduction to django for web developers; a solid contribution in a so-far underserved market and it's likely to come in handy for a number of people. Just be prepared to supplement it with a fair amount of time in search engines working out good strategies for connecting the pieces.

Disclaimer: I was sent a copy of this book for review by the publisher.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


12 of 12 people found the following review helpful:
5.0 out of 5 stars If you had to limit yourself to one Django book..., February 23, 2010
Amazon Verified Purchase(What's this?)
I've been working with Django full-time for the past nine months. Just from my day-to-day work, I've learned most of what's in this book (with major help from the official Django documentation and the mailing list), but I'd just been using this book as a reference. I finally took the time in the past week to read this book cover-to-cover, and it's fantastic. It really filled in the gaps in my knowledge, and gave me a deeper understanding of what's going on in the background when I use the Django features I touch every day.

If I had read this book six or eight months ago, it would have saved me a lot of time, and I would have written more reusable code. I say "six or eight" months instead of "since the beginning" because I really felt like I was able to get the most out of this book because I intimately understood the framework. If I had never used Django before reading this it would still have been fantastic, but to really get the full benefit I would have had to read it again once I had more Django under my belt.

If you're brand-new to Django, I recommend this learning path:

1. Do the official tutorial first as the bare-minimum.

2. If you have projects in mind, do them! If not, get James Bennett's Practical Django Projects, Second Edition (Expert's Voice in Web Development) in which he walks you through creating and enhancing fully-functional Django applications using the best practices of the community.

3. With that Django experience, read this book cover-to-cover. You'll be able to do pretty much anything you want with Django at that point.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


73 of 96 people found the following review helpful:
3.0 out of 5 stars Another Definitive Flop from Apress, January 29, 2008
By 
orangekay (San Francisco, CA United States) - See all my reviews
(VINE VOICE)   
This review is from: The Definitive Guide to Django: Web Development Done Right (Expert's Voice in Web Development) (Paperback)
I buy books like these because I don't like reading documentation on a computer screen where I can't dog-ear or highlight anything, but after several bad experiences I'll probably avoid these black and yellow striped titles the same way I avoid black and yellow striped insects in the future. O'Reilly books are frequently hit-or-miss affairs, but everything I've seen come out of Apress looks like it was typeset by a 12 year old and simply isn't worth the money. It seems as though anyone who's ever written a single line of code and given it away for free can get a publishing deal these days.

Forgetting for a moment the various reasons why Django itself fails to live up to its own "perfectionist" hype, this book is just not very good. The first couple of chapters do a decent job covering introductory topics, but it quickly becomes apparent that the authors were in a big hurry to finish the rest of it as quickly as possible. There's even a "guest author" brought in at one point for no apparent reason, and his chapter is one of the worst. Those few examples that are given in latter, more advanced, sections are nothing but code that is so full of typos it never should have made it to publication. This is why developers are seldom allowed to pen their own public documentation whether they fetch coffee at a podunk newspaper or not--you spend enough time staring at your own code that you lose all sense of perspective and can no longer approach it as a newcomer would. You know what works best for you and your rapidly balding twenty-nothing IRC clique, and you figure that's good enough for everyone else. It ain't.

Another problem with letting the creators write their own "definitive" books is the way they tend to glance over the framework's shortcomings. The chapter on session management fails to mention the fact that Django expects YOU to clean up stale session data yourself, and the one on deployment makes little mention of the fact that there's not really any good way to get Django running smoothly without root access to the server--something a lot of people do not have--and they actually expect their users to run TWO servers--one for Django and one for everything else, like image files. There are ways around this, but why not put this kind of information right at the front of the book the way most others do so people can make an informed decision as to whether or not they should bother with your product right off the bat? Apache configuration is, according to them, "beyond the scope of this book." A quick Google search showed that any and all bugs related to this matter are immediately closed and marked "will not fix" by Django maintainers. It would seem that arrogance is the one feature of Rails they understood well enough to mimic correctly.

Even if you hate online books, you should stick to the free version. They at least implemented a comments system that will let other people point out where all the various typos are before you get stuck trying to figure out why this perfectionist's code isn't running very perfectly.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews











Only search this product's reviews



Inside This Book (learn more)
Key Phrases - Statistically Improbable Phrases (SIPs): (learn more)
views urlpatterns, custom template tags, syndication framework, admin interface, template loaders, def render, middleware class, installed apps, mysite directory, import datetime, locale directory, admin site, admin templates, translation catalogs, def items, admin views, session framework, inclusion tags, template engine, template system, context processors, translation string, interactive interpreter, feed class, child templates
Key Phrases - Capitalized Phrases (CAPs): (learn more)
What's Next, Apress Publishing, Returns True, World Online, Middleware Middleware, Austrian German, Django-powered Web, Don't Repeat Yourself, Telegraph Ave, Note Django, Import Template, Site Admin
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Surprise Me!
Search Inside This Book:

What Other Items Do Customers Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(40)
(38)
(11)
(8)

Your tags: Add your first tag
 

Customer Discussions

This product's forum
Discussion Replies Latest Post
How popular is Django ? 2 Jan 19, 2009
See all discussions...  
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
   
Related forums



So You'd Like to...



Look for Similar Items by Category


Look for Similar Items by Subject