Declarative Data Model Runtime Generation for Multi-Device Forms
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing data-entry form generation methods require complex synchronization of back-end and front-end components, necessitating compilation and limiting agility and flexibility, especially when adapting to different devices and operating systems.
Innovation Solution
A method and system for creating interactive forms using a declarative data model defined at design time, which generates a runtime data model without compilation, utilizing reflection classes and adapters to associate UI controls with data sources, allowing for dynamic generation of interactive forms across various platforms.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If complex synchronization of back-end and front-end components is used, then data integrity and reliability are improved, but device complexity and development time increase
Solution Approach 1:
The patent introduces a runtime data model as an intermediary layer between the declarative data model and the user interface. This runtime model automatically synchronizes back-end data changes with front-end displays without requiring complex manual coordination, thus maintaining data integrity while reducing synchronization complexity
Solution Approach 2:
The system implements self-service through automatic form generation and runtime model creation. The runtime data model automatically reflects changes to the declarative data model and updates the user interface accordingly, eliminating the need for developers to manually synchronize components across different layers
2Manufacturing precision
If compilation is required for form generation, then manufacturing precision and reliability are improved, but productivity and agility deteriorate
Solution Approach 1:
The patent applies preliminary action by defining the complete declarative data model structure in advance at design time, including all data sources, fields, and relationships. This pre-defined structure ensures precision while enabling rapid runtime generation without compilation, as the framework already has the blueprint to work with
Solution Approach 2:
The system transitions from static compiled forms to dynamic runtime-generated forms. The declarative data model is compiled once into a runtime model that can dynamically generate forms at runtime based on current data state, allowing both precision from predefined structures and agility from dynamic generation
3Ease of operation
If traditional data-entry forms are used, then ease of operation is maintained, but adaptability to different devices and platforms deteriorates
Solution Approach 1:
The patent implements universality through a platform-agnostic declarative data model that can be rendered across multiple devices and operating systems. The runtime model generates forms that adapt to different platforms while maintaining consistent data binding and user interaction patterns, enabling one data model to serve multiple platforms effectively
Data Source
AI summary
Methods and system of creating a multi device interactive form. At design time a declarative data model having a plurality of queries each said query having a data source definition and plurality of fields and plurality of data entry view for a runtime data model of said declarative data model are defined and associated. At runtime the runtime data model is generated using reflection classes and annotation attributes the data entry view is presented as an interactive form having UI controls to a user.


