The Single-Page Model
When I created the
NoteFlash app, I briefly introduced the idea of the single-page navigation model. In this chapter, I will dive into this topic in depth. The basic idea behind the single-page model is that there is one HTML page (often referred to as the master page or main page) that is always displayed to the user and that is responsible for importing other content into its structure as the state of the app changes.
This model provides the basis for allowing the user to navigate your app. You import content into the main page in response to user input and interactions, often replacing content that you have ...