PacktLib: Django 1.2 E-commerce

Django 1.2 e-commerce

Credits

About the Author

About the Reviewers

Preface

Django and e-commerce Development

21st Century web development

Django as an e-commerce platform

The model-template-view pattern

Payment processors and shopping carts

Exploring the Django framework

What's in a Django app?

Solving small problems

Reusable apps

Organizing Django projects

Preparing the development environment

Django 1.2

Summary

Setting Up Shop in 30 Minutes

Designing a product catalog

Creating the product model

Categorizing products

Adding additional product details

Viewing the product catalog

Designing simple product HTML templates

Getting paid: A quick payment integration

Summary

Handling Customers and Their Orders

Django's auth module

Django users and profiles

Creating accounts with django-registration

Extending the user model with django-profiles

The customer profile

Shopping carts and Django sessions

Checking out: Take two

Super-simple customer reviews

Summary

Building Payment Processors

Building a generic payment processor app

A Google Checkout class

An Amazon Checkout class

PayPal and other payment processors

Summary

From Payment to Porch: An Order Pipeline

Adding status information to orders

Order processing overview

Notification API

Order Processing API

Calculating shipping charges

A simple CRM tool

Other payment services

Summary

Searching the Product Catalog

Stupidly simple search

MySQL simple index searches

Search engines overview

Configuring the Sphinx search engine

Searching Sphinx from Python

Simplifying searching with django-sphinx

The Whoosh search engine

Haystack search for Django

Xapian/Djapian

Advanced Xapian features

Summary

Data and Report Generation

Exposing data and APIs

Django's syndication framework

Django sitemaps

ReportLab: Generating PDF reports from Python

Creating PDF views

Salesforce.com integration

Practical use-cases

Summary

Creating Rich, Interactive UIs

JavaScript: A quick overview

Creating product ratings

Summary

Selling Digital Goods

Subscription sales

Digital goods sales

Content storage and bandwidth

Django and Amazon S3

Amazon FPS for digital goods

Google Checkout Digital Delivery

Summary

Deployment and Maintenance Strategies

Apache and mod_wsgi

Automating deployment with Fabric

zc.buildout

Virtualenv

Distutils and module distributions

Pip

Summary

Index