Building SPAs with Django and HTML Over the Wire, published by Packt
This is the code repository for Becoming an Enterprise Django Developer, published by Packt.
Learn to build real-time single page applications with Python
This book is for developers looking to build applications where they want to bring logic to the backend, learn WebSockets, and not depend on JavaScript heavily to create a single-page application. Basic knowledge of HTML and Python and familiarity with basic web development concepts is expected.
This book covers the following exciting features:
- Explore real-time site realization
- Understand the proper use of Django channels
- Find out how to set up Docker with Django
- Discover how to use a JavaScript framework such as Stimulus
- Manage a database asynchronously in Django
- Bring dynamic rendering logic to the backend
If you feel this book is for you, get your copy today!
All of the project files are organized into folders. For example, Chapter01.
The code will look like the following:
function goToPreviousPage(event) {
const newData = {
"action": "list messages",
"data": {
"page": getCurrentPage() - 1,
}
};
Following is what you need for this book:
The HTML over WebSockets approach simplifies single-page application (SPA) development and lets you bypass learning a JavaScript rendering framework such as React, Vue, or Angular, moving the logic to Python. This web application development book provides you with all the Django tools you need to simplify your developments with real-time results.
With the following software and hardware list you can run all code files present in the book (Chapter 1-8).
We also provide a PDF file that has color images of the screenshots/diagrams used in this book. Click here to download it.
Andros Fenollosa works as CTO in a software development studio and is an expert programmer. He combines his time with teaching, training students in Web technologies for more than a decade. On the other hand, he maintains several Opensource projects related to Python and functional programming (including his own framework: Tadam Web Framework.
If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.
Simply click on the link to claim your free PDF.