Get Free Shipping on orders over $79
Building SPAs with Django and HTML Over the Wire : Learn to build real-time single page applications with Python - Andros Fenollosa

Building SPAs with Django and HTML Over the Wire

Learn to build real-time single page applications with Python

By: Andros Fenollosa

eText | 24 August 2022 | Edition Number 1

At a Glance

eText


$37.39

or 4 interest-free payments of $9.35 with

 or 

Instant online reading in your Booktopia eTextbook Library *

Why choose an eTextbook?

Instant Access *

Purchase and read your book immediately

Read Aloud

Listen and follow along as Bookshelf reads to you

Study Tools

Built-in study tools like highlights and more

* eTextbooks are not downloadable to your eReader or an app and can be accessed via web browsers only. You must be connected to the internet and have no technical issues with your device or browser that could prevent the eTextbook from operating.

Build real-time application with Python and Django without the hassle of learning JavaScript.

Key Features

  • Learn how to do SPA using Python and a minimum of JavaScript.
  • Create WebSockets communication between Backend and Frontend
  • Create a real project with Django using the techniques from the book

Book Description

HTML over WebSockets simplifies the creation of SPAs by avoiding front-end rendering, giving real-time responses, and simplifying the logic by moving it to the Backend. You will avoid learning a JavaScript rendering framework like React or Angular, moving the logic to Python. Simplify your developments with real-time results with all the tools provided by Django.

Developers will learn state-of-the-art WebSockets techniques to realize real-time applications with minimal reliance on JavaScript. They will also learn from the ground up how to create a project with Docker, test it and deploy it on a server. You will go through a professional Django path where you will create a project, add Docker, development libraries, first channels, bidirectional communication, and from then on you will create real projects of all kinds using HTML over WebSockets as a Chat or a Blog with real-time comments. You will modernize your development techniques by moving from using an SSR model to creating web pages using WebSockets over HTML. With Django, you will create SPA applications with professional real-time projects where the logic will be in Python.

By the end of the book, you will be able to make real-time applications and master WebSockets with Django.

What you will learn

  • Explore real-time site realization.
  • Learn the proper use of Django channels.
  • Setting up a Docker with Django.
  • Using a framework such as Sockpuppet
  • Managing a database asynchronously in Django
  • Bringing dynamic rendering logic to the Back-End

Who This Book Is For

This book is for developers looking to make applications where they want to bring logic to the Back-End, learn WebSockets, or not depend on JavaScript to make a SPA. Basic knowledge of HTML, Python, and basic web development concepts is expected.

Table of Contents

  1. Setting up the virtual environment
  2. Creating a Django project around Docker
  3. Adding WebSockets to Django
  4. Working with the database
  5. Separating communication in rooms
  6. Creating SPAs on the Back-Ends
  7. Creating a real-time Blog using only Django
  8. First steps
  9. WebSockets and Server Sent Events
on
Desktop
Tablet
Mobile

More in Web Programming

Spring AI in Action - Craig Walls

eBOOK

Total Typescript - Matt Pocock

eBOOK

RRP $81.07

$64.99

20%
OFF
API Management with Bruno - Lyria Tharax

eBOOK