O'Reilly logo

Pro Windows 8 Development with HTML5 and JavaScript by Adam Freeman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 5

images

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required