Conditionally reload workarea user interfaces using a flag indicator to balance performance and stability of web applications
First Claim
1. A system for conditionally refreshing workarea user interfaces (UIs), the system comprising:
- logic configured to receive a request to refresh one or more workarea UIs, wherein the one or more workarea UIs are provided within a document object model (DOM), and wherein the one or more workarea UIs each comprise a flag which indicates to either;
always reload the DOM when refreshing the workarea UI indicating a page-oriented setup, or not reload the DOM when refreshing the workarea UI indicating a single-page setup;
logic configured to determine, separately for each of the one or more workarea UIs based on each workarea UI'"'"'s flag, whether to reload the DOM to refresh a corresponding workarea UI or to refresh the corresponding workarea UI within the DOM without reloading the DOM;
logic configured to reload the DOM in response to a determination to reload the DOM; and
logic configured to refresh the one or more workarea UIs without reloading the DOM in response to a determination to refresh the one or more workarea UIs,wherein the DOM is reloaded in response to navigating away from a workarea UI that has been flagged for consistently leaking memory.
3 Assignments
0 Petitions
Accused Products
Abstract
In one embodiment, a system for conditionally refreshing workarea user interfaces (UIs) includes logic adapted to receive a request to refresh one or more workarea UIs, wherein the one or more workarea UIs are provided within a document object model (DOM), logic adapted to determine whether to reload the DOM or to refresh the one or more workarea UIs within the DOM without reloading the DOM; logic adapted to reload the DOM when it is determined to reload the DOM; and logic adapted to refresh the one or more workarea UIs without reloading the DOM when it is determined to refresh the one or more workarea UIs. Other systems, methods, and computer program products for conditionally refreshing workarea UIs are described according to more embodiments.
37 Citations
29 Claims
-
1. A system for conditionally refreshing workarea user interfaces (UIs), the system comprising:
-
logic configured to receive a request to refresh one or more workarea UIs, wherein the one or more workarea UIs are provided within a document object model (DOM), and wherein the one or more workarea UIs each comprise a flag which indicates to either;
always reload the DOM when refreshing the workarea UI indicating a page-oriented setup, or not reload the DOM when refreshing the workarea UI indicating a single-page setup;logic configured to determine, separately for each of the one or more workarea UIs based on each workarea UI'"'"'s flag, whether to reload the DOM to refresh a corresponding workarea UI or to refresh the corresponding workarea UI within the DOM without reloading the DOM; logic configured to reload the DOM in response to a determination to reload the DOM; and logic configured to refresh the one or more workarea UIs without reloading the DOM in response to a determination to refresh the one or more workarea UIs, wherein the DOM is reloaded in response to navigating away from a workarea UI that has been flagged for consistently leaking memory. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A method for conditionally refreshing workarea user interfaces (UIs), the method comprising:
-
receiving a request to refresh one or more workarea UIs, wherein the one or more workarea UIs are provided within a document object model (DOM), wherein at least one of the one or more workarea UIs comprises a flag which indicates to either;
always reload the DOM when refreshing the workarea UI, or never reload the DOM when refreshing the workarea UI;determining whether to reload the DOM or to refresh the one or more workarea UIs within the DOM without reloading the DOM based on at least a flag of the at least one of the one or more workarea UIs, wherein the DOM is always reloaded when refreshing one or more particular workarea UIs; reloading the DOM in response to a determination that the one or more particular workarea UIs are included in the DOM or the flag of the at least one of the one or more workarea UIs indicates to always reload the DOM; refreshing the one or more workarea UIs without reloading the DOM in response to a determination to refresh the one or more workarea UIs within the DOM without reloading the DOM; and placing a new workarea UI on probation and flagging the new workarea UI for leaking memory until confirmation that the DOM lacks memory leaks over a predetermined period of time after loading the new workarea UI. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19)
-
-
20. A computer program product, comprising a non-transitory computer readable storage medium having program instructions embodied therewith, the embodied program instructions being readable by a processor to cause the processor to:
-
receive a request to refresh one or more workarea UIs, wherein the one or more workarea UIs are provided within a document object model (DOM), and wherein the one or more workarea UIs each comprise a flag which indicates to either;
always reload the DOM when refreshing the workarea UI indicating a page-oriented setup, or not reload the DOM when refreshing the workarea UI indicating a single-page setup;determine, separately for each of the one or more workarea UIs based on each workarea UI'"'"'s flag and whether one or more conditions have been satisfied, whether to reload the DOM to refresh a corresponding workarea UI or to refresh the corresponding workarea UI within the DOM without reloading the DOM, wherein it is determined to reload the DOM in response to at least one of the one or more conditions being satisfied and it is determined to refresh the one or more workarea UIs without reloading the DOM in response to none of the one or more conditions being satisfied, and wherein the one or more conditions include a memory leak being detected in the one or more workarea UIs; reload the DOM in response to a determination to reload the DOM; and refresh the one or more workarea UIs without reloading the DOM in response to a determination to refresh the one or more workarea UIs. - View Dependent Claims (21, 22, 23, 24)
-
-
25. A method for conditionally refreshing workarea user interfaces (UIs), the method comprising:
-
receiving a request to refresh one or more workarea UIs, wherein the one or more workarea UIs are provided within a document object model (DOM), wherein at least one of the one or more workarea UIs comprises a flag which indicates to either;
always reload the DOM when refreshing the workarea UI, or never reload the DOM when refreshing the workarea UI;determining whether to reload the DOM or to refresh the one or more workarea UIs within the DOM without reloading the DOM based on a flag of the at least one of the one or more workarea UIs and a determination of whether one or more conditions have been satisfied, wherein the DOM is always reloaded when refreshing one or more particular workarea UIs, wherein in response to at least one condition being satisfied, it is determined to reload the DOM, wherein in response to none of the one or more conditions being satisfied, the one or more workarea UIs are refreshed without reloading the DOM, and wherein the one or more conditions include a memory leak being detected in the one or more workarea UIs; reloading the DOM in response to a determination that the one or more particular workarea UIs are included in the DOM or the flag of the at least one of the one or more workarea UIs indicates to always reload the DOM; and refreshing the one or more workarea UIs without reloading the DOM in response to a determination to refresh the one or more workarea UIs within the DOM without reloading the DOM. - View Dependent Claims (26, 27, 28, 29)
-
Specification