Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Automatic mapping method of model layer and view layer data suitable for AJAX frame

An automatic mapping and view layer technology, applied in the direction of program control devices, etc., can solve problems such as low development efficiency and unguaranteed quality, and achieve the effect of reducing development complexity and improving development efficiency

Active Publication Date: 2010-04-14
CASCO SIGNAL
View PDF0 Cites 41 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

According to the traditional method, the data interaction between the MODEL layer and the VIEW layer often requires writing a large number of JS scripts and server-side scripts, and its development efficiency is low, and the quality cannot be guaranteed

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
  • Automatic mapping method of model layer and view layer data suitable for AJAX frame
  • Automatic mapping method of model layer and view layer data suitable for AJAX frame
  • Automatic mapping method of model layer and view layer data suitable for AJAX frame

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0032] Such as figure 1 , figure 2 As shown, an automatic mapping method for model layer and view layer data suitable for AJAX framework, the method hardware includes form data processor, AJAX interface call module, object entity processor, WEB form control, entity object, data source, the The workflow of the method is as follows:

[0033] Step 1, the client downloads the WEB form;

[0034] Step 2: The client sends a submission request to the server, and the form data processor will automatically capture the property information and current value of the form control in the view layer, and encapsulate the information in JSON format;

[0035] Step 3, the form data processor submits the form data in JSON format to the server through the AJAX interface call module;

[0036] Step 4, the AJAX interface calling module of the client is responsible for calling the specific third-party AJAX framework, and submitting the form data in JSON format to the server;

[0037] Step 5, the A...

Embodiment 2

[0049] This method has been applied in the transportation production scheduling system of China Aluminum Guangxi Branch. The main functions of the system include tracking the locomotive walking process, real-time dynamic tracking and processing of the transportation data and locomotive traces left during the transportation process, etc. .

[0050] The transportation production scheduling system is developed based on JAVA, and uses the DWR framework to complete the data transmission between the client and server.

[0051] The system extends three custom attributes for each WEB form control: group information (associated object name), associated field, type (for validity verification). Form controls include text boxes, drop-down menus, dates, or any other object-oriented form controls.

[0052] The following is the specific implementation method:

[0053] 1. Data form smart binding:

[0054] Customized three Html component attributes, including object ID (group attribute), fi...

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 relates to an automatic mapping method of model layer and view layer data suitable for an AJAX frame. Hardware related in the method comprises a form data processor, an AJAX interface calling module, an object entity processor, a WEB form control, an entity object and a data source. The method comprises the steps that a client downloads a WEB form, and the like. Compared with the prior art, the method has the advantages of low complexity, strong universality and the like.

Description

technical field [0001] The invention relates to a data automatic mapping method, in particular to a model layer and view layer data automatic mapping method suitable for AJAX (asynchronous JavaScript and XML) framework. Background technique [0002] WEB application system is currently widely used due to its rapid deployment characteristics, and the system is generally developed according to the three-layer model of MVC (MODEL layer, VIEW layer, and CONTROLLER layer). Among them, the VIEW layer generally uses the HTML Document Object Model (DOM) for data presentation and processing. The HTML Document Object Model defines an HTML document as a tree-structured object nested within other elements. The MODEL layer generally uses object-oriented (OO) programming languages, such as JAVA, .NET and other programming languages, and uses classes (classes) and objects (objects) to define background entity objects for data processing and persistence. [0003] Due to the differences in ...

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
Inventor 周庭梁张兵建张立鹏
Owner CASCO SIGNAL
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products