Persisting state across navigations in a navigation-based application and responding to navigation-related events throughout an application
First Claim
1. A computing device for executing a navigation-based web application at the computing device, the computing device comprising:
- a processor;
a first set of application programming interfaces, implemented and executed by the computing device, configured to support execution of the navigation-based web application within the software architecture,wherein the navigation-based web application comprises;
multiple web pages expressed in declarative languages and hyperlinked together;
a plurality of resources distributed to the multiple web pages, the plurality of resources each having state information reflecting its current state; and
one or more business logic within an extent of the navigation-based web application, the one or more business logic being applied to the multiple web pages and the plurality of resources of the navigation-based web application; and
wherein the first set of application programming interfaces comprises a ShutDown method that, when called, is operative to cause the state information of each of the plurality of resources to be saved when the navigation-based web application is shut down;
a second set of application programming interfaces, implemented and executed by the computing device, configured to support navigation-related activities of the navigation-based web application, wherein;
the navigation-related activities are activities arising from navigation among the multiple pages of the navigation-based web application;
a navigation-based web application object is created after the navigation-based web application is launched at the computing device, the navigation-based web application object residing in a runtime execution environment of the computing device; and
the state information of each of the plurality of resources of the navigation-based web application is;
persisted within the navigation-based web application object;
made accessible to the plurality of other resources within the navigation-based web application; and
modified according to the one or more business logic in response to an occurrence of the navigation-related activities during a session of the navigation-based web application.
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.
17 Citations
22 Claims
-
1. A computing device for executing a navigation-based web application at the computing device, the computing device comprising:
-
a processor; a first set of application programming interfaces, implemented and executed by the computing device, configured to support execution of the navigation-based web application within the software architecture, wherein the navigation-based web application comprises; multiple web pages expressed in declarative languages and hyperlinked together; a plurality of resources distributed to the multiple web pages, the plurality of resources each having state information reflecting its current state; and one or more business logic within an extent of the navigation-based web application, the one or more business logic being applied to the multiple web pages and the plurality of resources of the navigation-based web application; and wherein the first set of application programming interfaces comprises a ShutDown method that, when called, is operative to cause the state information of each of the plurality of resources to be saved when the navigation-based web application is shut down; a second set of application programming interfaces, implemented and executed by the computing device, configured to support navigation-related activities of the navigation-based web application, wherein; the navigation-related activities are activities arising from navigation among the multiple pages of the navigation-based web application; a navigation-based web application object is created after the navigation-based web application is launched at the computing device, the navigation-based web application object residing in a runtime execution environment of the computing device; and the state information of each of the plurality of resources of the navigation-based web application is; persisted within the navigation-based web application object; made accessible to the plurality of other resources within the navigation-based web application; and modified according to the one or more business logic in response to an occurrence of the navigation-related activities during a session of the navigation-based web application. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A computer-readable storage medium having computer-executable components for supporting execution of a navigation-based web application, the components comprising:
-
an application programming interface exposed by the navigation-based web application, the navigation-based web application comprising; multiple web pages expressed in declarative languages and hyperlinked together; a plurality of resources distributed to the multiple web pages, the plurality of resources each having state information reflecting its current state; and one or more business logic within an extent of the navigation-based web application, the one or more business logic being applied to the multiple web pages and the plurality of resources of the navigation-based web application; the application programming interface including; an OnStartingUp method including executable instructions to be executed to load states of the navigation-based web application when it is being launched; an OnShutDown method including executable instructions that are executed when the navigation-based web application is being shut down; and a ShutDown method that, when called, is operative to cause the states of the navigation-based web application to be saved before it is shut down, wherein; a navigation-based web application object is created after the navigation-based web application is executed at the computing device, the navigation-based web application object; residing in a runtime execution environment of the computing device; and state information of each of the plurality of resources of the navigation-based web application is; persisted in the navigation-based web application object; made accessible to the plurality of other resources of the navigation-based web application; and modified according to the one or more business logic during a session of the navigation-based web application. - View Dependent Claims (14, 15)
-
-
16. A computer-readable storage medium having computer-executable components for supporting the execution of a navigation-based web application at a computing device, the components comprising:
-
an application programming interface exposed by the navigation-based web application, the navigation-based web application comprising; multiple web pages expressed in declarative languages and hyperlinked together; a plurality of resources distributed to the multiple web pages, the plurality of resources each having state information reflecting its current state; and one or more business logic within an extent of the navigation-based web application, the one or more business logic being applied to the multiple web pages and the plurality of resources of the navigation-based web application, the application programming interface including; a Properties collection that stores state information of the plurality of resources of the navigation-based web application during execution; and a StartUpURI property that specifies the resources to which the navigation-based web application navigates upon being launched, wherein; a navigation-based web application object is created after the navigation-based web application is launched at the computing device, the navigation-based web application object; residing in a runtime execution environment of the computing device; and the state information of the resources in the Properties collection of the navigation-based web application is; persisted within the navigation-based web application object; made accessible to the plurality of other resources within the navigation-based web application; and modified according to the one or more business logic during a session of the navigation-based web application. - View Dependent Claims (17, 18, 19, 20, 21, 22)
-
Specification