System and method for persisting state across navigations in a navigation-based application and for responding to navigation-related events throughout an application
First Claim
1. A computer-readable storage medium encoded with a client-side NavigationApplication object with flexible limitations, associated with a navigation-based application, wherein the NavigationApplication object is created when the navigation-based application is launched, the NavigationApplication object comprising:
- a first event operative to indicate a navigation away from or to a resource associated with the navigation-based application, wherein the navigation-based application comprises multiple webpages that are hyperlinked together and contain a plurality of distributed resources;
the first event operative to exist for a duration of a session of the navigation-based application, wherein the first event is accessible by each resource of the navigation-based application;
a first property operative to store, in an object form within the NavigationApplication object, state information of the resource, wherein the state information set by the resource of the navigation-based application is directly accessible and modifiable by another resource of the navigation-based application and the state information further allows the navigation based application to run both online and offline;
a first method operative to cause the state information of the resource to be stored in the first property;
a StartUp event operative to restore the state of the navigation based-application to a previous state, wherein the previous state is a state of the navigation based application when the application was last shutdown,a PropertySheet property operative to store style related information to be applied to all pages of the navigation-based application;
the first property operative to centralize a business logic of the navigation-based application, permitting sharing of the business logic information by one or more resources;
a second event operative to indicate that a navigation has occurred without error.
2 Assignments
0 Petitions
Accused Products
Abstract
Described is a mechanism for persisting state across navigations in a navigation-based application so that the state is accessible by each resource of a app. The invention provides an object (a “NavigationApplication object”) that persists across navigations. The NavigationApplication object allows developers to directly persist state by setting properties on that object and to trap navigation events. Enabling run-time state to be persisted in object form on the client not only improves performance, but makes it possible to develop navigation-based applications that can be run either online or offline. The NavigationApplication object makes it easier to persist state on the client across navigations.
14 Citations
15 Claims
-
1. A computer-readable storage medium encoded with a client-side NavigationApplication object with flexible limitations, associated with a navigation-based application, wherein the NavigationApplication object is created when the navigation-based application is launched, the NavigationApplication object comprising:
-
a first event operative to indicate a navigation away from or to a resource associated with the navigation-based application, wherein the navigation-based application comprises multiple webpages that are hyperlinked together and contain a plurality of distributed resources; the first event operative to exist for a duration of a session of the navigation-based application, wherein the first event is accessible by each resource of the navigation-based application; a first property operative to store, in an object form within the NavigationApplication object, state information of the resource, wherein the state information set by the resource of the navigation-based application is directly accessible and modifiable by another resource of the navigation-based application and the state information further allows the navigation based application to run both online and offline; a first method operative to cause the state information of the resource to be stored in the first property; a StartUp event operative to restore the state of the navigation based-application to a previous state, wherein the previous state is a state of the navigation based application when the application was last shutdown, a PropertySheet property operative to store style related information to be applied to all pages of the navigation-based application; the first property operative to centralize a business logic of the navigation-based application, permitting sharing of the business logic information by one or more resources; a second event operative to indicate that a navigation has occurred without error. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A method including computer-instructions, implemented on a client computing system attached to a computing network, the method comprising:
-
loading a navigation-based application having multiple webpages that are hyperlinked together with a plurality of associated resources; creating a NavigationApplication object when the navigation-based application is loaded, allowing the associated resources to share state information by storing the information in an object form with flexible limitations in a property of the NavigationApplication object resident on the client computing system, wherein the NavigationApplication object exists for a duration of a session of the navigation-based application, and where the NavigationApplication object is accessible by each resource of the navigation-based application; allowing the associated resources to retrieve the state information, wherein the state information set by one resource is directly accessible and modifiable by another resource to allow the navigation based application to run both online and offline; setting a navigation event operative to indicate a navigation away from or to one of the plurality of resources associated with the navigation-based application; setting a StartUp event to restore the state of the navigation based-application to a previous state, wherein the previous state is a state of the navigation based application when the application was last shutdown; storing in a PropertySheet property, operative style related information to be applied to all pages of the navigation-based application; centralizing a business logic of the navigation-based application such that the business logic information is shared by one or more resources; and raising an event, by the NavigationApplication object, to indicate that an error occurred during the navigation from the one resource to the other resource. - View Dependent Claims (12, 13, 14, 15)
-
Specification