Jump to ratings and reviews
Rate this book

Lightweight Django: Using REST, WebSockets, and Backbone

Rate this book
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 projectBreak reusable applications into smaller services that communicate with one anotherCreate a static, rapid prototyping site as a scaffold for websites and applicationsBuild a REST API with django-rest-frameworkLearn how to use Django with the Backbone.js MVC frameworkCreate a single-page web application on top of your REST APIIntegrate real-time features with WebSockets and the Tornado networking libraryUse the book’s code-driven examples in your own projects

377 pages, Kindle Edition

First published June 1, 2014

27 people are currently reading
116 people want to read

About the author

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
21 (30%)
4 stars
24 (34%)
3 stars
21 (30%)
2 stars
3 (4%)
1 star
1 (1%)
Displaying 1 - 8 of 8 reviews
Author 3 books6 followers
January 4, 2019
The book is disorganized but I don't think it's their fault. Django is a mess. And they combine it with JavaScript. Why bother?
2 reviews1 follower
June 13, 2015
The book covers pretty much everything from creating a new Django project, through implementation of RESTful API to single page web applications in JavaScript (Backbone.js). Last few chapters explain real-time updates across websites using Tornado. The authors consider security, scalability and give some useful pointers for further reading. The book covers a lot of material and I am sure I will read it again at some point.

I started this book with knowledge of Python and a little bit of JavaScript/HTML. I found it easy to follow the instructions but following the code was a challenge; a large part of the book uses Backbone.js, jQuery and Underscore to create a javascript application that uses the API running on Django.
Profile Image for Ian.
1 review1 follower
February 9, 2017
Django Deconstructed

My favorite aspect of this book is that it stepwise walks you through a minimal Django setup that allow you to see what a barebones project looks like. The primer on Django REST Framework is decent but light. The rest of the book is about Backbone and using Tornado for websockets, which is a little dated because of Django channels. Backbone seems like a pragmatic choice for a JS library but I am not a JS developer and won't be building a JS app in Backbone anytime soon, so it wasn't applicable to me. Well written and if you want to not use channels, then this book might be better for you.
230 reviews3 followers
November 23, 2015
It is probably the best Python/Django book which I've read. The chapters contains very well structured examples and the whole flow of the book is very consistent. I found the approach in the book very useful in terms of building a whole application. Highly recommended reading!
Profile Image for Bagus Santoso.
103 reviews1 follower
December 3, 2015
The author bring intermediate to advanced Django practice in this books. Not good for beginners.
Displaying 1 - 8 of 8 reviews

Can't find what you're looking for?

Get help and learn more about the design.