concept Chat feature module in category javascript

This is an excerpt from Manning's book Single Page Web Applications: JavaScript end-to-end.
Before we discuss the Model, it’s useful to refer to an example application. Figure 5.2 illustrates the capabilities we plan to add to our SPA by the end of chapter 6. The Shell will manage the sign-in process—we can see the signed-in user in the top right. The Chat feature module will manage the chat window, which is shown at bottom right. And the Avatar feature module will manage the colored boxes representing people shown on the left. Let’s consider the business logic and data we’ll need per module:
In this section we’ll update the Chat feature module shown in figure 6.3. We can now take advantage of the Model’s chat and people objects to provide a simulated chat experience. Let’s revisit the Chat UI we mocked up earlier and decide how to modify it to work with the chat object. Figure 6.4 shows what we’d like to accomplish. We can distill this mockup into a list of capabilities that we’d like to add to the Chat feature module. These include: