Modularized programming method and device, storage medium and electronic equipment
A programming method and modular technology, applied in the computer field, can solve the problems of heavy workload and low development efficiency, and achieve the effect of reducing code writing, improving reuse and development efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0023] figure 1 It is a schematic flowchart of a modular programming method provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation of realizing fast programming. This method can be executed by the modular programming device provided by the embodiment of the present invention. The device can be software and / or hardware, the method specifically includes the following steps:
[0024] S110. Acquiring database tables and business requirements.
[0025] S120. Create a preset program module, and in the preset program module, determine a basic program corresponding to the business requirement.
[0026] S130. Update the basic program in each program module according to the field data in the database table to generate a target program.
[0027] In this embodiment, modular programming is performed under the framework of SpringBoot+Spring+SpringMVC+Mybatis. Among them, the object program automatically generated based on the above-mentioned mod...
Embodiment 2
[0068] Figure 4 It is a schematic structural diagram of a modular programming device provided in Embodiment 2 of the present invention, and the device includes:
[0069] Database table acquisition module 210, used to acquire database tables and business requirements;
[0070] A preset program module creation module 220, configured to create a preset program module, in which a basic program corresponding to the business requirement is determined;
[0071] The object program generating module 230 is configured to update the basic programs in the program modules according to the field data in the database table, and generate an object program.
[0072] Optionally, the database table acquisition module 210 includes:
[0073] Create a parameter acquisition unit for acquiring the creation parameters of the database table;
[0074] The database table creation unit is configured to create a database table in the database according to the creation parameters of the database table, ...
Embodiment 3
[0090] Figure 5 It is a schematic structural diagram of an electronic device provided by Embodiment 3 of the present invention. Figure 5 A block diagram of an exemplary electronic device 12 suitable for use in implementing embodiments of the invention is shown. Figure 5 The electronic device 12 shown is only an example, and should not limit the functions and scope of use of the embodiments of the present invention.
[0091] Such as Figure 5 As shown, electronic device 12 takes the form of a general-purpose computing device. Components of electronic device 12 may include, but are not limited to, one or more processors or processing units 16, system memory 28, bus 18 connecting various system components including system memory 28 and processing unit 16.
[0092]Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of b...
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