Lightweight Django
Using REST, WebSockets, and Backbone
Publisher: O'Reilly Media
Final Release Date: November 2014
Pages: 246

How can you take advantage of the Django framework to integrate complex client-side interactions and real-time features into your web applications? Through a series of rapid application development projects, this hands-on book shows experienced Django developers how to include REST APIs, WebSockets, and client-side MVC frameworks such as Backbone.js into new or existing projects.

Learn how to make the most of Django’s decoupled design by choosing the components you need to build the lightweight applications you want. Once you finish this book, you’ll know how to build single-page applications that respond to interactions in real time. If you’re familiar with Python and JavaScript, you’re good to go.

  • Learn a lightweight approach for starting a new Django project
  • Break reusable applications into smaller services that communicate with one another
  • Create a static, rapid prototyping site as a scaffold for websites and applications
  • Build a REST API with django-rest-framework
  • Learn how to use Django with the Backbone.js MVC framework
  • Create a single-page web application on top of your REST API
  • Integrate real-time features with WebSockets and the Tornado networking library
  • Use the book’s code-driven examples in your own projects
Table of Contents
Product Details
About the Author
Colophon
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyLightweight Django
 
4.3

(based on 4 reviews)

Ratings Distribution

  • 5 Stars

     

    (3)

  • 4 Stars

     

    (0)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (1)

  • 1 Stars

     

    (0)

75%

of respondents would recommend this to a friend.

Pros

  • Accurate (3)
  • Concise (3)
  • Easy to understand (3)
  • Helpful examples (3)
  • Well-written (3)

Cons

    Best Uses

    • Intermediate (3)
      • Reviewer Profile:
      • Developer (3)

    Reviewed by 4 customers

    Sort by

    Displaying reviews 1-4

    Back to top

    (3 of 3 customers found this review helpful)

     
    5.0

    I never knew Django could be so light!

    By Chip Warden

    from Kansas City, MO

    About Me Developer

    Verified Buyer

    Pros

    • Accurate
    • Concise
    • Easy to understand
    • Helpful examples
    • Well-written

    Cons

    • Not finished

    Best Uses

    • Intermediate
    • Novice

    Comments about oreilly Lightweight Django:

    I bought this book at the suggestion of a fellow PythonKC member, and I must say I'm very impressed. By "deconstructing" a Django application to the absolute minimum requirements and building back up from that base, the authors have shown me that many things I thought I knew about Django weren't true, and I'm glad to have been wrong.

    The only negative I can give is that it isn't finished!

    (3 of 8 customers found this review helpful)

     
    2.0

    Promising Start

    By Wolf

    from Melb

    About Me Developer

    Verified Reviewer

    Pros

      Cons

        Best Uses

          Comments about oreilly Lightweight Django:

          Begins with a refreshing and insightful introduction to Django.
          Follows with code quality and practices which range from average to mostly awful. In chapter 3 alone, don't write content back into the code base, don't lump everything into views, don't import django.test.client into the implementation.
          This is very unfortunate because the ideas and goals of the book are very good, just poorly executed.

          (4 of 4 customers found this review helpful)

           
          5.0

          Simplicity is Beauty

          By chumpalump

          from Madison WI

          About Me Developer

          Verified Buyer

          Pros

          • Accurate
          • Concise
          • Easy to understand
          • Helpful examples
          • Well-written

          Cons

            Best Uses

            • Expert
            • Intermediate
            • Novice
            • Student

            Comments about oreilly Lightweight Django:

            If you are a python hacker and you are embracing the web via APIs and microservices (and you should be), this book is your new best friend. This book should have a wide appeal-- from students and novices who want to start simply, to experts who want to restore sanity to complex systems.

            It starts by showing how pythonic django is by building the smallest functional web service possible. It does a nice job of showing that django compares well to bottle.py and flask for simplicity. Django's strength lays in it's ability to scale to complex requirements, without outgrowing its applicability. Latter in the book, the marvelous django-rest-framework is used to build restful APIs with authentication and optional admin tools.

            I'm greatly enjoying the book so far, and looking forward to the rest of the material as it's added.

            (3 of 3 customers found this review helpful)

             
            5.0

            The first three chapters are great!

            By divxpr

            from San Juan, PR

            About Me Educator, Noob

            Verified Reviewer

            Pros

            • Accurate
            • Concise
            • Easy to understand
            • Helpful examples
            • Original
            • Well-written

            Cons

            • Have 3 Typos

            Best Uses

            • Intermediate
            • Read The Django Tutorial

            Comments about oreilly Lightweight Django:

            If you want to learn how to program step by step in Django, this book is for you but before you start you should take a look to the django tutorial.

            At the first chapter you will learn how to create a Django project from scratch (without running django-admin py startproject).

            The second chapter, will teach you how to create an image placeholder, similar to http://placehold.it/

            And at the third chapter, you will create an app that list the static pages you create. I'm not sure what is the purpose of this app but you will learn very useful techniques.

            In conclusion i will recommend this book because the information and examples that presents are new and you wouldn't find it on another place.

            Displaying reviews 1-4

            Back to top

             
            Buy 2 Get 1 Free Free Shipping Guarantee
            Buying Options
            Immediate Access - Go Digital what's this?
            Ebook: $33.99
            Formats:  ePub, Mobi, PDF
            Print & Ebook: $43.99
            Print: $39.99