Setting up the backend
The backend of a system in computing refers primarily to the code infrastructure that a client will never directly interact with. In this section, we will focus on data and player management, which is done from the server. Additionally, as mentioned in Chapter 3, Introduction to Luau, for the sake of security, all information that can be obtained by the server should be retrieved by the server.
At the beginning of Chapter 4, Roblox Programming Scenarios, you were introduced to modules and some of their possible uses. You will find that when making something larger scale, such as a full project, the modularization of experience systems becomes quite necessary. If you were to use individual scripts instead of modules under one script manager, the organization of your scripts would quickly become a nightmare—something that is not at all manageable for a larger-scale experience. For this chapter, the systems you make will be contained within modules for...