I already have Beginning Django E-Commerce. When Django 1.2 e-commerce came out, I thought, sure, why not. I’m a pushover for a good technical book. It has positive buzz, modulo some rumblings about glaring errors in the code samples.
The quick details
Chapter 1: What’s Django and why it’s good for e-commerce. Zzzzzzzz…
Chapter 2: Quickly getting going on your e-commerce project. Good intro.
Chapter 3: We’re getting some meat now. The authorization model, user profiles,django-registration, shopping carts.
Chapter 4: Payment processors, using Google, Amazon, and PayPal as examples. If I was the author, I wouldn’t have included Google. But otherwise, good stuff. The narratives that walk you through alternatives and subtleties are just as useful as the code samples, if not more so.
Chapter 5: Backend stuff. Good.
Chapter 6: Searching through the product catalog. Eh… Search is a mighty big topic. If your e-commerce site is small, you don’t need this chapter, because you can use just the ORM, or PyLucene if you want to go hog-wild. If your site is large, this chapter will only start to acquaint you with search issues, and you’ll need more information to do a good job.
I did note a couple of code sample oddities. E.g.,
if model is None:
if not model:
Chapter 7: Report generation. It’s enough to get you started, but you’ll have to do more reading and experimentation to get the job done.
Chapter 10 is about deployment. Fabric, buildout, apache2, mod_wsgi, etc. Decent.
The quick summary
B-. If you’re a novice, you’ll get the lay of the e-commerce land. But you’ll have to then find other, more detailed, information sources. If you’re an intermediate or advanced developer, you’ll breeze through this in one sitting, and probably pick up a couple of useful nuggets of information. I wouldn’t rush out to buy it, but it’s a decent book for your shelf.
2 thoughts on “Review: Django 1.2 e-commerce”
Great review; It’s funny, but full of content, so thank you very much.
Let me just one mention. To my mind, “if model is None” expression is more explicit than “if not model”. And, as we know, explicit is better than implicit, right? But it’s just my opinion, nothing more.
Thank you again.
I think you are so nice on the B-…
The author talked about django-registration and django-profiles, but he didn’t say how to use them. And in his attached code, none of them has a template! I guess he was assuming his audience are all django-masters.
I would like to give it a C at most.