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

With Early Release ebooks, you get books in their earliest form—the author's raw and unedited content as he or she writes—so you can take advantage of these technologies long before the official release of these titles. You'll also receive updates when significant changes are made, new chapters as they're written, and the final ebook bundle.

When creating websites or applications, Python-based Django is an ideal framework to assist in clean scaffolding architecture. With the rise in popularity of client side MVC frameworks, such as Angular.js, Ember.js and Backbone.js, it can be a difficult decision to make when selecting whether Django is the right fit for your project. Questions like, "How can we integrate these client side MVC frameworks into our current Django infrastructure?” and "Where does Django fit into all of this?” frequently come up when making these decisions.

Lightweight Django serves as a guide for intermediate Django users to hone their skills in leveraging it’s efficiency and utilities. Authors Julia Elman and Mark Lavin walk you through several projects, demonstrating how to create everything from creating Flask-like micro applications to building RESTful API’s architecture for a large scale project.

Table of Contents
Product Details
About the Author
Colophon
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyLightweight Django
 
3.6

(based on 5 reviews)

Ratings Distribution

  • 5 Stars

     

    (3)

  • 4 Stars

     

    (0)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (1)

  • 1 Stars

     

    (1)

60%

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 (4)

    Reviewed by 5 customers

    Sort by

    Displaying reviews 1-5

    Back to top

     
    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!

    (2 of 6 customers found this review helpful)

     
    1.0

    Half finished

    By niceguydave

    from London, UK

    About Me Developer

    Verified Buyer

    Pros

      Cons

      • Not comprehensive enough

      Best Uses

        Comments about oreilly Lightweight Django:

        The Django part was good but when it came to integrating with the dynamic JavaScript front-end... nothing.

        Is this ever likely to be updated?

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

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

                (1 of 1 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?
                Pre-Order  Print: $39.99
                November 2014 (est.)