A method and a system realizing behavior, data and view linkage at a front end

A view and data technology, applied in the field of front-end development, can solve problems such as high maintenance cost, no uniform specification of event name and event processing, complex code debugging and maintenance, etc., to achieve the effect of reducing complexity and facilitating expansion and maintenance

Active Publication Date: 2016-11-16
厦门众联世纪股份有限公司
View PDF5 Cites 24 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The event catapult does solve some event management problems to some extent, but in the real front-end development process, developers can perform personalized event registration in multiple different code modules, and the event name and event processing There is no unified specification, which makes code

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
  • A method and a system realizing behavior, data and view linkage at a front end
  • A method and a system realizing behavior, data and view linkage at a front end
  • A method and a system realizing behavior, data and view linkage at a front end

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0027] see figure 1 As shown, the embodiment of the present invention provides a method for implementing behavior, data, and view linkage at the front end, including the following steps:

[0028] Step S1: Obtain the interaction data between the user and the server, establish a data model according to the acquired interaction data, and go to step S2.

[0029] It can be understood that the data model includes several data instances generated by data objects, each data instance corresponds to a piece of interaction data, and each piece of interaction data corresponds to a view (that is, a data instance corresponds to a view). Wherein, each data instance includes a data model field, a default value of the data model field, and a data processing method of the data model field.

[0030] Step S2: Establish a view model according to the dat...

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 invention provides method and a system realizing behavior, data and view linkage at a front end and relates to the technical field of front end development. The method comprises the steps of establishing a data model; establishing a view model according to the data model; when it is needed to display a first view page allowing users to perform interactive operations, processing the view model by using an existing view script to generate an HTML code corresponding to the view model, and rendering the first view page via the generated HTML code and displaying the first view page; allowing the users to use the displayed first view page to perform interactive operations and generate operation data, and updating the operation data to data instances corresponding to current views via the view script; finally submitting the operation data to a server. The method and the system enable front ends to achieve a behavior, data and view linkage effect, reduce the complexity of front end code development and debugging and facilitate extension and maintenance.

Description

technical field [0001] The present invention relates to the technical field of front-end development, specifically a method and system for realizing linkage among behavior, data and view at the front-end. Background technique [0002] For a website, the front end usually refers to the foreground part of the website, including the presentation layer and structure layer of the website. Therefore, front-end technology is generally divided into front-end design and front-end development. Front-end design can generally be understood as the visual design of the website, and front-end development is the front-end code implementation of the website, including basic HTML (HyperText Markup Language, Hypertext Markup Language), CSS ( Cascading Style Sheets, Cascading Style Sheets) and JavaScript / ajax. In the field of front-end development, more and more business logic and data processing are forcibly connected. From the initial processing of simple form submission and data interactio...

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
IPC IPC(8): G06F9/44
CPCG06F8/24G06F8/38
Inventor 杜伟
Owner 厦门众联世纪股份有限公司
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