Script Generation for Dynamic Form Dependency Management

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The complexity of hand-coding dynamic form behaviors in software applications, particularly in web forms, leads to inefficiencies, errors, and high computational demands, making it difficult to manage dependencies and changes within forms.

Innovation Solution

A method for generating invocation sequences of update functions using a synthesiser to identify trigger elements and determine the activation network, allowing for the automatic generation and updating of form elements, reducing the need for complex hand encoding.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If forms are hand-encoded by programmers, then the form can be created with proper structure, but the complexity of coding dynamic behavior increases significantly and errors increase

Engineering Contradiction:
Improveform behavior correctnessVSAvoidcoding complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The form generation system performs self-service by automatically generating the script code that controls dynamic behavior. The system analyzes the form definition and automatically produces the necessary JavaScript or Java code, eliminating the need for programmers to manually code the dynamic behavior and reducing errors from manual coding.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

An intermediary script generation system is introduced between the form definition and the final executable form. This intermediary automatically translates form definitions into script code, acting as a mediator that converts high-level form specifications into low-level executable behavior without requiring direct programmer intervention in the coding process.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Adaptability or versatility

If dynamic behavior is hand-coded, then custom functionality can be achieved, but any change causes ripple effects throughout the whole form requiring extensive re-coding

Engineering Contradiction:
Improveform customization capabilityVSAvoidform editing time
Core Design Contradiction:
Adaptability or versatilityVSLoss of time

Solution Approach 1:

The form system is segmented into independent components: form definition, script generation, and execution. The form definition is separated from the script code, allowing changes to be made at the definition level without requiring re-coding of the entire form. Only the affected script segments need to be regenerated automatically.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The script generation is performed in advance automatically based on the form definition. When changes are made to the form definition, the script is automatically regenerated beforehand, so that when the form is loaded or updated, the correct script is already in place without requiring manual re-coding or extensive editing time.

Inventive Principle:
Principle #10Preliminary action

3Reliability

If dependencies between form elements are manually managed, then correct information flow can be achieved, but the computational demand and programming effort increase

Engineering Contradiction:
Improvedependency management accuracyVSAvoidform development efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The script generation system implements feedback by automatically analyzing the form definition and generating appropriate dependency management code. The system monitors changes in form elements and automatically generates the necessary script logic to manage dependencies, eliminating the need for manual programming of dependency management while ensuring correctness.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The system performs self-service by automatically generating and updating the script code that manages dependencies between form elements. Rather than requiring programmers to manually code and maintain dependency logic, the system autonomously analyzes the form structure and generates the appropriate script to manage element dependencies correctly.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS8788929B2Script generation
Publication Date: 2014.07.22 GIVAUDAN SA
  • US8788929B2 patent drawing
  • US8788929B2 patent drawing
  • US8788929B2 patent drawing

AI summary

Indirect update functions, for updating a form, are generated by supplying update functions to a synthesizer, and generating an activation network, based on these update functions. The invocation sequence of the activation network is then determined, and used to update elements of a form. The generation of the invocation sequence by the synthesizer removes the need for complex hand encoding of form structures, and provides a means by which the functions may be generated as part of a server, client or middleware application.