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.2

(based on 5 reviews)

Ratings Distribution

  • 5 Stars

     

    (3)

  • 4 Stars

     

    (1)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (1)

  • 1 Stars

     

    (0)

80%

of respondents would recommend this to a friend.

Pros

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

Cons

    Best Uses

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

    Reviewed by 5 customers

    Sort by

    Displaying reviews 1-5

    Back to top

     
    4.0

    Very helpful approach with much detail

    By Paul Paulsen

    from Hamburg, DE

    About Me Developer, Educator, Maker, Sys Admin

    Verified Buyer

    Pros

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

    Cons

      Best Uses

      • Expert
      • Intermediate

      Comments about oreilly Lightweight Django:

      I have started with Python just a few month ago and as a web developer I tried to figure out, what Python can do for me. After I found Django, I had been looking literature and tutorials quite a lot. This book fit best, as it explains the fundamental structure of projects and apps in detail and grows the example throughout the chapters. Especially the REST chapter was very helpful.

      The book is not just a good tutorial that can easily be follewed hands on the keyboard but also a rich source of personal experience.

      (5 of 5 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!

      (4 of 12 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.

            (6 of 6 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.

              (5 of 5 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-5

              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