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.
Book InformationISBN 9781803240190
Author Andros FenollosaFormat Paperback
Page Count 210
Imprint Packt Publishing LimitedPublisher Packt Publishing Limited