The invention particularly relates to a dynamic form
data binding method. According to the dynamic form
data binding method, the dynamic association between the field and the control is realized through visual configuration, the control type is automatically adapted when the field is changed, and code logic does not need to be manually intervened; a global binding relation matrix is introduced based on graph structure storage, the mapping relation between fields and controls is managed in a centralized mode, and when the fields are added, deleted and modified, a control
adaptation and
data degradation strategy is automatically triggered; and establishing bidirectional binding of a
data model and a control based on a responsive framework, and dynamically generating an API response format in combination with
JSON Schema to realize real-
time synchronization of field addition, deletion, modification and check. According to the dynamic form
data binding method, the data binding code can be automatically generated, so that the
code writing workload of a developer is greatly reduced, the project
development period is shortened, the business demand change can be quickly responded, real-
time data interaction can be realized, and the fluency and convenience of filling the form by a user are improved.