Method and device for data bidirectional binding, terminal and storage medium

A data and binding technology, applied in the web front-end and visualization fields, can solve the problem of unable to achieve bidirectional binding of browser data, unable to monitor variable get/set attributes, change views, etc.

Inactive Publication Date: 2019-02-22
GUANGZHOU SHIYUAN ELECTRONICS CO LTD +1
View PDF3 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, since IE8 and browsers below IE8 do not support the object.defineProperty attribute, they cannot monitor the get / set attribute of variables, and cannot assign values ​​to variables through conventional '=' to achieve the effect of changing the view. Therefore, it is impossible Realize two-way data binding of browsers of IE8 and versions below IE8

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for data bidirectional binding, terminal and storage medium
  • Method and device for data bidirectional binding, terminal and storage medium
  • Method and device for data bidirectional binding, terminal and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present application as recited in the appended claims.

[0039] The terminology used in this application is for the purpose of describing particular embodiments only, and is not intended to limit the application. As used in this application and the appended claims, the singular forms "a", "the", and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It should also be understood that the term...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The present application provides a method and device for bidirectional binding of data, a terminal and a storage medium. the processing module receives the data change notification sent by the subscription module, updates the data according to the data change notification and sends the view update instruction to the view update module, the view update module updates the view related to the data according to the view update instruction; The monitoring module monitors the user interaction event and sends the data change triggered by the interaction event to the processing module, The processingmodule updates the data according to the data change triggered by the interactive event and sends a view update instruction to the view update module. The view update module updates views related to the data according to the view update instruction. The method can realize the data bidirectional binding of the browsers of the IE8 and below versions.

Description

technical field [0001] The present application relates to the technical field of web front-end and visualization, and in particular to a method, device, terminal and storage medium for two-way data binding. Background technique [0002] Two-way binding, that is, two-way binding between the data model (Model) and the UI view (View), specifically manifested in that the user's modification on the view will be automatically synchronized to the data model. Similarly, if the value in the data model If there is a change, it will be synchronized to the view immediately. The most common application scenario is the operation of the form. When the user completes the input or click on the front-end page, the data is automatically stored in the data model without any operation. At present, the commonly used methods for two-way data binding include dirty check mechanism and data hijacking. The dirty check mechanism is used in the Angular framework, but the Angular reference is large, and...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/23G06F16/27
Inventor 陈勇辉
Owner GUANGZHOU SHIYUAN ELECTRONICS CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products