Because state management is such an important part of web application development, I think it’s appropriate to end the chapter with an example application that showcases the material we’ve just covered. I’ve opted to create a portal application that allows a registered visitor to create a personalized home page from a list of pre-built modules, as it is simple enough to allow me to demonstrate a number of techniques. Figure 7-5 shows an overview of how the portal application is put together, including relationships between the various templates. The application uses all the shared variable scopes we discussed with the exception of the server scope. We’ll cover all of the templates used in the application except for