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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Example Embodiment
[0031] Example
[0032] Such as figure 1 , figure 2 As shown, a method for automatically mapping data between the model layer and the view layer suitable for the AJAX framework. The method hardware includes 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 workflow of the method is as follows:
[0033] Step 1, the client downloads the WEB form;
[0034] In step 2, the client sends a submission request to the server. At this time, the form data processor will automatically capture the attribute information and current values of the view layer form controls, and encapsulate the information into 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 client's AJAX interface calling module is responsible for calling specific third-party AJAX frameworks and submitting form data in JSO...
Example Embodiment
[0048] Example 2
[0049] This method has been applied to the transportation production scheduling system of Guangxi Branch of Aluminum Corporation of China. The main functions of the system include tracking the walking process of the locomotive, real-time dynamic tracking and processing of the transportation data and the walking traces of the rolling stock 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 the server.
[0051] The system extends three custom attributes for each WEB form control: group information (name of associated object), associated field, type (used 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:
[0053] 1. Smart binding of data forms:
[0054] Customized three Html c...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap