Summary
We have acquired the skills to create a bidirectional communication tunnel between a backend and frontend using the WebSockets protocol. We can send plain text, JSON, or HTML—totally asynchronous and without waiting. We even know how to ask the backend to take care of rendering HTML fragments that we will inject without the visitor noticing a delay.
Despite everything we have learned, we still have some issues, such as the fact that the backend can only send information to individual clients, and not to groups. In addition, we still don’t know how to interact with the database, create sessions, or identify users. And without all these elements, we will be unable to make an application that facilitates communication between two visitors or manipulate the database. We need to go deeper.
In the next chapter, we will be introduced to database models and create a complete Browse-Read-Edit-Add-Delete (BREAD) with a completely new project.
BREAD Is an Evolution...