Mixed development front end MVC frame implementation method and system
An implementation method and framework technology, applied in the computer field, can solve the problems of confusing program code management logic, difficult maintenance and reconstruction, and achieve the effects of good user experience, easy maintenance and reconstruction, and improved operating performance.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0031] Such as figure 1 As shown, the embodiment of the present invention provides a front-end MVC framework implementation method for hybrid development, including:
[0032] Step A, capturing user operations, that is to say, the presentation layer captures an action event of a page module in the user interface, and notifies the control layer of the action event;
[0033] Step B, invoking data processing, that is to say, after receiving the notification, the control layer judges whether the page module needs to obtain data from the service layer according to the action event; when the judgment is yes, determine the action event a corresponding data model, and notify the data model layer of the data model;
[0034] Step C, requesting data, that is to say, the data model layer invokes the data model to request the data from the service layer; and after receiving the data returned by the service layer, sends the data to the control layer;
[0035] Step D, the service layer ret...
Embodiment 2
[0066] Such as figure 2 As shown, the embodiment of the present invention provides a front-end MVC framework implementation system for hybrid development, including:
[0067] The presentation layer is used to capture the action event of a page module in the user interface, and notify the control layer of the action event; and is used to receive the data filled by the control layer, and display the refreshed page module on the user interface ;
[0068] The control layer is configured to judge whether the page module needs to obtain data from the service layer according to the action event after receiving the notification; if the judgment is yes, determine the data model corresponding to the action event, and store the data The model notifies the data model layer; and is used to receive the data sent by the data model layer, fill the data into the presentation layer, and refresh the page module;
[0069] The data model layer is used to call the data model to request the data ...
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, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com