Web-Based Incremental Computing for Dynamic Page Updates
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Web applications face latency issues due to network communications, leading to inefficiencies in updating web pages, as current methods require significant developer resources to manage customized software for dynamic updates, which can be complex and time-consuming.
Innovation Solution
Implementing web-based incremental computing, where data value changes trigger only necessary updates through a dependency graph and the DOM, automatically generating code to monitor and update webpage elements, minimizing data transmission and computational overhead.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If customized software is used to manage dynamic updates in web applications, then web page updates can be performed, but developer resources and complexity increase significantly
Solution Approach 1:
The system automatically generates and maintains customized software code based on dependency graphs without requiring manual developer intervention. The framework self-manages the generation of update operations, eliminating the need for developers to manually create and maintain complex update software.
Solution Approach 2:
The system performs preliminary analysis by automatically generating dependency graphs that map relationships between data and web page elements before updates are needed. This pre-computed dependency information enables automatic generation of update operations when data changes occur.
2Reliability
If entire HTML documents are reloaded to update data, then all elements are refreshed, but network latency and data transmission increase
Solution Approach 1:
Instead of reloading entire HTML documents, the system segments updates by identifying only the specific elements that need to be updated based on dependency graphs. Only the affected portions of the web page are reloaded and updated, while the rest of the document remains cached.
Solution Approach 2:
The system applies local updates to specific web page elements rather than global updates to the entire document. Each element has associated dependency information that determines whether it needs updating, allowing selective updates only where necessary.
3Productivity
If data changes trigger updates through dependency graphs, then only affected elements are updated, but system complexity increases
Solution Approach 1:
The system replaces manual dependency tracking mechanisms with automated computational analysis. Dependency graphs are automatically generated and maintained through programmatic analysis of data relationships, eliminating the need for manual configuration of complex update rules.
Solution Approach 2:
The system changes the approach from static HTML updates to dynamic dependency-based updates. By representing data relationships as computable dependency graphs, the system can automatically determine update requirements based on data changes rather than relying on predefined update rules.
Data Source
AI summary
A method and a system implementing web-based incremental computing. A webpage updates when a data value relevant to displayed information is altered and updates only those affected elements. A watch system monitors relevant data values and in conjunction with a dependency tree, may execute functions to alter only altered elements of a webpage. A framework to automatically track data dependencies and propagate data changes is disclosed.


