CN115423335A - Project creation method and device, storage medium and computer equipment - Google Patents
Project creation method and device, storage medium and computer equipment Download PDFInfo
- Publication number
- CN115423335A CN115423335A CN202211114333.8A CN202211114333A CN115423335A CN 115423335 A CN115423335 A CN 115423335A CN 202211114333 A CN202211114333 A CN 202211114333A CN 115423335 A CN115423335 A CN 115423335A
- Authority
- CN
- China
- Prior art keywords
- project
- instruction
- template
- downloading
- server
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0631—Resource planning, allocation, distributing or scheduling for enterprises or organisations
- G06Q10/06311—Scheduling, planning or task assignment for a person or group
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0633—Workflow analysis
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/10—Office automation; Time management
- G06Q10/103—Workflow collaboration or project management
Landscapes
- Business, Economics & Management (AREA)
- Human Resources & Organizations (AREA)
- Engineering & Computer Science (AREA)
- Strategic Management (AREA)
- Entrepreneurship & Innovation (AREA)
- Economics (AREA)
- General Business, Economics & Management (AREA)
- Marketing (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Tourism & Hospitality (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Development Economics (AREA)
- Educational Administration (AREA)
- Game Theory and Decision Science (AREA)
- Data Mining & Analysis (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a project creation method and device, a storage medium and computer equipment, relates to the technical field of project development, and can solve the technical problems of high project creation cost and low efficiency from scratch. The method comprises the following steps: responding to the project creating instruction, sending the project creating instruction to the server side, so that the server side downloads the project template to the terminal according to the project creating instruction; acquiring a target dependency to be installed from the project template, and sending a downloading instruction for installing the target dependency to the server so that the server downloads the target dependency into the project template according to the downloading instruction; and after all target dependencies are completely installed in the project template, the project creation is completed.
Description
Technical Field
The present invention relates to the field of project development technologies, and in particular, to a project creation method and apparatus, a storage medium, and a computer device.
Background
With the continuous increase of company projects, higher requirements are provided for project creation efficiency, at present, when each project is created, configuration from 0 to 1 needs to be performed, developers need to do repeated project creation work each time, and cannot concentrate on logic development, so that great manpower resource waste is caused, the development cost is high, and the work efficiency is reduced.
Disclosure of Invention
In view of the above, the present invention provides a project creation method and apparatus, a storage medium, and a computer device, which can solve the technical problems of high cost and low efficiency of creating projects from scratch.
According to an aspect of the present invention, there is provided a project creation method applied to a terminal, the method including:
responding to a project creating instruction, and sending the project creating instruction to a server side so that the server side can download a project template to the terminal according to the project creating instruction;
acquiring a target dependency to be installed from the project template, and sending a downloading instruction for installing the target dependency to the server so that the server downloads the target dependency into the project template according to the downloading instruction;
and completing project creation after all the target dependencies are completely installed in the project template.
Preferably, the project creation instruction includes: using a default template instruction or using a selection template instruction;
the sending the project creating instruction to a server so that the server downloads a project template to the terminal according to the project creating instruction comprises:
if the project creating instruction comprises the default template using instruction, the default template using instruction is sent to a server side, so that the server side downloads a default template serving as a project template to the terminal;
and if the project creating instruction comprises the use selection template instruction, sending the use selection template instruction to a server so that the server downloads a selection template serving as a project template to the terminal.
Preferably, the target dependency comprises at least: presetting a component library;
the obtaining a target dependency to be installed from the project template and sending a downloading instruction for installing the target dependency to the server so that the server downloads the target dependency to the project template according to the downloading instruction includes:
and acquiring the preset component library to be installed from the project template, and sending a downloading instruction for installing the preset component library to the server so that the server downloads the preset component library into the project template according to the downloading instruction.
According to another aspect of the present invention, there is provided a project creation method applied to a server, the method including:
receiving an item creating instruction, and downloading an item template to a terminal according to the item creating instruction;
and receiving a downloading instruction of the target dependence, and downloading the target dependence into the project template.
Preferably, the project creation instruction includes: using a default template instruction or using a select template instruction;
the downloading of the project template to the terminal according to the project creating instruction comprises:
if the project creating instruction comprises the default template using instruction, downloading the default template serving as a project template to a terminal;
and if the project creating instruction comprises the use selection template instruction, downloading the selection template serving as the project template to the terminal.
Preferably, the target dependency includes at least: presetting a component library;
the receiving a target dependency download instruction, and downloading the target dependency to the project template includes:
and receiving a downloading instruction of the preset component library, and downloading the preset component library into the project template.
According to still another aspect of the present invention, there is provided an item creation apparatus applied to a terminal, the apparatus including:
the first sending module is used for responding to an item creating instruction, sending the item creating instruction to a server side, and enabling the server side to download an item template to the terminal according to the item creating instruction;
a second sending module, configured to obtain a target dependency to be installed from the project template, and send a download instruction for installing the target dependency to the server, so that the server downloads the target dependency to the project template according to the download instruction;
and the installation module is used for completing project creation after all the target dependencies are completely installed in the project template.
According to still another aspect of the present invention, there is provided a project creation apparatus applied to a server, the apparatus including:
the first downloading module is used for receiving an item creating instruction and downloading an item template to the terminal according to the item creating instruction;
and the second downloading module is used for receiving a downloading instruction of the target dependence and downloading the target dependence into the project template.
According to yet another aspect of the present application, there is provided a storage medium having stored thereon a computer program which, when executed by a processor, implements the above-described project creation method.
According to yet another aspect of the present application, there is provided a computer device comprising a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor, the processor implementing the above project creation method when executing the program.
By means of the technical scheme, the project creating method and device, the storage medium and the computer equipment provided by the invention can firstly respond to the project creating instruction and send the project creating instruction to the server so that the server downloads the project template to the terminal according to the project creating instruction; further, acquiring a target dependency to be installed from the project template, and sending a downloading instruction for installing the target dependency to the server, so that the server downloads the target dependency into the project template according to the downloading instruction; and finally, completing project creation after all target dependencies are completely installed in the project template. According to the technical scheme, on one hand, a packaged project template can be directly used to obtain a basic project frame only by a project creating instruction, and compared with the prior art, the project frame is built from scratch every time when a project is created. On the other hand, all libraries required by the project can be installed into the project template by installing target dependencies in the project template, so that the packaged functions can be directly used after the project is created, and developers do not need to write the functions by handwriting. Therefore, the development time and the development cost are greatly saved, and the development efficiency is improved.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and are not intended to limit the invention to the full extent permitted by the applicable scope of the claims. In the drawings:
FIG. 1 is a flow chart illustrating a project creation method according to an embodiment of the present invention;
FIG. 2 is a flow chart illustrating another project creation method provided by the embodiment of the invention;
fig. 3 is a schematic structural diagram illustrating a project creation apparatus according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram illustrating another project creation apparatus according to an embodiment of the present invention.
Detailed Description
The present invention will be described in detail below with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments may be combined with each other without conflict.
Specifically, for the technical problems of high project creation cost and low efficiency from nothing, the present embodiment provides a project creation method, as shown in fig. 1, the method includes:
101. and the terminal responds to the project creating instruction and sends the project creating instruction to the server.
102. And the server receives the project creating instruction, and downloads the project template to the terminal according to the project creating instruction.
It should be noted that the terminal may be a device for a developer to create a project, and the server is configured to receive information sent by the terminal and then perform a corresponding network request.
For the embodiment steps 101 and 102, a developer sends a project creation instruction to a terminal, the terminal sends the project creation instruction to a server after responding to the project creation instruction, and the server directly downloads a project template to the terminal according to the project creation instruction, so that the terminal obtains the project template required by the developer, the project template is a basic technical framework, so that the developer adds a target dependency required for creating the project on the basis of the technical framework, and the project creation is completed after the target dependency is installed.
In order to save time for creating projects and improve project creation efficiency for developers, project templates are uniformly developed before the projects are created (codes of a certain type of service programs are abstracted into a technical framework), the project templates are stored in a website (such as a github website), after a terminal responds to a project creation instruction, the project templates can be downloaded from the website storing the project templates through a server, the developers can directly use the project templates without redeveloping the technical framework from scratch, repeated code writing can be omitted, and accordingly work efficiency and development speed are improved.
Firstly, a developer sends a project creating instruction to a terminal, after the terminal responds to the starting instruction, the terminal displays whether to create a default template option, then, the developer selects yes or no, when the developer selects yes, the terminal sends the project creating instruction for downloading the default template to a server, and the server downloads the default template to the terminal. If the developer selects yes in whether the default template option is created, the server downloads vue2+ larvel to the terminal, and if the developer selects no in whether the default template option is created, the developer selects vue + larvel from all the templates displayed by the terminal, the server downloads vue + larvel to the terminal. Thereby enabling selection of different technical architectures through project templates when creating a project.
103. And the terminal acquires the target dependence to be installed from the project template and sends a downloading instruction for installing the target dependence to the server.
104. And the server receives a downloading instruction of the target dependence, and downloads the target dependence into the project template.
105. And after all target dependencies are completely installed in the project template, the project creation is completed.
It should be noted that the dependency is a third-party library stored in a website, the third-party library stores resource information, the target dependency is a third-party library required by the developer in the current project development, and after the project is created, the developer can directly call the target dependency when the target dependency is required, which is very convenient. The target dependency may include a third-party library uniformly developed by a developer in advance, or may be a third-party library directly used without being developed by the developer in advance.
And after the terminal obtains the project template, continuing to install the target dependence in the project template, and after the target dependence is installed, completing project creation. Specifically, the name of the target dependency to be installed is stored in the project template when the project template is developed in advance, after all terminals obtain the project template, developers do not need to manually input the target dependency to be installed in the project template, directories in the project template are automatically read, the name of the target dependency to be installed is inquired from a specified file under the directories, after the terminal obtains the name of the target dependency to be installed from the project template, a downloading instruction for installing the target dependency is sent to the server, the server downloads the target dependency to the project template in a website, then the terminal installs all the downloaded target dependencies in the project template, and after all the target dependencies are installed, project creation is completed.
Therefore, through the steps 101-105 of the embodiment, only a developer needs to send a project creating instruction to the terminal, the terminal and the server can automatically create a project according to the project creating instruction, the project creating speed and efficiency are improved, the time of the developer is saved, the developer can concentrate on logic development and the like, the used project template and target dependence are developed in advance by the developer, the style is unified, repeated development is not needed, direct downloading is performed during use, different technical architectures and required functions can be selected according to project needs, and the applicability is high.
According to the project creating method and device, the storage medium and the computer equipment, the project creating instruction can be firstly responded to the project creating instruction and sent to the server side, so that the server side can download the project template to the terminal according to the project creating instruction; further, acquiring a target dependency to be installed from the project template, and sending a downloading instruction for installing the target dependency to the server, so that the server downloads the target dependency into the project template according to the downloading instruction; and finally, completing project creation after all target dependencies are completely installed in the project template. Through the technical scheme of this application, on the one hand, only need establish the instruction through the project, just can directly use the project template that encapsulates to obtain the project frame of a basis, compare in prior art when establishing the project at every turn, all from nothing build the frame. On the other hand, all libraries required by the project can be installed into the project template by installing target dependencies in the project template, so that the packaged functions can be directly used after the project is created, and developers do not need to write the functions again. Therefore, the development time and the development cost are greatly saved, and the development efficiency is improved.
Further, as a refinement and an extension of the specific implementation of the above embodiment, in order to fully illustrate the specific implementation process in this embodiment, another project creation method is provided, as shown in fig. 2, and the method includes:
201. the terminal responds to the project creating instruction, wherein the project creating instruction comprises the following steps: and using a default template instruction or a selection template instruction, if the project creation instruction comprises the default template instruction, the terminal sends the default template instruction to the server, and if the project creation instruction comprises the selection template instruction, the terminal sends the selection template instruction to the server.
202. If the server receives the instruction of using the default template, the server downloads the default template as the project template to the terminal, and if the server receives the instruction of using the selection template, the server downloads the selection template as the project template to the terminal.
The selection template is a project template selected by a developer according to business requirements.
As for the embodiment steps 201 and 202, as an implementation manner, when the item creation instruction is a use selection template instruction, the use selection template instruction directly carries a name of a template, after the terminal responds to the item creation instruction, the terminal directly obtains the name of the used selection template vue + larvel, the terminal sends the use selection template instruction for downloading vue + larvel to the server, and the server downloads vue + larvel to the terminal.
As another embodiment, when the project creation instruction is a use selection template instruction, the use selection template instruction does not directly carry template names, specifically, firstly, a developer sends the use selection template instruction to the terminal, then, after the terminal responds to the use selection template instruction, the terminal displays the names of all templates, the developer selects vue + larvel, the terminal sends the use selection template instruction for downloading vue3+ larvel to the server, and the server downloads vue + larvel to the terminal.
203. And the terminal acquires the target dependence to be installed from the project template and sends a downloading instruction for installing the target dependence to the server.
204. And the server receives a downloading instruction of the target dependence, and downloads the target dependence into the project template according to the downloading instruction.
It should be noted that the dependency is a third-party library stored in a website, the third-party library stores resource information, and the target dependency is a third-party library required by the developer in the current project development.
For the present embodiment, as an implementation, the target dependency at least includes: presetting a component library; an embodiment step 204 comprises: the terminal obtains a preset component library to be installed from the project template, sends a downloading instruction for installing the preset component library to the server, sends the downloading instruction to the server, receives the downloading instruction of the preset component library by the server, and downloads the preset component library into the project template according to the downloading instruction by the server.
It should be noted that, since many developers may use a large amount of the same function when developing the same or different projects, for example, many projects all need to log in the interface, if a certain developer writes the code of the login interface once, and then when the function is used again, the developer refers to the function directly, such a disadvantage is that, on one hand, each developer develops independently, a large amount of different UI styles will be generated, which is not beneficial to unified management, and on the other hand, resource sharing cannot be formed, the function developed by the developer cannot be used by other developers, and therefore, the repeatedly used code is developed into components uniformly, the components are all put into the preset component library, and all developers refer to the same preset component library, so that the UIs are unified, which is convenient for management, and can also share resources.
Wherein, the subassembly can include: lists, forms, popup windows and the like, specifically, for example, a table component, a form component, a Button component, a select component and the like, and components with the use frequency greater than a preset threshold are stored in a preset component library.
Specifically, the table component is used for displaying a table control at the front end to display a plurality of pieces of data with similar structures, and can perform sorting, screening, comparison and other custom operations on the data, for example, data display can be performed in the table control, a page turning button can be displayed in the table control, page turning can be performed in the table control through the page turning button, a radio button or a multi-selection button can be displayed in the table control, radio selection can be performed in the table control through the radio button, multi-selection can be performed in the table control through the multi-selection button, and the like.
The form component is used for data state management in the form control, for example, data can be cached in the form control, when the data needs to be displayed, a data request does not need to be submitted to the server again, and the time and the efficiency of data display are improved.
The Button component is used for interacting with a user through Button operation, defining the pattern of the Button by using attributes such as type, plain Button, round Button and circle Button, clicking the Button in a webpage, and triggering a corresponding event, so that the purpose of interacting with the user is achieved.
The select component is also called a selection component and is used for displaying a selection control, and selecting operation is carried out through the selection control, for example, a pull-down button is displayed in the selection control and a selection menu is displayed.
After the project is created, a developer can call a specific tool in a mode of target dependent name + target dependent content when using a created project, for this embodiment, the target dependent name is a preset component library, and the target dependent content is the name of a specific component in the preset component library, for example, the preset component library + Button component.
205. And after all target dependencies are completely installed in the project template, the project creation is completed.
For this embodiment, as an implementation manner, all the target dependencies may include other third party libraries in addition to the preset component library, in steps 203 and 204 of the embodiment, after all the target dependencies are downloaded to the terminal, the terminal may automatically install the target dependencies, and when all the target dependencies are installed, the project creation is completed.
Therefore, through the steps 201-205 of the embodiment, only a developer needs to send a project creating instruction to the terminal, the terminal and the server can automatically create a project according to the project creating instruction, the project creating speed and efficiency are improved, the time of the developer is saved, the developer can concentrate on logic development and the like, the used project template and target dependency are developed in advance by the developer, the style is unified, repeated development is not needed, direct downloading is performed during use, different technical architectures and required functions can be selected according to project needs, and the applicability is high.
According to the project creating method and device, the storage medium and the computer equipment, the project creating instruction can be firstly sent to the server side in response to the project creating instruction, so that the server side downloads the project template to the terminal according to the project creating instruction; further, acquiring a target dependency to be installed from the project template, and sending a downloading instruction for installing the target dependency to the server, so that the server downloads the target dependency into the project template according to the downloading instruction; and finally, completing project creation after all target dependencies are completely installed in the project template. Through the technical scheme of this application, on the one hand, only need establish the instruction through the project, just can directly use the project template that encapsulates to obtain the project frame of a basis, compare in prior art when establishing the project at every turn, all need from the nothing to build the frame. On the other hand, all libraries required by the project can be installed into the project template by installing target dependencies in the project template, so that the packaged functions can be directly used after the project is created, and developers do not need to write the functions by handwriting. Therefore, the development time and the development cost are greatly saved, and the development efficiency is improved.
Further, as a specific implementation of the method shown in fig. 1 and fig. 2, an embodiment of the present invention provides an item creating apparatus, which is applied to a terminal, and as shown in fig. 3, the apparatus includes: a first sending module 31, a second sending module 32, and an installation module 33;
the first sending module 31 is configured to send, in response to an item creation instruction, the item creation instruction to a server, so that the server downloads an item template to the terminal according to the item creation instruction;
a second sending module 32, configured to obtain a target dependency to be installed from the project template, and send a download instruction for installing the target dependency to the server, so that the server downloads the target dependency to the project template according to the download instruction;
and the installation module 33 is configured to complete the project creation after all the target dependencies are completely installed in the project template.
Accordingly, the project creation instructions include: using a default template instruction or using a selection template instruction; in order to send the project creating instruction to the server, so that the server downloads the project template to the terminal according to the project creating instruction, the first sending module 31 may be specifically configured to: if the project creating instruction comprises the default template using instruction, the default template using instruction is sent to a server side, so that the server side downloads a default template serving as a project template to the terminal; and if the project creating instruction comprises the use selection template instruction, sending the use selection template instruction to a server so that the server downloads a selection template serving as a project template to the terminal.
Accordingly, the target dependency includes at least: presetting a component library; in order to obtain the target dependency to be installed from the project template, a download instruction for installing the target dependency is sent to the server, so that the server downloads the target dependency into the project template according to the download instruction, and the second sending module 32 is specifically configured to: and acquiring the preset component library to be installed from the project template, and sending a downloading instruction for installing the preset component library to the server so that the server downloads the preset component library into the project template according to the downloading instruction.
It should be noted that other corresponding descriptions of the functional units related to the project creation apparatus provided in this embodiment may refer to the corresponding descriptions in fig. 1 to fig. 2, and are not described herein again.
Further, as a specific implementation of the method shown in fig. 1 and fig. 2, an embodiment of the present invention provides an item creating apparatus, which is applied to a server, and as shown in fig. 4, the apparatus includes: a first download module 41 and a second download module 42;
a first downloading module 41, configured to receive an item creating instruction, and download an item template to a terminal according to the item creating instruction;
and the second downloading module 42 is configured to receive a downloading instruction of the target dependency, and download the target dependency into the project template.
Accordingly, the project creation instructions include: using a default template instruction or using a selection template instruction; in order to download the project template to the terminal according to the project creation instruction, the first downloading module 41 may be specifically configured to: if the project creating instruction comprises the default template using instruction, downloading the default template serving as a project template to a terminal; and if the project creating instruction comprises the use selection template instruction, downloading a selection template serving as a project template to the terminal.
Accordingly, the target dependency includes at least: presetting a component library; in order to receive the target dependency downloading instruction, the second downloading module 42 is specifically configured to download the target dependency into the project template, and: and receiving a downloading instruction of the preset component library, and downloading the preset component library into the project template.
It should be noted that other corresponding descriptions of the functional units related to the project creation apparatus provided in this embodiment may refer to the corresponding descriptions in fig. 1 to fig. 2, and are not repeated herein.
Based on the above methods shown in fig. 1 to fig. 2, correspondingly, the present embodiment further provides a storage medium, which may be volatile or nonvolatile, and on which a computer program is stored, and when the computer program is executed by a processor, the program implements the project creation method shown in fig. 1 to fig. 2.
Based on such understanding, the technical solution of the present invention can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a usb disk, a removable hard disk, etc.), and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the method of the embodiments of the present invention.
Based on the method shown in fig. 1 to fig. 2 and the virtual device embodiments shown in fig. 3 and fig. 4, in order to achieve the above object, the present embodiment further provides a computer device, where the computer device includes a storage medium and a processor; a storage medium for storing a computer program; a processor for executing a computer program to implement the project creation method as described above and shown in fig. 1-2.
Optionally, the computer device may further include a user interface, a network interface, a camera, radio Frequency (RF) circuitry, a sensor, audio circuitry, a WI-FI module, and so forth. The user interface may include a Display screen (Display), an input unit such as a keypad (Keyboard), etc., and the optional user interface may also include a USB interface, a card reader interface, etc. The network interface may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface), etc.
It will be understood by those skilled in the art that the present embodiment provides a computer device structure that is not limited to the physical device, and may include more or less components, or some components in combination, or a different arrangement of components.
The storage medium may further include an operating system and a network communication module. The operating system is a program that manages the hardware and software resources of the computer device described above, supporting the operation of information handling programs and other software and/or programs. The network communication module is used for realizing communication among components in the storage medium and communication with other hardware and software in the information processing entity device.
Through the above description of the embodiments, those skilled in the art will clearly understand that the present invention may be implemented by software plus a necessary general hardware platform, and also by hardware.
According to the project creating method and device, the storage medium and the computer equipment, the project creating instruction can be firstly sent to the server side in response to the project creating instruction, so that the server side downloads the project template to the terminal according to the project creating instruction; further, acquiring a target dependency to be installed from the project template, and sending a downloading instruction for installing the target dependency to the server, so that the server downloads the target dependency into the project template according to the downloading instruction; and finally, completing project creation after all the target dependencies are installed in the project template. Through the technical scheme of this application, on the one hand, only need establish the instruction through the project, just can directly use the project template that encapsulates to obtain the project frame of a basis, compare in prior art when establishing the project at every turn, all from nothing build the frame. On the other hand, all libraries required by the project can be installed into the project template by installing target dependencies in the project template, so that the packaged functions can be directly used after the project is created, and developers do not need to write the functions by handwriting. Therefore, the development time and the development cost are greatly saved, and the development efficiency is improved.
Those skilled in the art will appreciate that the figures are merely schematic representations of one preferred implementation scenario and that the blocks or flow diagrams in the figures are not necessarily required to practice the present invention. Those skilled in the art will appreciate that the modules in the devices in the implementation scenario may be distributed in the devices in the implementation scenario according to the description of the implementation scenario, or may be located in one or more devices different from the present implementation scenario with corresponding changes. The modules of the implementation scenario may be combined into one module, or may be further split into a plurality of sub-modules.
The above-mentioned invention numbers are merely for description and do not represent the merits of the implementation scenarios. The above disclosure is only a few specific implementation scenarios of the present invention, however, the present invention is not limited thereto, and any variations that can be made by those skilled in the art are intended to fall within the scope of the present invention.
Claims (10)
1. A project creation method is applied to a terminal, and comprises the following steps:
responding to a project creating instruction, and sending the project creating instruction to a server side so that the server side can download a project template to the terminal according to the project creating instruction;
acquiring a target dependency to be installed from the project template, and sending a downloading instruction for installing the target dependency to the server so that the server downloads the target dependency into the project template according to the downloading instruction;
and completing project creation after all the target dependencies are completely installed in the project template.
2. The method of claim 1, wherein the project creation instruction comprises: using a default template instruction or using a selection template instruction;
the sending the project creating instruction to a server so that the server downloads a project template to the terminal according to the project creating instruction comprises:
if the project creating instruction comprises the default template using instruction, the default template using instruction is sent to a server side, so that the server side downloads a default template serving as a project template to the terminal;
and if the project creating instruction comprises the use selection template instruction, sending the use selection template instruction to a server so that the server downloads a selection template serving as a project template to the terminal.
3. The method of claim 1, wherein the target dependency comprises at least: presetting a component library;
the obtaining a target dependency to be installed from the project template and sending a downloading instruction for installing the target dependency to the server so that the server downloads the target dependency to the project template according to the downloading instruction includes:
and acquiring the preset component library to be installed from the project template, and sending a downloading instruction for installing the preset component library to the server so that the server downloads the preset component library into the project template according to the downloading instruction.
4. A project creation method is applied to a server side, and comprises the following steps:
receiving an item creating instruction, and downloading an item template to a terminal according to the item creating instruction;
and receiving a downloading instruction of the target dependence, and downloading the target dependence into the project template.
5. The method of claim 1, wherein the project creation instruction comprises: using a default template instruction or using a selection template instruction;
the downloading of the project template to the terminal according to the project creating instruction comprises:
if the project creating instruction comprises the default template using instruction, downloading the default template serving as a project template to the terminal;
and if the project creating instruction comprises the use selection template instruction, downloading the selection template serving as the project template to the terminal.
6. The method of claim 1, wherein the target dependency comprises at least: presetting a component library;
the receiving a target dependency download instruction, and downloading the target dependency to the project template includes:
and receiving a downloading instruction of the preset component library, and downloading the preset component library into the project template.
7. An apparatus for creating an item, applied to a terminal, the apparatus comprising:
the first sending module is used for responding to an item creating instruction and sending the item creating instruction to a server so that the server downloads an item template to the terminal according to the item creating instruction;
a second sending module, configured to obtain a target dependency to be installed from the project template, and send a download instruction for installing the target dependency to the server, so that the server downloads the target dependency to the project template according to the download instruction;
and the installation module is used for completing project creation after all the target dependencies are completely installed in the project template.
8. An item creation apparatus, applied to a server, the apparatus comprising:
the first downloading module is used for receiving an item creating instruction and downloading an item template to the terminal according to the item creating instruction;
and the second downloading module is used for receiving a downloading instruction of the target dependence and downloading the target dependence into the project template.
9. A storage medium on which a computer program is stored, the computer program, when executed by a processor, implementing the project creation method of any one of claims 1 to 6.
10. A computer device comprising a storage medium, a processor and a computer program stored on the storage medium and executable on the processor, wherein the processor implements the project creation method of any one of claims 1 to 6 when executing the computer program.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211114333.8A CN115423335A (en) | 2022-09-14 | 2022-09-14 | Project creation method and device, storage medium and computer equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211114333.8A CN115423335A (en) | 2022-09-14 | 2022-09-14 | Project creation method and device, storage medium and computer equipment |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN115423335A true CN115423335A (en) | 2022-12-02 |
Family
ID=84202331
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202211114333.8A Pending CN115423335A (en) | 2022-09-14 | 2022-09-14 | Project creation method and device, storage medium and computer equipment |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN115423335A (en) |
Citations (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20090125874A1 (en) * | 2007-11-12 | 2009-05-14 | Abdelhadi Sanaa F | Method and system for creating projects in a rational application developer workspace |
| CN107391626A (en) * | 2017-07-07 | 2017-11-24 | 腾讯科技(深圳)有限公司 | Land the creation method and device of page |
| CN109814854A (en) * | 2019-01-24 | 2019-05-28 | 平安科技(深圳)有限公司 | Project skeleton generating method, device, computer equipment and storage medium |
| WO2021051913A1 (en) * | 2019-09-17 | 2021-03-25 | 创新先进技术有限公司 | Method and device for generating applet |
| CN113127098A (en) * | 2021-04-30 | 2021-07-16 | 康键信息技术(深圳)有限公司 | Micro-service architecture-based application program creating method and related equipment |
| CN113378091A (en) * | 2021-06-08 | 2021-09-10 | 北京百度网讯科技有限公司 | Visual project generation method and device, electronic equipment and storage medium |
| WO2021217911A1 (en) * | 2020-04-27 | 2021-11-04 | 平安国际智慧城市科技股份有限公司 | Method and apparatus for constructing service website project, and computer device and storage medium |
| CN114296701A (en) * | 2021-12-23 | 2022-04-08 | 中科软齐(武汉)科技有限公司 | A java web project development method that can quickly generate project files |
| CN114371841A (en) * | 2021-12-28 | 2022-04-19 | 南京星云数字技术有限公司 | Front-end project code generation method and device, computer equipment and storage medium |
-
2022
- 2022-09-14 CN CN202211114333.8A patent/CN115423335A/en active Pending
Patent Citations (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20090125874A1 (en) * | 2007-11-12 | 2009-05-14 | Abdelhadi Sanaa F | Method and system for creating projects in a rational application developer workspace |
| CN107391626A (en) * | 2017-07-07 | 2017-11-24 | 腾讯科技(深圳)有限公司 | Land the creation method and device of page |
| CN109814854A (en) * | 2019-01-24 | 2019-05-28 | 平安科技(深圳)有限公司 | Project skeleton generating method, device, computer equipment and storage medium |
| WO2021051913A1 (en) * | 2019-09-17 | 2021-03-25 | 创新先进技术有限公司 | Method and device for generating applet |
| WO2021217911A1 (en) * | 2020-04-27 | 2021-11-04 | 平安国际智慧城市科技股份有限公司 | Method and apparatus for constructing service website project, and computer device and storage medium |
| CN113127098A (en) * | 2021-04-30 | 2021-07-16 | 康键信息技术(深圳)有限公司 | Micro-service architecture-based application program creating method and related equipment |
| CN113378091A (en) * | 2021-06-08 | 2021-09-10 | 北京百度网讯科技有限公司 | Visual project generation method and device, electronic equipment and storage medium |
| CN114296701A (en) * | 2021-12-23 | 2022-04-08 | 中科软齐(武汉)科技有限公司 | A java web project development method that can quickly generate project files |
| CN114371841A (en) * | 2021-12-28 | 2022-04-19 | 南京星云数字技术有限公司 | Front-end project code generation method and device, computer equipment and storage medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110221872B (en) | Page jump method and device, electronic equipment and storage medium | |
| US10754633B2 (en) | Application installation package generation method and apparatus, and storage medium | |
| JP7106001B2 (en) | SUB-APPLICATION DEVELOPMENT METHOD, APPARATUS, COMPUTER DEVICE, AND COMPUTER PROGRAM | |
| US20240402977A1 (en) | Desktop sharing method and mobile terminal | |
| CN111427596B (en) | Software upgrading method and device and terminal equipment | |
| CN110597564A (en) | Installation package construction and service component loading method, device and terminal equipment | |
| CN111694733A (en) | API (application programming interface) testing method and device for software development kit SDK (software development kit) | |
| WO2016118769A1 (en) | Processing application interface | |
| CN108733370B (en) | Stylized display method, device, terminal and storage medium of native APP | |
| CN114168463A (en) | Method, device, storage medium and electronic device for switching project environment | |
| CN113127361A (en) | Application program development method and device, electronic equipment and storage medium | |
| CN110727416B (en) | Development framework generation method and related device | |
| CN111435328B (en) | Application testing method and device, electronic equipment and readable storage medium | |
| CN108647023A (en) | Picture compression method, apparatus, equipment and the storage medium of Software Development Tools | |
| CN112882698A (en) | Development environment generation method and device, computer storage medium and electronic device | |
| CN110989986A (en) | Software template-based software generation method and device and computer equipment | |
| US20130007622A1 (en) | Demonstrating a software product | |
| WO2022237826A1 (en) | User interface testing method and system, cluster, medium, and program product | |
| CN113157348A (en) | Game starting method and device, computer equipment and storage medium | |
| EP3848800B1 (en) | Method and apparatus for displaying message box, terminal and storage medium | |
| CN116501365B (en) | Resource calling method, device and equipment based on algorithm platform | |
| CN115423335A (en) | Project creation method and device, storage medium and computer equipment | |
| CN105867961A (en) | System upgrading and degrading method and device | |
| CN109144544A (en) | Application program update method, system and device used in a kind of bank | |
| CN111414190B (en) | Request processing method and device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20221202 |