Application development method and device
By using the template engine to generate and deploy application code on the application development platform, the problem that operation and maintenance personnel need to manually operate multiple platforms is solved, automated processes are realized, and development efficiency is improved.
Patent Information
- Application Number
- CN202411763547.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-03
- Publication Date
- 2025-03-07
AI Technical Summary
During application development, operation and maintenance personnel need to manually log in to multiple platforms to obtain and configure application-related information, resulting in cumbersome operations and high risk of errors, which reduces development efficiency.
By deploying the template engine on the application development platform, obtaining the target code templates and components selected by the user, calling the template engine to add components to the code template, generating object code, and automatically storing the code to the code management platform and deploying it to the application deployment platform.
It realizes an automated process from code generation to storage and deployment, reduces the number of platforms that technicians need to operate manually, reduces the risk of errors, and improves the efficiency of application development.
Smart Images

Figure CN119576298A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and more particularly to a method and device for application development. Background Art
[0002] Currently, the application development process requires multiple steps, including coding, code archiving, application deployment, and application operation. The work between each step is coordinated through verbal communication between developers and operation and maintenance personnel or through a work order system. This manual communication method has a high communication cost.
[0003] When obtaining application-related configuration information, operation and maintenance personnel need to log in to multiple different platforms to perform manual operations. These operation steps are not only cumbersome, but also due to the complexity of the configuration information and strict format requirements, there is a high risk of manual errors, thereby reducing the development efficiency of the application. Summary of the invention
[0004] This specification provides an application development method, device, storage medium and electronic device to improve the development efficiency of application programs.
[0005] This manual adopts the following technical solutions:
[0006] This specification provides an application development method, which is applied to an application development platform, where a template engine for rendering code is deployed on the application development platform; the method includes:
[0007] Obtaining a target code template selected by a user from at least one code template built based on the same base template, and selecting a target component from at least one component displayed by the target code template;
[0008] Calling the template engine to add the target component to the target code template to generate target code;
[0009] The target code is sent to the code management platform so that the code management platform stores the target code and deploys a target application corresponding to the target code on the application deployment platform.
[0010] Optionally, calling the template engine to add the target component to the target code template to generate the target code includes:
[0011] Obtaining location information of the target component in the target code template;
[0012] The template engine is called, and based on the position information, the target component is added to the target code template to obtain the code to be rendered, and the code to be rendered is rendered to generate the target code.
[0013] Optionally, sending the target code to the code management platform so that the code management platform stores the target code includes:
[0014] Verify whether the user has the authority to create a project in the code management platform. If so, create a target project corresponding to the target code in the code management platform, and send the target code to the code management platform so that the code management platform stores the target code in the target project.
[0015] Optionally, the method further comprises:
[0016] Updating the target code to obtain an updated target code;
[0017] Under the target project in the code management platform, create a subproject corresponding to the updated target code;
[0018] The updated target code is sent to the code management platform so that the code management platform stores the updated target code in a sub-item corresponding to the updated target code.
[0019] Optionally, deploying a target application corresponding to the target code on the application deployment platform includes:
[0020] Sending an application configuration corresponding to the target code to the application deployment platform, so that the application deployment platform deploys a target application corresponding to the target code on the application deployment platform based on the application configuration and the target code obtained from the code management platform, runs the target application, and sends status information of the target application to the application management platform;
[0021] The registration information corresponding to the target code is sent to the application management platform, so that the application management platform registers the target application corresponding to the target code based on the registration information and the status information.
[0022] Optionally, the application development platform maintains an association relationship between at least one component and configuration information corresponding thereto;
[0023] Sending an application configuration corresponding to the target code to the application deployment platform includes:
[0024] Based on the association relationship, determining configuration information corresponding to the target component;
[0025] An application configuration corresponding to the target code is generated according to the configuration information corresponding to the target component and the configuration information corresponding to the target code template, and the application configuration is sent to the application deployment platform.
[0026] Optionally, before sending the target code to the code management platform, the method further includes:
[0027] Get application information entered by the user;
[0028] Based on the target code and the application information, generating a link address of the code management platform for storing the target code;
[0029] Based on the link address, projects corresponding to the target code are synchronously created in the code management platform, the application deployment platform and the application management platform; wherein the project in the code management platform is used to store the target code, the project in the application deployment platform is used to deploy the application configuration corresponding to the target code, and the project in the application management platform is used to register the target application corresponding to the target code.
[0030] This specification provides an application development device, the device application development platform, the application development platform deploys a template engine for rendering code; the device includes:
[0031] An acquisition module, used to acquire a target code template selected by a user from at least one code template built based on the same basic template, and to select a target component from at least one component displayed by the target code template;
[0032] A calling module, used for calling the template engine, adding the target component to the target code template to generate the target code;
[0033] The sending module is used to send the target code to the code management platform so that the code management platform stores the target code and deploys the target application corresponding to the target code on the application deployment platform.
[0034] This specification provides an electronic device, including a communication interface, a processor, a memory and a bus, wherein the communication interface, the processor and the memory are interconnected via the bus;
[0035] The memory stores machine-readable instructions, and the processor executes the above-mentioned application development method by calling the machine-readable instructions.
[0036] This specification provides a machine-readable storage medium, which stores machine-readable instructions. When the machine-readable instructions are called and executed by a processor, the above-mentioned application development method is implemented.
[0037] At least one of the above technical solutions adopted in this specification can achieve the following beneficial effects:
[0038] In this specification, the application development platform can call the template engine to add the target component to the target code template to generate the target code.
[0039] Then, the application development platform can store the target code on the code management platform and deploy the target application corresponding to the target code on the application deployment platform. Thus, the application development platform realizes the automated process from code generation to storage and then to deployment, eliminating the need for technicians to log in to multiple different platforms for manual operations, thereby improving the efficiency of application development. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] The drawings described herein are used to provide a further understanding of this specification and constitute a part of this specification. The illustrative embodiments and descriptions of this specification are used to explain this specification and do not constitute an improper limitation on this specification. In the drawings:
[0041] Figure 1 is a flow chart of a method for application development shown in an exemplary embodiment;
[0042] Figure 2 This is an interface display diagram of an application development platform shown in an exemplary embodiment;
[0043] Figure 3 is a multi-party interaction diagram of an application development method shown in an exemplary embodiment;
[0044] Figure 4 is a structural diagram of an electronic device where an application development device is located, shown in an exemplary embodiment;
[0045] Figure 5 It is a structural diagram of an application development device shown in an exemplary embodiment. DETAILED DESCRIPTION
[0046] In order to enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this specification.
[0047] It should be noted that: in other embodiments, the steps of the corresponding method are not necessarily performed in the order shown and described in this specification. In some other embodiments, the steps included in the method may be more or less than those described in this specification. In addition, a single step described in this specification may be decomposed into multiple steps for description in other embodiments; and multiple steps described in this specification may be combined into a single step for description in other embodiments.
[0048] In order to enable those skilled in the art to better understand the technical solutions in the embodiments of this specification, the relevant technologies involved in the embodiments of this specification are briefly described below.
[0049] Template engine: A tool or technology for generating text output. The working principle is to use a template file (usually an HTML file or other text file) as a basis, which contains specific tags and placeholders. These placeholders can be replaced with dynamic data to generate personalized output text.
[0050] Currently, the application development process requires multiple steps, including coding, code archiving, application deployment, and application operation. The work between each step is coordinated through verbal communication between developers and operation and maintenance personnel or through a work order system. This manual communication method has a high communication cost.
[0051] When obtaining application-related configuration information, operation and maintenance personnel need to log in to multiple different platforms to perform manual operations. These operation steps are not only cumbersome, but also due to the complexity of the configuration information and strict format requirements, there is a high risk of manual errors, thereby reducing the development efficiency of the application.
[0052] Based on this, this specification proposes a technical solution to realize the automated process from code generation to storage and then to deployment on the application development platform. Thus, there is no need for technicians to log in to multiple different platforms for manual operation, which improves the efficiency of application development.
[0053] The technical solutions provided by the embodiments of this specification are described in detail below in conjunction with the accompanying drawings.
[0054] Figure 1The following is a flowchart of a method for developing an application according to an exemplary embodiment. The method specifically includes the following steps:
[0055] S100: Obtain a target code template selected by a user from at least one code template built based on the same basic template, and select a target component from at least one component displayed by the target code template.
[0056] In actual applications, during the development process, technicians can find and use existing similar code templates for customized modifications according to service requirements, thereby reducing workload and improving development efficiency. However, when problems occur in the code, technicians need to update or repair each code separately, which increases the complexity and cost of maintenance.
[0057] Based on this, the application development platform can build multiple code templates based on the same basic template. After the basic template is updated or repaired, the multiple code templates built based on the same basic template can be automatically repaired or updated.
[0058] In the embodiment of the present specification, the application development platform deploys a template engine for rendering code templates. The application development platform can obtain a target code template selected by a user from at least one code template built on the same base template, and select a target component from at least one component displayed by the target code template. Figure 2 shown.
[0059] Figure 2 This is an interface display diagram of an application development platform shown in an exemplary embodiment.
[0060] exist Figure 2 In the application development platform, the application information required to generate target code, deploy applications, and register applications is displayed, including application code, project name, basic package name, cluster, cluster environment, link address, description, components, etc. After entering the application information, the user can choose to generate target code, store the target code in the code management platform, deploy the target application corresponding to the target code in the application deployment platform, and register the target application corresponding to the target code in the application management platform.
[0061] Among them, the application development platform defines component standard specifications, including design principles, structural definitions, and interface rules. The design principles of the component can be based on the general standards in this field. The structural definition of the component includes: component metadata (for example, component name, component description, component type, component version, component author, component tag, etc.), component template (for example, HTML structure, CSS style, JavaScript logic, etc.), component attributes (for example, attribute definition, attribute type, attribute default value, attribute validation rules, etc.), component documentation (for example, component function introduction, usage method, sample code, precautions, etc.). The interface rules of the component include: data interface (for example, data source, data model, data format, data conversion, data verification, etc.), event interface (for example, event type, event parameters, event callback, etc.), method interface (for example, method name, method parameters, method return value, method exception, etc.), life cycle interface (for example, create, mount, update, uninstall, etc.).
[0062] In the embodiments of this specification, all components displayed by the application development platform are designed in accordance with component standard specifications. The application development platform can provide unified version management, record component update history, support component upgrades and rollbacks, and ensure component stability and security.
[0063] S102: calling the template engine and adding the target component to the target code template to generate the target code.
[0064] In the embodiments of the present specification, the application development platform may call a template engine to add a target component to a target code template to generate a target code.
[0065] Specifically, the application development platform can obtain the location information of the target component in the target code template. The location information can exist in the form of a specific mark or comment, indicating the location where the component is inserted.
[0066] Then, the application development platform can call the template engine, add the target component to the target code template based on the location information, obtain the code to be rendered, and render the code to be rendered to generate the target code.
[0067] It should be noted that the template engine is not limited in the embodiments of this specification. For example, any one of freemarker, velocity, and thymeleaf can be used.
[0068] S104: Sending the target code to the code management platform, so that the code management platform stores the target code and deploys a target application corresponding to the target code on the application deployment platform.
[0069] In the actual application development process, the traditional operation process of operation and maintenance personnel after code generation is often cumbersome: operation and maintenance personnel need to log in to the code management platform, create or select a project, fill in project details, generate a project address, and then create a file corresponding to the project address locally, integrate the code, and push it to the code library. In addition, operation and maintenance personnel also need to log in to the application deployment platform to perform application deployment. These operation processes are not only highly repetitive, but also due to the complexity of configuration information and strict format requirements, there is a high risk of manual errors, which reduces the development efficiency of the application.
[0070] Based on this, an automated process from code generation to storage and then to deployment can be realized on the application development platform. As a result, technicians do not need to log in to multiple different platforms for manual operations, which improves the efficiency of application development.
[0071] In the embodiments of the present specification, the application development platform may send the target code to the code management platform, so that the code management platform stores the target code and deploys the target application corresponding to the target code on the application deployment platform.
[0072] In actual applications, the access or modification of the code base by non-project-related personnel may lead to the risk of data leakage and malicious code injection. To prevent these risks, each project is set with user access rights to ensure that only authorized users can access and operate projects related to themselves on the code management platform, thus protecting the security and compliance of the code.
[0073] In an embodiment of the present specification, it is verified whether the user has the authority to create a project in the code management platform. If so, a target project corresponding to the target code is created in the code management platform, and the target code is sent to the code management platform so that the code management platform stores the target code in the target project.
[0074] It should be noted that the code management platform is not limited in the embodiments of this specification. For example, any one of gitlab, svn, and github can be used.
[0075] Furthermore, the application development platform can update the target code to obtain an updated target code.
[0076] Then, the application development platform can create a sub-project corresponding to the updated target code under the target project in the code management platform.
[0077] Next, the application development platform may send the updated target code to the code management platform, so that the code management platform stores the updated target code in the sub-project corresponding to the updated target code.
[0078] As can be seen from the above embodiments, creating a subproject in the code management platform to store updated code avoids code coverage problems that may be caused by making changes directly on the target project, and also helps maintain different versions of code. When problems occur in the updated code, they can be quickly located and fixed without affecting other code branches.
[0079] In actual applications, in addition to logging into the code management platform and application deployment platform, operation and maintenance personnel also need to log into the application management platform to register the application to ensure that each application can be discovered and accessed by other users.
[0080] Based on this, the application development platform can realize the automated process from code generation to storage, deployment, operation and registration. As a result, technicians do not need to log in to multiple different platforms for manual operations, which improves the efficiency of application development.
[0081] In an embodiment of the present specification, an application development platform may send an application configuration corresponding to a target code to an application deployment platform, so that the application deployment platform deploys a target application corresponding to the target code on the application deployment platform based on the application configuration and the target code obtained from the code management platform, runs the target application, and sends status information of the target application to the application management platform.
[0082] The application configuration may include: the environment in which the application runs, the network address and port in which the application provides external services, and configurations related to encryption, authentication, and authorization.
[0083] Then, the application development platform may send registration information corresponding to the target code to the application management platform, so that the application management platform registers the target application corresponding to the target code based on the registration information and the status information.
[0084] The registration information may include fixed attributes such as application name, version, IP address, port number, etc. The status information may include health status, real-time performance indicators, load balancing information, etc. For example, the heartbeat mechanism can be used to reflect the current status of the application.
[0085] In actual applications, each component has its own unique configuration requirements, and the configuration information of the component is often maintained separately from the component itself. After adding the component to the code template, the configuration information related to the component needs to be located. Then, the technician needs to manually complete the application configuration to ensure that the component can function properly.
[0086] Based on this, the application development platform can bind components with configuration information. When adding components to code templates, it automatically identifies relevant configuration information and completes application configuration, thus automating the configuration process and improving development efficiency.
[0087] In the embodiment of the present specification, the application development platform maintains an association relationship between at least one component and its corresponding configuration information.
[0088] The application development platform can determine the configuration information corresponding to the target component based on the association relationship.
[0089] Then, the application development platform may generate an application configuration corresponding to the target code according to the configuration information corresponding to the target component and the configuration information corresponding to the target code template, and send the application configuration to the application deployment platform.
[0090] In the embodiment of this specification, the application development platform can obtain application information input by the user.
[0091] Then, the application development platform may generate a link address of a code management platform for storing the target code based on the target code and the application information.
[0092] Next, the application development platform can simultaneously create projects corresponding to the target code in the code management platform, application deployment platform, and application management platform based on the link address. The project in the code management platform is used to store the target code, the project in the application deployment platform is used to deploy the application configuration corresponding to the target code, and the project in the application management platform is used to register the target application corresponding to the target code. Figure 3 described.
[0093] Figure 3 It is a multi-party interaction diagram of an application development method shown in an exemplary embodiment.
[0094] exist Figure 3 In the application development platform, the user can select the target code template and the target component, and call the template engine to add the target component to the target code template to generate the target code.
[0095] Secondly, the application development platform can generate a link address of a code management platform for storing the target code based on the target code and the application information input by the user.
[0096] Then, the application development platform can synchronously create a project corresponding to the target code in the code management platform, the application deployment platform, and the application management platform based on the link address.
[0097] Next, the code management platform may receive the target code sent by the application development platform and store the target code in the target project.
[0098] Then, the application deployment platform receives the application configuration corresponding to the target code sent by the application development platform, and obtains the target code from the code management platform. Based on the application configuration and the target code, it deploys the target application corresponding to the target code, runs the target application, and sends the status information of the target application to the application management platform.
[0099] Subsequently, after creating the project, the application management platform binds the cluster environment based on the application information input by the user, and after receiving the registration information corresponding to the target code sent by the application development platform, creates a route based on the IP address, port number and other information.
[0100] Finally, the application management platform may receive the status information of the target application sent by the application management platform, and register the target application corresponding to the target code based on the registration information and the status information.
[0101] It should be noted that the application development platform, code management platform, application deployment platform, and application management platform can interact with each other using interface technology, and use hmac for interface authentication.
[0102] At the same time, message queue technology can be used between application development platforms, code management platforms, application deployment platforms, and application management platforms to ensure data consistency.
[0103] Among them, interface technologies may include: http, dubbo, grpc, etc. Message queue technologies may include: rocketmq, rabbitmq, kafka, etc.
[0104] From the above method, it can be seen that the automated process from code generation to storage, deployment, operation and registration can be realized on the application development platform. Therefore, technicians do not need to log in to multiple different platforms for manual operations, which improves the efficiency of application development. Binding components with configuration information, automatically identifying related configuration information when adding components to code templates, and completing application configuration, realizes the automation of the configuration process and further improves development efficiency.
[0105] Corresponding to the above-mentioned embodiment of the method for application development, this specification also provides an embodiment of an apparatus for application development.
[0106] See also Figure 4 , Figure 4It is a structural diagram of an electronic device in which an application development device is located, shown in an exemplary embodiment. At the hardware level, the device includes a processor 402, an internal bus 404, a network interface 406, a memory 408, and a non-volatile memory 410, and of course may also include other required hardware. One or more embodiments of this specification can be implemented based on software, such as the processor 402 reading the corresponding computer program from the non-volatile memory 410 into the memory 408 and then running it. Of course, in addition to the software implementation, one or more embodiments of this specification do not exclude other implementation methods, such as logic devices or a combination of software and hardware, etc., that is to say, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.
[0107] See also Figure 5 , Figure 5 FIG. 1 is a structural diagram of an application development device shown in an exemplary embodiment. The application development device can be applied to Figure 4 In the electronic device shown in the figure, the technical solution of this specification is implemented. The device may include:
[0108] An acquisition module 500 is used to acquire a target code template selected by a user from at least one code template built based on the same basic template, and to select a target component from at least one component displayed by the target code template;
[0109] A calling module 502, used for calling the template engine, adding the target component to the target code template to generate the target code;
[0110] The sending module 504 is used to send the target code to the code management platform, so that the code management platform stores the target code and deploys the target application corresponding to the target code on the application deployment platform.
[0111] Optionally, the calling module 502 is specifically used to obtain the location information of the target component in the target code template; call the template engine, add the target component to the target code template based on the location information, obtain the code to be rendered, and render the code to be rendered to generate the target code.
[0112] Optionally, the sending module 504 is specifically used to verify whether the user has the authority to create a project in the code management platform. If so, create a target project corresponding to the target code in the code management platform, and send the target code to the code management platform so that the code management platform stores the target code in the target project.
[0113] Optionally, the sending module 504 is further specifically used to update the target code to obtain an updated target code; create a sub-project corresponding to the updated target code under the target project in the code management platform; and send the updated target code to the code management platform so that the code management platform stores the updated target code in the sub-project corresponding to the updated target code.
[0114] Optionally, the sending module 504 is specifically used to send an application configuration corresponding to the target code to the application deployment platform, so that the application deployment platform deploys a target application corresponding to the target code on the application deployment platform based on the application configuration and the target code obtained from the code management platform, runs the target application, and sends status information of the target application to the application management platform; and sends registration information corresponding to the target code to the application management platform, so that the application management platform registers the target application corresponding to the target code based on the registration information and the status information.
[0115] Optionally, the application development platform maintains an association relationship between at least one component and its corresponding configuration information; the sending module 504 is specifically used to determine the configuration information corresponding to the target component based on the association relationship; generate an application configuration corresponding to the target code according to the configuration information corresponding to the target component and the configuration information corresponding to the target code template, and send the application configuration to the application deployment platform.
[0116] Optionally, the calling module 502 is further specifically used to obtain application information input by a user; based on the target code and the application information, generate a link address of the code management platform for storing the target code; based on the link address, synchronously create projects corresponding to the target code in the code management platform, the application deployment platform and the application management platform; wherein the project in the code management platform is used to store the target code, the project in the application deployment platform is used to deploy the application configuration corresponding to the target code, and the project in the application management platform is used to register the target application corresponding to the target code.
[0117] The implementation process of the functions and effects of each unit in the above-mentioned device is specifically described in the implementation process of the corresponding steps in the above-mentioned method, and will not be repeated here.
[0118] Based on the same concept as the above method, this specification also provides an electronic device, including: a processor; a memory for storing processor executable instructions; wherein the processor implements the steps of the method described in any of the above embodiments by running the executable instructions.
[0119] Based on the same concept as the above method, this specification also provides a computer-readable storage medium on which computer instructions are stored. When the instructions are executed by a processor, the steps of the method described in any of the above embodiments are implemented.
[0120] Based on the same concept as the above method, this specification also provides a computer program product, including a computer program / instruction, which implements the steps of the method described in any of the above embodiments when executed by a processor.
[0121] It should be understood that although the terms first, second, third, etc. may be used to describe various information in one or more embodiments of this specification, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of one or more embodiments of this specification, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".
[0122] The above description is merely a preferred embodiment of one or more embodiments of the present specification and is not intended to limit one or more embodiments of the present specification. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of one or more embodiments of the present specification shall be included in the scope of protection of one or more embodiments of the present specification.
Claims
1. A method for application development, the method being applied to an application development platform, the application development platform deploying a template engine for rendering code, the method comprising: Obtaining a target code template selected by a user from at least one code template built based on the same base template, and selecting a target component from at least one component displayed by the target code template; Calling the template engine to add the target component to the target code template to generate target code; The target code is sent to the code management platform so that the code management platform stores the target code and deploys a target application corresponding to the target code on the application deployment platform.
2. The method according to claim 1, characterized in that Calling the template engine and adding the target component to the target code template to generate the target code includes: Obtaining location information of the target component in the target code template; The template engine is called, and based on the position information, the target component is added to the target code template to obtain the code to be rendered, and the code to be rendered is rendered to generate the target code.
3. The method according to claim 1, characterized in that Sending the target code to the code management platform so that the code management platform stores the target code includes: Verify whether the user has the authority to create a project in the code management platform. If so, create a target project corresponding to the target code in the code management platform, and send the target code to the code management platform so that the code management platform stores the target code in the target project.
4. The method according to claim 3, characterized in that The method further comprises: Updating the target code to obtain an updated target code; Under the target project in the code management platform, create a subproject corresponding to the updated target code; The updated target code is sent to the code management platform so that the code management platform stores the updated target code in a sub-item corresponding to the updated target code.
5. The method according to claim 1, characterized in that Deploying a target application corresponding to the target code on the application deployment platform includes: Sending an application configuration corresponding to the target code to the application deployment platform, so that the application deployment platform deploys a target application corresponding to the target code on the application deployment platform based on the application configuration and the target code obtained from the code management platform, runs the target application, and sends status information of the target application to the application management platform; The registration information corresponding to the target code is sent to the application management platform, so that the application management platform registers the target application corresponding to the target code based on the registration information and the status information.
6. The method according to claim 5, characterized in that The application development platform maintains an association relationship between at least one component and the configuration information corresponding thereto; Sending an application configuration corresponding to the target code to the application deployment platform includes: Based on the association relationship, determining configuration information corresponding to the target component; An application configuration corresponding to the target code is generated according to the configuration information corresponding to the target component and the configuration information corresponding to the target code template, and the application configuration is sent to the application deployment platform.
7. The method according to claim 5, characterized in that Before sending the target code to the code management platform, the method further includes: Get application information entered by the user; Based on the target code and the application information, generating a link address of the code management platform for storing the target code; Based on the link address, projects corresponding to the target code are synchronously created in the code management platform, the application deployment platform and the application management platform; wherein the project in the code management platform is used to store the target code, the project in the application deployment platform is used to deploy the application configuration corresponding to the target code, and the project in the application management platform is used to register the target application corresponding to the target code.
8. A device for application development, characterized in that: The device application development platform deploys a template engine for rendering code; the device includes: An acquisition module, used to acquire a target code template selected by a user from at least one code template built based on the same basic template, and to select a target component from at least one component displayed by the target code template; A calling module, used for calling the template engine, adding the target component to the target code template to generate the target code; The sending module is used to send the target code to the code management platform so that the code management platform stores the target code and deploys the target application corresponding to the target code on the application deployment platform.
9. An electronic device, characterized in that: It includes a communication interface, a processor, a memory and a bus, wherein the communication interface, the processor and the memory are interconnected via the bus; The memory stores machine-readable instructions, and the processor executes the method according to any one of claims 1 to 7 by calling the machine-readable instructions.
10. A machine-readable storage medium, characterized in that: The machine-readable storage medium stores machine-readable instructions, and when the machine-readable instructions are called and executed by the processor, the method according to any one of claims 1 to 7 is implemented.