Lightweight Django
- Length: 246 pages
- Edition: 1
- Language: English
- Publisher: O'Reilly Media
- Publication Date: 2014-11-13
- ISBN-10: 149194594X
- ISBN-13: 9781491945940
- Sales Rank: #1011707 (See Top 100 Books)
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
Chapter 1. The World’s Smallest Django Project
Chapter 2. Stateless Web Application
Chapter 3. Building a Static Site Generator
Chapter 4. Building a REST API
Chapter 5. Client-Side Django with Backbone.js
Chapter 6. Single-Page Web Application
Chapter 7. Real-Time Django
Chapter 8. Communication Between Django and Tornado