Lightweight Django - Julia Elman, Mark Lavin

Lightweight Django

Using REST, WebSockets, and Backbone

, (Autoren)

Buch | Softcover
246 Seiten
2014
O'Reilly Media (Verlag)
978-1-4919-4594-0 (ISBN)
35,90 inkl. MwSt
Studibuch Logo

...gebraucht verfügbar!

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

Julia Elman has been working her brand of web skills for nearly a decade. She started out as a designer for an internal marketing group at a travel agency in Los Angeles, and quickly honed her skills as a web designer using HTML/CSS. Julia joined the Caktus Consulting Group in 2011 and is thrilled to work with some of the most talented developers this side of the Mississippi. She is actively involved with Girl Develop It RDU as an instructor to help contribute in educating women pursuing a career in technology.

Mark lavin is a lead Python/Django developer at Caktus Consulting Group in Carrboro, NC. He also runs a small homebrewing website written in Django called brewedbyus.com. He came to Python web development after a few years pricing derivatives on Wall Street. Mark maintains a number of open source projects primarily related to Django development and frequently contributes back to projects used by Caktus. When he isn't programming, Mark enjoys spending time with his wife and daughter, brewing beer, and running.

Chapter 1The World’s Smallest Django Project
Hello Django
Improvements
Chapter 2Stateless Web Application
Why Stateless?
Reusable Apps Versus Composable Services
Placeholder Image Server
Placeholder View
Creating the Home Page View
Chapter 3Building a Static Site Generator
Creating Static Sites with Django
What Is Rapid Prototyping?
Initial Project Layout
Page Rendering
Generating Static Content
Serving and Compressing Static Files
Generating Dynamic Content
Chapter 4Building a REST API
Django and REST
Scrum Board Data Map
Designing the API
Testing Out the API
Next Steps
Chapter 5Client-Side Django with Backbone.js
Brief Overview of Backbone
Setting Up Your Project Files
Connecting Backbone to Django
Client-Side Backbone Routing
Building User Authentication
Chapter 6Single-Page Web Application
What Are Single-Page Web Applications?
Discovering the API
Building Our Home Page
Sprint Detail Page
CRUD Tasks
Chapter 7Real-Time Django
HTML5 Real-Time APIs
Websockets with Tornado
Client Communication
Chapter 8Communication Between Django and Tornado
Receiving Updates in Tornado
Server Improvements
Final Websocket Server

Erscheint lt. Verlag 9.12.2014
Zusatzinfo black & white illustrations
Verlagsort Sebastopol
Sprache englisch
Maße 186 x 233 mm
Gewicht 412 g
Einbandart Paperback
Themenwelt Informatik Programmiersprachen / -werkzeuge Python
Informatik Web / Internet JavaScript
Schlagworte Django (Framework) • JavaScript • Python (Programmiersprache) • Web Framework
ISBN-10 1-4919-4594-X / 149194594X
ISBN-13 978-1-4919-4594-0 / 9781491945940
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich