Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Building SPAs with Django and HTML Over the Wire

You're reading from  Building SPAs with Django and HTML Over the Wire

Product type Book
Published in Aug 2022
Publisher Packt
ISBN-13 9781803240190
Pages 264 pages
Edition 1st Edition
Languages
Author (1):
Andros Fenollosa Andros Fenollosa
Profile icon Andros Fenollosa

Table of Contents (14) Chapters

Preface 1. Part 1: Getting Started with Python
2. Chapter 1: Setting up the Virtual Environment 3. Chapter 2: Creating a Django Project around Docker 4. Part 2: WebSockets in Django
5. Chapter 3: Adding WebSockets to Django 6. Chapter 4: Working with the Database 7. Chapter 5: Separating Communication in Rooms 8. Part 3: HTML over WebSockets
9. Chapter 6: Creating SPAs on the Backends 10. Chapter 7: Creating a Real-Time Blog Using Only Django 11. Part 4: Simplifying the frontend with Stimulus
12. Chapter 8: Simplifying the Frontend 13. Other Books You May Enjoy

Technical requirements

The example is based on the template we used in Chapter 4, Working with the Database:

https://github.com/PacktPublishing/Building-SPAs-with-Django-and-HTML-Over-the-Wire/tree/main/chapter-4/initial-template

The finished code can be found in the following repository:

https://github.com/PacktPublishing/Building-SPAs-with-Django-and-HTML-Over-the-Wire/tree/main/chapter-8

It is also recommended that you visit Stimulus’ own documentation to learn more about important concepts such as controllers, actions, and targets:

https://stimulus.hotwired.dev/handbook/

And, optionally, it’s recommended that you have a modern version of Node.js along with the latest version of npm. We will use it to install the Stimulus package, but we can also use the CDN.

CDN or Content delivery network

A CDN is a group of servers located around the world that work together to deliver content to users quickly and efficiently. It is used with static content...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}