Rapid application building method based on MVVM framework and computer equipment
A fast, framework technology, applied in computing, software engineering design, model-driven code, etc., can solve the problems of high system structure complexity, high update and maintenance costs, frequent interaction between views and presenters, etc., to improve work efficiency, The effect of reducing the development burden
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0030] figure 1 It is a schematic flowchart of a method for quickly building an application based on the MVVM framework disclosed in the embodiment of the present invention, refer to Figure 1 ~ Figure 4 As shown, the method includes:
[0031] Step S1, creating a project in a modular form;
[0032] Wherein, in step S1, an application project is created in a component or modular form, and at the same time, dependent libraries and version control information required by the project are configured.
[0033] Step S2, creating a basic module in the project, and creating the basic interface functions of the view layer and the view model layer of the basic module according to the MVVM architecture;
[0034] In step S2, a basic module is created in a modular form. The basic module is created based on the MVVM architecture, including the view layer, the view model layer, and the model layer, and may also include general components such as global configuration, general tool classes, a...
Embodiment 2
[0049] Figure 6 A schematic structural diagram of a computer device provided in Embodiment 2 of the present invention, such as Figure 4 As shown, the computer equipment includes a processor 40, a memory 41, an input device 42 and an output device 43; the number of processors 40 in the computer equipment can be one or more, Figure 4 Take a processor 40 as an example; the processor 40, memory 41, input device 42 and output device 43 in the computer equipment can be connected by bus or other methods, Figure 4 Take connection via bus as an example.
[0050] As a computer-readable storage medium, the memory 41 can be used to store software programs, computer-executable programs and modules, such as program instructions / modules corresponding to the MVVM framework-based application rapid construction method in the embodiment of the present invention. The processor 40 executes various functional applications and data processing of the computer device by running the software prog...
Embodiment 3
[0054] Embodiment 3 of the present invention also provides a computer storage medium storing a computer program, the computer program is used to execute the MVVM framework-based rapid application construction method described in any of the above embodiments of the present invention when executed by a computer processor: Create a project in a modular form; create a basic module in the project, and create the basic interface functions of the view layer and the view model layer of the basic module according to the MVVM architecture; encapsulate the basic interfaces of the view layer and the view model layer respectively The function obtains the base class of the base VM view layer and the base class of the base view model layer, and injects the base class of the base view model layer into the base class of the base VM view layer; encapsulates the base class of the base VM view layer twice, The basic view layer base class is obtained; other functional modules create specific view l...
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