Cover image for Django 1.2 E-commerce.
Django 1.2 E-commerce.
Title:
Django 1.2 E-commerce.
Author:
Legg, Jesse.
ISBN:
9781847197016
Personal Author:
Physical Description:
1 online resource (276 pages)
Contents:
Django 1.2 e-commerce -- Table of Contents -- Django 1.2 e-commerce -- Credits -- About the Author -- About the Reviewers -- Preface -- What this book covers -- What you need for this book -- Who this book is for -- Conventions -- Reader feedback -- Customer support -- Errata -- Piracy -- Questions -- 1. 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 -- 2. 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 -- 3. 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 -- Taking orders: Models -- Taking orders: Views -- Shopping carts and Django sessions -- Checking out: Take two -- Super-simple customer reviews -- Summary -- 4. Building Payment Processors -- Building a generic payment processor app -- Class-based views -- Implementing a checkout view base class -- Saving the order -- A Google Checkout class -- An Amazon Checkout class -- The Amazon Callback view -- PayPal and other payment processors -- Summary -- 5. From Payment to Porch: An Order Pipeline -- Adding status information to orders -- SSL and security considerations -- Order processing overview -- Notification API -- Order Processing API -- Calculating shipping charges.

A simple CRM tool -- Other payment services -- Summary -- 6. Searching the Product Catalog -- Stupidly simple search -- MySQL simple index searches -- Search engines overview -- Sphinx -- Solr -- Whoosh -- Xapian -- Haystack -- Configuring the Sphinx search engine -- Defining the data source -- Defining the indexes -- Building and testing our index -- Searching Sphinx from Python -- Simplifying searching with django-sphinx -- The Whoosh search engine -- Haystack search for Django -- Haystack searches -- Haystack for real-time search -- Xapian/Djapian -- Searching indexes -- Advanced Xapian features -- Summary -- 7. Data and Report Generation -- Exposing data and APIs -- Django-piston: A mini-framework for data APIs -- Django's syndication framework -- Django sitemaps -- ReportLab: Generating PDF reports from Python -- Creating PDF views -- Salesforce.com integration -- Salesforce Object Query Language -- Practical use-cases -- Summary -- 8. Creating Rich, Interactive UIs -- JavaScript: A quick overview -- JavaScript Object Notation -- Event-driven programming -- JavaScript frameworks: YUI -- JavaScript frameworks: jQuery -- Graceful degradation and progressive enhancement -- Creating product ratings -- Design aside: User experience and AJAX -- Product rating view -- Constructing the template -- Writing the JavaScript -- Debugging JavaScript -- Summary -- 9. Selling Digital Goods -- Subscription sales -- Digital goods sales -- Content storage and bandwidth -- Django and Amazon S3 -- Query string request authentication -- About Amazon AWS services requests -- Amazon FPS for digital goods -- Prepaid payments -- Obtaining a prepaid token -- Funding the prepaid token -- Prepaid pay requests -- Checking prepaid balances -- Postpaid payments -- Obtaining a postpaid token -- Postpaid pay requets -- Settling debts -- Writing off debt -- Getting debt balances.

Django integration -- View implementation -- Google Checkout Digital Delivery -- Summary -- 10. Deployment and Maintenance Strategies -- Apache and mod_wsgi -- A Django WSGI script -- An example httpd.conf -- Configuring daemon mode -- Thread-safety -- Automating deployment with Fabric -- Writing a Fabfile -- Using the fab tool -- Fabric for production deployments -- zc.buildout -- Buildout bootstraps -- buildout.cfg: The buildout section -- Writing the setup script -- buildout.cfg: The parts sections -- Virtualenv -- Creating an environment -- Working in the environment -- Virtualenvwrapper -- Distutils and module distributions -- Installing distributions -- Distutils metadata and PyPI -- Easy_install -- Pip -- Summary -- Index.
Abstract:
Packed with code examples and configuration hints for related web technologies, the book helps you add a new feature to your store in each chapter. It also provides additional documentation and comments for popular web APIs. If you are a Django developer and wish to build an e-commerce application, then this book is for you. You need to be familiar with the basics of developing in Django.
Local Note:
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2017. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
Electronic Access:
Click to View
Holds: Copies: