Project code automatic generation method and device, computer equipment and storage medium
A technology for automatic generation and computer programs, applied in the direction of creating/generating source codes, intelligent editors, etc., can solve problems such as reducing development efficiency, increasing project risks, developers being passive and slowing down or even resigning, so as to improve development efficiency and reduce Development intensity and complexity, the effect of avoiding project errors
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0059] figure 1 A flowchart of an embodiment of a method for automatically generating project codes according to the present invention is shown, including the following steps:
[0060] Step S1, obtaining a standard project code template corresponding to the standard project, where the standard project refers to a project that integrates all supported components. In this embodiment, the standard project code template is manually completed by the developer. Specifically, the developer first writes the code corresponding to each component that needs to be integrated in the standard project based on the framework development framework. After the code is written, in the appropriate place of the code Add freemark syntax to generate freemark templates. For example, add tags before the corresponding codes of each component. When generating the initial project code of the target project, the code of the corresponding component will be integrated only when the corresponding component i...
Embodiment 2
[0075] image 3 An embodiment of a project code automatic generation device 10 of the present invention is shown, which specifically includes:
[0076] The standard project code template obtaining module 11 is configured to obtain a standard project code template corresponding to a standard project, wherein a standard project refers to a project that integrates all supportable components. In this embodiment, the standard project code template is written based on the framework development framework, which includes the code corresponding to each component integrated in the standard project.
[0077] The target project information acquisition module 12 is configured to obtain the basic information of the target project to be generated and the information of the components to be integrated through a visual interface, wherein the integrated components of the target project are part or all of the components in the standard project. Specifically, in this embodiment, a visual input i...
Embodiment 3
[0093] The present invention also provides a computer device, such as a smart phone, a tablet computer, a notebook computer, a desktop computer, a rack server, a blade server, a tower server or a cabinet server (including an independent server, or a multi- A server cluster composed of servers), etc. The computer device 20 of this embodiment at least includes but is not limited to: a memory 21 and a processor 22 that can communicate with each other through a system bus, such as Figure 5 shown. It should be pointed out that, Figure 5 Only computer device 20 is shown having components 21-22, but it should be understood that implementing all of the illustrated components is not a requirement and that more or fewer components may instead be implemented.
[0094] In this embodiment, the memory 21 (that is, a readable storage medium) includes a flash memory, a hard disk, a multimedia card, a card-type memory (for example, SD or DX memory, etc.), a random access memory (RAM), a st...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


