Book description
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
Publisher resources
Table of contents
- Preface
- Prerequisites
- 1. The World’s Smallest Django Project
- 2. Stateless Web Application
- 3. Building a Static Site Generator
- 4. Building a REST API
- 5. Client-Side Django with Backbone.js
- 6. Single-Page Web Application
- 7. Real-Time Django
- 8. Communication Between Django and Tornado
- Index
- Colophon
- Copyright
Product information
- Title: Lightweight Django
- Author(s):
- Release date: November 2014
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781491945940
You might also like
book
Django Unleashed
Django is an amazingly powerful system for creating modern, dynamic websites. But programming Django hasn’t always …
book
Django 2 by Example
Learn Django 2.0 with four end-to-end projects About This Book Learn Django by building real-world web …
book
Mastering Django: Core
Delivers absolutely everything you will ever need to know to become a master Django programmer About …
book
Django RESTful Web Services
Design, build and test RESTful web services with the Django framework and Python About This Book …