CN112685035B - Project development method and device, computer readable storage medium and electronic equipment - Google Patents

Project development method and device, computer readable storage medium and electronic equipment Download PDF

Info

Publication number
CN112685035B
CN112685035B CN202011565679.0A CN202011565679A CN112685035B CN 112685035 B CN112685035 B CN 112685035B CN 202011565679 A CN202011565679 A CN 202011565679A CN 112685035 B CN112685035 B CN 112685035B
Authority
CN
China
Prior art keywords
project
file
end development
command
compiling
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.)
Active
Application number
CN202011565679.0A
Other languages
Chinese (zh)
Other versions
CN112685035A (en
Inventor
邢文亮
李崇
王振洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jingdong Technology Holding Co Ltd
Original Assignee
Jingdong Technology Holding Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Jingdong Technology Holding Co Ltd filed Critical Jingdong Technology Holding Co Ltd
Priority to CN202011565679.0A priority Critical patent/CN112685035B/en
Publication of CN112685035A publication Critical patent/CN112685035A/en
Application granted granted Critical
Publication of CN112685035B publication Critical patent/CN112685035B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The disclosure relates to a project development method and device, a computer readable storage medium and electronic equipment, and relates to the technical field of computer software, wherein the method comprises the following steps: receiving a current terminal command line instruction corresponding to a front-end development project, and analyzing the current terminal command line instruction to obtain command execution parameters required by invoking a pre-deployed script file; invoking a pre-deployed script file from a local disk based on command execution parameters, and acquiring target data required for executing a target command included in a current terminal command line instruction from a front-end development project by utilizing the script file; according to the target data, loading a packaging tool required by a front-end development project in the compiling and constructing process and a dependency required by the compiling process from a script file; and compiling and constructing the front-end development project according to the packaging tool and the dependency item to obtain the deployable file corresponding to the front-end development project. The present disclosure improves project development efficiency.

Description

Project development method and device, computer readable storage medium and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of computer software, in particular to a project development method, a project development device, a computer readable storage medium and electronic equipment.
Background
With the development of society, various intelligent devices have become indispensable electronic devices in life and work of people. Existing smart devices are capable of installing various applications to perform a wide variety of functions. Most of the existing various application programs are required to be developed through a front-end development engineering system so as to be convenient for technicians.
At present, most commonly used module packers in the front-end field compile and construct front-end projects; in the compiling process, the front-end project is required to install the packaging tool and build the dependency library required by the project by using the dependency mode of developing the dependency project.
However, the above method has the following drawbacks: on the one hand, a dependency library is generated aiming at a certain item, only the item can be acted, and other items cannot be used in a dependent manner; therefore, under the condition that the local front-end projects of the developer are increased continuously, if each project repeatedly performs local dependence and installs a packaging tool and builds a dependence base required by each project, repeated storage occupies a large amount of storage space, and the burden of a system is heavier; on the other hand, since each project needs to be repeatedly configured, the project development efficiency is low.
Therefore, it is necessary to provide a new project development method and apparatus.
It should be noted that the information of the present invention in the above background section is only for enhancing the understanding of the background of the present invention and thus may include information that does not form the prior art that is already known to those of ordinary skill in the art.
Disclosure of Invention
The present invention aims to provide a project development method, a project development device, a computer-readable storage medium, and an electronic apparatus, which further overcome, at least to some extent, the problem of heavy system load due to limitations and drawbacks of the related art.
According to one aspect of the present disclosure, there is provided a project development method including:
Receiving a current terminal command line instruction corresponding to a front-end development project, and analyzing the current terminal command line instruction to obtain command execution parameters required by invoking a pre-deployed script file;
Invoking the pre-deployed script file from a local disk based on the command execution parameters, and acquiring target data required by executing a target command included in the current terminal command line instruction from the front-end development project by utilizing the script file;
According to the target data, loading a packing tool required by the front-end development project in the compiling and constructing process and a dependency item required by the compiling process from the script file;
And compiling and constructing the front-end development project according to the packaging tool and the dependent items to obtain the deployable file corresponding to the front-end development project.
In one exemplary embodiment of the present disclosure, the target command includes one or more of a project template project creation command, a compile build command for a front-end development project, a upload of the deployable file to a server command, an install command for the dependency, and an intercept command for a network interface request for the front-end development project.
In an exemplary embodiment of the present disclosure, when the target command is a compile build command for a front-end development project, obtaining target data required for executing the target command included in the current terminal command line instruction from the front-end development project using the script file includes:
And acquiring configuration files and project parameters required by compiling and constructing commands for the front-end development project and included in the current terminal command line instruction from the front-end development project by utilizing the script file.
In an exemplary embodiment of the present disclosure, loading, from the script file, packaging tools required by the front-end development project in the compilation construction process and dependencies required by the compilation process according to the target data includes:
Analyzing the configuration file and the project parameters, and loading packaging tools required by the front-end development project in the compiling and constructing process and dependency items required by the compiling process from the script file according to the analyzed configuration file and project parameters.
In an exemplary embodiment of the present disclosure, parsing the configuration file and the project parameters, and loading, from the script file, a packaging tool required by the front-end development project in the compiling and constructing process and a dependency term required by the compiling process according to the parsed configuration file and project parameters, where the method includes:
Analyzing the configuration file by utilizing the script file to obtain the current environment of the front-end development project; wherein the environment includes any one of an online environment, a test environment, and a development environment;
Analyzing the parameter information by utilizing the script file to obtain project parameters corresponding to the current environment of the front-end development project; the project parameters include, but are not limited to, an input path parameter, an output path parameter and a server address parameter;
and loading packaging tools required by the front-end development project in the compiling and constructing process and dependency items required by the compiling process from the script file according to the current environment and project parameters of the front-end development project.
In an exemplary embodiment of the present disclosure, the project development method further includes:
and analyzing the dependent items by using the script file to obtain the dependent items required by the front-end development project.
In an exemplary embodiment of the present disclosure, compiling and constructing a front-end development project according to the packaging tool and the dependency term to obtain a deployable file corresponding to the front-end development project, including:
Compressing resource files included in the front-end development project by utilizing Webpack and the dependent program; wherein the resource file includes, but is not limited to, a picture file and a font file;
Carrying out preset processing on the code files included in the front-end development project by utilizing Webpack and the dependent program to obtain processed code files; the code file comprises one or more of a JS file, a CSS file and an Html file, and the preset processing comprises one or more of compiling, compressing, confusing, code inlining and batch replacing;
Generating a lightweight compressed file according to the compressed resource file and the processed code file;
And carrying out code specification and health detection on the lightweight compressed file by utilizing Webpack packaging tools to obtain a deployable file corresponding to the front-end development project.
In an exemplary embodiment of the present disclosure, the pre-deployed script file is deployed in a copy and/or NPM component distribution manner.
According to an aspect of the present disclosure, there is provided a project development apparatus including:
The instruction analysis module receives a current terminal command line instruction corresponding to a front-end development project, and analyzes the current terminal command line instruction to obtain command execution parameters required by calling a pre-deployed script file;
The script file calling module is used for calling the pre-deployed script file from a local disk based on the command execution parameters and acquiring target data required by executing the target command included in the current terminal command line instruction from the front-end development project by utilizing the script file;
the loading module loads a packing tool required by the front-end development project in the compiling and constructing process and a dependency item required by the compiling process from the script file according to the target data;
And the compiling and constructing module is used for compiling and constructing the front-end development project according to the packaging tool and the dependency item to obtain the deployable file corresponding to the front-end development project.
According to an aspect of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the project development method of any one of the above.
According to one aspect of the present disclosure, there is provided an electronic device including:
A processor; and
A memory for storing executable instructions of the processor;
Wherein the processor is configured to perform the project development method of any one of the above via execution of the executable instructions.
According to the project development method and device provided by the embodiment of the invention, on one hand, the command execution parameters required by calling the pre-deployed script file are obtained by receiving the current terminal command line command corresponding to the front-end development project and analyzing the current terminal command line command; invoking a pre-deployed script file from a local disk based on command execution parameters, and acquiring target data required by executing a target command included in a current terminal command line instruction from a front-end development project by utilizing the script file; then, according to the target data, loading a packaging tool required by a front-end development project in the compiling and constructing process and a dependency required by the compiling process from a script file; finally compiling and constructing front-end development projects according to the packing tools and the dependency items to obtain a deployable file corresponding to the front-end development projects, wherein a developer of any project can call a pre-deployed script file by inputting a command line instruction of a current terminal, so that the problem that a large amount of storage space is occupied by repeated storage due to repeated local dependency and installation of the packing tools and construction of dependency libraries required by each project of each front-end development project in the prior art is solved, and the burden of a system is further caused; on the other hand, the method can directly call the pre-deployed script file from the local disk based on the command execution parameters, and acquire target data required by executing the target command included in the command line instruction of the current terminal from the front-end development project by utilizing the script file, so that repeated configuration is not required, and further the problem of lower project development efficiency caused by the fact that each project is required to be repeatedly configured in the prior art is solved; on the other hand, the script file which is deployed in advance can be called from the local disk directly based on the command execution parameters, and target data required by executing the target command included in the command line instruction of the current terminal is acquired from the front-end development project by utilizing the script file, so that the front-end development project can input the corresponding instruction according to self-needs, call up the script file to execute the corresponding target command, and further the development efficiency of the front-end development project is further improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention. It is evident that the drawings in the following description are only some embodiments of the present invention and that other drawings may be obtained from these drawings without inventive effort for a person of ordinary skill in the art.
Fig. 1 schematically shows a flow chart of a project development method according to an exemplary embodiment of the invention.
Fig. 2 schematically shows an exemplary view of an application scenario of a project development method according to an exemplary embodiment of the present invention.
FIG. 3 schematically illustrates an example diagram of a target command according to an example embodiment of the invention.
FIG. 4 schematically illustrates a method flowchart for parsing the configuration file and the project parameters, and loading the packaging tool required by the front-end development project in the compiling and constructing process and the dependency term required by the compiling process from the script file according to the parsed configuration file and project parameters according to an exemplary embodiment of the invention.
FIG. 5 schematically illustrates a flowchart of a method for compiling a front-end development project from a packaging tool and dependency items to obtain a deployable file corresponding to the front-end development project, according to an example embodiment of the invention.
Fig. 6 schematically shows a flow chart of another project development method according to an example embodiment of the invention.
Fig. 7 schematically shows a block diagram of a project development apparatus according to an exemplary embodiment of the invention.
Fig. 8 schematically shows an electronic device for implementing the above-described project development method according to an exemplary embodiment of the present invention.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. However, the exemplary embodiments may be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the invention. One skilled in the relevant art will recognize, however, that the invention may be practiced without one or more of the specific details, or with other methods, components, devices, steps, etc. In other instances, well-known aspects have not been shown or described in detail to avoid obscuring aspects of the invention.
Furthermore, the drawings are merely schematic illustrations of the present invention and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus a repetitive description thereof will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in software or in one or more hardware modules or integrated circuits or in different networks and/or processor devices and/or microcontroller devices.
In this example embodiment, a method for developing a project is provided first, where the method may operate on a terminal device, a server cluster, or a cloud server; of course, those skilled in the art may also operate the method of the present invention on other platforms as required, and this is not a particular limitation in the present exemplary embodiment. Referring to fig. 1, the project development method may include the steps of:
S110, receiving a current terminal command line instruction corresponding to a front-end development project, and analyzing the current terminal command line instruction to obtain command execution parameters required by calling a pre-deployed script file;
S120, calling the pre-deployed script file from a local disk based on the command execution parameters, and acquiring target data required by executing a target command included in the current terminal command line instruction from the front-end development project by utilizing the script file;
S130, loading a packing tool required by the front-end development project in the compiling and constructing process and a dependency item required by the compiling process from the script file according to the target data;
And S140, compiling and constructing a front-end development project according to the packaging tool and the dependent item to obtain a deployable file corresponding to the front-end development project.
In the method for developing the project, on one hand, the command execution parameters required by calling the pre-deployed script file are obtained by receiving the current terminal command line command corresponding to the front-end development project and analyzing the current terminal command line command; invoking a pre-deployed script file from a local disk based on command execution parameters, and acquiring target data required by executing a target command included in a current terminal command line instruction from a front-end development project by utilizing the script file; then, according to the target data, loading a packaging tool required by a front-end development project in the compiling and constructing process and a dependency required by the compiling process from a script file; finally compiling and constructing the front-end development project according to the packing tool and the dependency item to obtain a deployable file corresponding to the front-end development project, wherein a developer of any project can call a pre-deployed script file by inputting a command line instruction of a current terminal, so that the problem that a large amount of storage space is occupied by repeated storage due to repeated local dependency and installation of the packing tool of each project and dependency library required by constructing each project in the prior art is solved, and the burden of a system is further caused; on the other hand, the method can directly call the pre-deployed script file from the local disk based on the command execution parameters, and acquire target data required by executing the target command included in the command line instruction of the current terminal from the front-end development project by utilizing the script file, so that repeated configuration is not required, and further the problem of lower project development efficiency caused by the fact that each project is required to be repeatedly configured in the prior art is solved; on the other hand, the script file which is deployed in advance can be called from the local disk directly based on the command execution parameters, and target data required by executing the target command included in the command line instruction of the current terminal is acquired from the front-end development project by utilizing the script file, so that the front-end development project can input the corresponding instruction according to self-needs, call up the script file to execute the corresponding target command, and further the development efficiency of the front-end development project is further improved.
Hereinafter, steps included in the project development method provided by the present disclosure will be explained and illustrated in detail with reference to the accompanying drawings.
First, terms involved in the present disclosure are explained.
Js: the platform is built based on Chrome JavaScript in running and is used for conveniently building network application with high response speed and easy expansion; it uses event driven, non-blocking I/O models to be lightweight and efficient, well suited for running data intensive real-time applications on distributed devices.
Express is a compact and flexible node. Js Web application framework that can provide a range of powerful features to help create a variety of Web applications; meanwhile, express does not abstract the existing characteristics of node. Js secondarily, but expands the functions required by Web application above node. Js.
Webpack: webpack is a tool for packaging a front end module by a user, and is mainly used for packaging script files used at a browser end; meanwhile, other static resources can be converted, bound and packaged; wherein the static resources may include Css, image, fontfile, template, etc.
NPM: node PACKAGE MANAGER is a packet management and distribution tool of Node.
JS: abbreviations of JavaScript; is a scripting language, and a lightweight programming language, into which the programming code of HTML pages can be inserted.
Compiling and constructing: a process of processing the current project and the dependent third party library file aiming at a certain front-end project; the process may produce a number of files in a specific format that may be published on a server to fully provide the front-end project design functionality.
DEPENDENCIES: a dependent item belongs to one item in a front-end item configuration file package, json, and represents an item configured under a DEPENDENCIES node of the front-end item dependence; meanwhile, the items configured under the node are packed into the output file during compiling construction.
DEVDEPENDENCIES: developing a dependency term, wherein one term in a front-end project configuration file package is used for representing a project configured under a DEVDEPENDENCIES node in the compiling and constructing process of the front-end project; meanwhile, the project configured under the node is not packed into the output file during compiling and constructing.
Next, the object of the present disclosure is explained and explained.
Specifically, the method and the device provide a global compiling and constructing program for solving the problem that compiling and constructing dependency libraries of front-end projects cannot be reused, uniformly rely on all compiling and constructing dependency projects, uniformly configure, avoid the problem that each project repeatedly depends on installation and configuration dependency projects, and further achieve the purposes of reducing system burden and improving development efficiency.
Further, an application scenario of the pre-deployed script file described in the present disclosure is explained and explained. Specifically, referring to fig. 2, the development process of the script file may include: the business codes and the dependent items of a plurality of items in the same working space 200 are packaged, compiled and constructed, so that a script file, namely a CLI (Command-LINE INTERFACE, command line interface) program, is generated, and therefore, a project developer of each item can directly call from an input call Command. The items included in the workspace may include a plurality of items including item 1 (201), item 2 (202), item 3 (203), … …, item n, and the like, each item includes a corresponding service code and a dependent item (DEPENDENCIES), and in the development process of the script file, the service code and the dependent item (DEPENDENCIES) included in each item are compiled and built, so as to generate a CLI program 204, where the CLI program includes the dependent items (DEPENDENCIES) of all the items.
That is, the CLI program is a script file described in the present application, and is installed in a developer development device by means of global installation, relying on Webpack and other construction libraries. The developer does not need to rely on Webpack and other construction libraries in the front-end project, and can execute Webpack compiling construction operation by calling the global CLI program through a command under the front-end project directory, so that the compiling construction task of the current front-end project is completed.
Hereinafter, step S110 to step S140 will be explained and explained.
In step S110, a current terminal command line instruction corresponding to a front-end development project is received, and the current terminal command line instruction is parsed to obtain command execution parameters required for calling a pre-deployed script file.
In the present exemplary embodiment, first, a current terminal command line instruction corresponding to a front-end development project is received. Specifically, command line instructions input by project developers when all terminals can be monitored through CAMMANDER included in the Node assembly; the user may be a project developer, a project manager, or other person with a project development right, which is not particularly limited in this example.
Further, after the command line of the terminal is received and executed, the command line command of the current terminal can be analyzed to obtain command execution parameters required by calling a pre-deployed script file; for example, when the current terminal command line instruction is input: when jr build test, the command execution parameter is test; when the input current terminal command line instruction is: jr init < projectName >, the command execution parameter is < projectName >.
In step S120, based on the command execution parameter, the pre-deployed script file is called from the local disk, and target data required for executing the target command included in the current terminal command line instruction is obtained from the front-end development project by using the script file.
In the present exemplary embodiment, a pre-deployed script file is called from a local disk based on command execution parameters, and target data required for executing a target command included in a current terminal command line instruction is acquired from a front-end development project by using the script file; wherein the target command corresponds to the command execution parameter, that is, if the command execution parameter is test, the target command is a command corresponding to test.
Further, here, taking the jinit < projectName > as an example, the target command included in the script file is explained and described.
Program call command: jr init < projectName >. Wherein: jr represents the name of the command that called a program, different programs will have different commands; init represents an operation Action after the program is called, and indicates an Action to be executed; < projectName > represents a parameter placeholder. Specifically, referring to FIG. 3, the target commands may include a project template project creation command 301, a compile build command 302 for a front end development project, an upload of the deployable file to a server command 303, an install command 304 for the dependency, and an intercept command 305 for a network interface request for the front end development project. Wherein,
An project template project creation command (init) 301 may be used to create a template project under a current catalog or under a parameter-specific catalog. The specific operation is that the front-end template item preset in the code warehouse is downloaded under the current or parameter appointed directory, and the content of the configuration file under the template copy is modified; the template project generally has a fixed file directory structure and comprises universal program codes and dependent code modules which are needed in the development process.
Compiling build commands 302 for the front-end development project may include dev and build. The dev can be used for compiling and constructing the current Web project by using development environment configuration, and generating a deployable file under a specified directory; then, the current construction catalog is taken as a root catalog, and static service is started for a developer to preview and debug the Web project page in the local machine; build can be used to compile and build current Web projects, generate deployable files, and specify test environments or production environments after commands.
The upload of the deployable file to server command (deploy) 303 may be used to upload and deploy a file of a specified path to a server.
An install command (install) 304 is performed on the dependency item, which may be used to install a specified dependency component, parameter, and component name. The action is to download the component item stored in the designated position to the current item designated directory, and the developer can rely on and use the component.
The interception command (mock) 305 is used for intercepting the network interface request of the front-end development project, and further returning the value required by the front-end development project, so that the function of simulating data of the server-side interface of the front-end development project is realized, and further development and test of the front-end development project are facilitated.
Further, when the target command is a Build command (Build) for compiling a front-end development project, obtaining target data required for executing the target command included in the current terminal command line instruction from the front-end development project by using the script file, including: acquiring a configuration file and project parameters required by compiling and constructing a command for the front-end development project, which are included in the command line instruction of the current terminal, from the front-end development project by utilizing the script file; when the target command is a compile build command (dev) for the front-end development project, obtaining target data required for executing the target command included in the current terminal command line instruction from the front-end development project by using the script file, including: and executing the compiling and constructing command (dev) under the project catalog of the front-end development project by utilizing the script file. The above explanation of each target command is specifically described above, and will not be repeated here.
In step S130, according to the target data, the packaging tool required by the front-end development project in the compiling and constructing process and the dependency term required by the compiling process are loaded from the script file.
In the present exemplary embodiment, explanation and explanation are made taking the target data as a configuration file and the project parameters as examples. Specifically, according to the target data, loading, from the script file, a packaging tool required by the front-end development project in the compiling and constructing process and a dependency required by the compiling process may include: analyzing the configuration file and the project parameters, and loading packaging tools required by the front-end development project in the compiling and constructing process and dependency items required by the compiling process from the script file according to the analyzed configuration file and project parameters.
Further, referring to fig. 4, parsing the configuration file and the project parameters, and loading the packaging tool required by the front-end development project in the compiling and constructing process and the dependency items required by the compiling process from the script file according to the parsed configuration file and project parameters may include steps S410-S430. Wherein:
In step S410, the script file is utilized to parse the configuration file, so as to obtain the current environment of the front-end development project; wherein the environment includes any one of an online environment, a test environment, and a development environment;
in step S420, the parameter information is parsed by using the script file, so as to obtain a project parameter corresponding to the current environment of the front-end development project; the project parameters include, but are not limited to, an input path parameter, an output path parameter and a server address parameter;
In step S430, according to the environment in which the front-end development project is currently located and project parameters, packing tools required by the front-end development project in the compiling and constructing process and dependency items required by the compiling process are loaded from the script file.
Hereinafter, step S410 to step S430 will be explained and explained. Firstly, analyzing a configuration file by utilizing a script file to obtain the current environment of a front-end development project; the environment may include an online environment, a test environment, a development environment, and so on; secondly, analyzing the parameter information to obtain project parameters, wherein the project parameters can comprise input path parameters, output path parameters and server address parameters; an increment parameter, an engineering package name parameter and the like can be further included, and the method is not particularly limited in the example; and finally, loading packaging tools required by the front-end development project in the compiling and constructing process and dependency items required by the compiling process from the script file according to the current environment and project parameters of the front-end development project. By the method, the problems that the front-end development project needs to install Webpack in a DEVDEPENDENCIES dependent mode and build a required dependent library, other projects cannot be used in a dependent mode, and therefore each project repeatedly performs local dependence and installation Webpack and builds the required dependent library under the condition that local front-end projects of a developer are continuously increased, repeated storage occupies a large amount of storage space, repeated configuration is needed, and the efficiency is quite low can be avoided.
In step S140, according to the packaging tool and the dependency, the front-end development project is compiled and built, so as to obtain the deployable file corresponding to the front-end development project.
In this example embodiment, in order to perform compilation construction, the dependency item needs to be parsed first, which may specifically include: and analyzing the dependent item by using the script file to obtain the dependent program of the front-end development project.
Further, after the dependent program is obtained, the front-end development project can be compiled and constructed according to the packaging tool and the dependent item, so that the deployable file corresponding to the front-end development project is obtained. Specifically, referring to fig. 5, compiling and constructing the front-end development project according to the packaging tool and the dependency item, and obtaining the deployable file corresponding to the front-end development project may include steps S510-S540. Wherein:
In step S510, the resource file included in the front-end development project is compressed using Webpack and the dependent program; wherein the resource file includes, but is not limited to, a picture file and a font file;
Step S520, performing preset processing on the code files included in the front-end development project by using Webpack and the relying program to obtain processed code files; the code file comprises one or more of a JS file, a CSS file and an Html file, and the preset processing comprises one or more of compiling, compressing, confusing, code inlining and batch replacing;
Step S530, generating a lightweight compressed file according to the compressed resource file and the processed code file;
in step S540, code specification and health detection are performed on the lightweight compressed file by using Webpack packaging tool, so as to obtain a deployable file corresponding to the front-end development project.
Fig. 5 shows the overall compiling and constructing process of the front-end development project by using the script file, and it is emphasized that, because the script file includes Webpack program modules (such as Loader and plug in) required for compiling and constructing, the Html file, the picture file, the font file, the JS file and the CSS file included in the front-end development project can be further processed, so as to obtain a deployable file, thereby achieving the purpose of realizing the development of the project.
The deployment method of the pre-deployed script file described in the present invention is explained and explained below. Specifically, the pre-deployed script file may be deployed to a terminal device where the project developer is located by copying and/or distributing the script file by the NPM component. For example, a script file can be installed to a terminal device where a project developer is located in a mode of distributing an NPM (Node PACKAGE MANAGER) component, so that the project developer inputs a call instruction through a command line interface under the project directory, and call on the script file is completed. Wherein the preset dispensing tool may be an NPM. Of course, the script file can also be directly copied to the terminal device where the project developer is located, so that the project developer can input a calling instruction through a command line interface under the project directory to complete the calling of the script file.
The project development method provided by the present disclosure is further explained and illustrated below in conjunction with fig. 6. Referring to fig. 6, the project development method may include the steps of:
Step S610, monitoring user input specific terminal command line through Node assembly Commander, executing construction program;
Step S620, the construction program performs reassembly and conversion to Webpack to construct the required configuration data by acquiring the related parameters in the command line and the configuration item content of the specific configuration file under the project catalog where the command is executed;
in step S630, call Webpack performs the compile build action to generate a deployable file.
According to the project development method provided by the disclosure, a DEPENDENCIES mode is used for relying on third party libraries such as Webpack and the like required by front-end project compiling construction, and unified configuration is carried out; meanwhile, in a package json configuration file of the compiling and constructing program, all the dependency items required by front-end item compiling and constructing are configured in a DEPENDENCIES node; and, use the configuration item that the unified configuration Webpack of specific template constructed the required configuration item in this compilation to construct the procedure, finally transmit the configuration item into Webpack and compile and construct the operation, and then make the developer not need rely on compiling and constructing the required storehouse in the front-end project developed, only need call up this construction procedure through the order under the project directory, can carry out and compile and construct the operation to the current front-end project, promote development efficiency, reduce the burden of the system at the same time.
The disclosure also provides a project development device. Referring to fig. 6, the project development apparatus may include an instruction parsing module 710, a script file calling module 720, a loading module 730, and a compilation construction module 740. Wherein:
The instruction parsing module 710 may be configured to receive a current terminal command line instruction corresponding to a front-end development project, and parse the current terminal command line instruction to obtain a command execution parameter required for invoking a pre-deployed script file;
The script file calling module 720 may be configured to call the pre-deployed script file from a local disk based on the command execution parameter, and obtain, from the front-end development project, target data required for executing a target command included in the current terminal command line instruction by using the script file;
The loading module 730 may be configured to load, from the script file, a packaging tool required by the front-end development project in the compiling and constructing process and a dependency required by the compiling process according to the target data;
the compiling and constructing module 740 may be configured to compile and construct a front-end development project according to the packaging tool and the dependency item, so as to obtain a deployable file corresponding to the front-end development project.
In one exemplary embodiment of the present disclosure, the target command includes one or more of a project template project creation command, a compile build command for a front-end development project, a upload of the deployable file to a server command, an install command for the dependency, and an intercept command for a network interface request for the front-end development project.
In an exemplary embodiment of the present disclosure, when the target command is a compile build command for a front-end development project, obtaining target data required for executing the target command included in the current terminal command line instruction from the front-end development project using the script file includes:
And acquiring configuration files and project parameters required by compiling and constructing commands for the front-end development project and included in the current terminal command line instruction from the front-end development project by utilizing the script file.
In an exemplary embodiment of the present disclosure, loading, from the script file, packaging tools required by the front-end development project in the compilation construction process and dependencies required by the compilation process according to the target data includes:
Analyzing the configuration file and the project parameters, and loading packaging tools required by the front-end development project in the compiling and constructing process and dependency items required by the compiling process from the script file according to the analyzed configuration file and project parameters.
In an exemplary embodiment of the present disclosure, parsing the configuration file and the project parameters, and loading, from the script file, a packaging tool required by the front-end development project in the compiling and constructing process and a dependency term required by the compiling process according to the parsed configuration file and project parameters, where the method includes:
Analyzing the configuration file by utilizing the script file to obtain the current environment of the front-end development project; wherein the environment includes any one of an online environment, a test environment, and a development environment;
Analyzing the parameter information by utilizing the script file to obtain project parameters corresponding to the current environment of the front-end development project; the project parameters include, but are not limited to, an input path parameter, an output path parameter and a server address parameter;
and loading packaging tools required by the front-end development project in the compiling and constructing process and dependency items required by the compiling process from the script file according to the current environment and project parameters of the front-end development project.
In an exemplary embodiment of the present disclosure, the project development method further includes:
And analyzing the dependent item by using the script file to obtain the dependent program of the front-end development project.
In an exemplary embodiment of the present disclosure, compiling and constructing a front-end development project according to the packaging tool and the dependency term to obtain a deployable file corresponding to the front-end development project, including:
Compressing resource files included in the front-end development project by utilizing Webpack and the dependent program; wherein the resource file includes, but is not limited to, a picture file and a font file;
Carrying out preset processing on the code files included in the front-end development project by utilizing Webpack and the dependent program to obtain processed code files; the code file comprises one or more of a JS file, a CSS file and an Html file, and the preset processing comprises one or more of compiling, compressing, confusing, code inlining and batch replacing;
Generating a lightweight compressed file according to the compressed resource file and the processed code file;
And carrying out code specification and health detection on the lightweight compressed file by utilizing Webpack packaging tools to obtain a deployable file corresponding to the front-end development project.
In an exemplary embodiment of the present disclosure, the pre-deployed script file is deployed in a copy and/or NPM component distribution manner.
The specific details of each module in the above-mentioned project development device have been described in detail in the corresponding project development method, so that the details are not repeated here.
It should be noted that although in the above detailed description several modules or units of a device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functions of two or more modules or units described above may be embodied in one module or unit in accordance with embodiments of the invention. Conversely, the features and functions of one module or unit described above may be further divided into a plurality of modules or units to be embodied.
Furthermore, although the steps of the methods of the present invention are depicted in the accompanying drawings in a particular order, this is not required to or suggested that the steps must be performed in this particular order or that all of the steps shown be performed in order to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step to perform, and/or one step decomposed into multiple steps to perform, etc.
In an exemplary embodiment of the present invention, an electronic device capable of implementing the above method is also provided.
Those skilled in the art will appreciate that the various aspects of the invention may be implemented as a system, method, or program product. Accordingly, aspects of the invention may be embodied in the following forms, namely: an entirely hardware embodiment, an entirely software embodiment (including firmware, micro-code, etc.) or an embodiment combining hardware and software aspects may be referred to herein as a "circuit," module "or" system.
An electronic device 800 according to such an embodiment of the invention is described below with reference to fig. 8. The electronic device 800 shown in fig. 8 is merely an example and should not be construed as limiting the functionality and scope of use of embodiments of the present invention.
As shown in fig. 8, the electronic device 800 is embodied in the form of a general purpose computing device. Components of electronic device 800 may include, but are not limited to: the at least one processing unit 810, the at least one storage unit 820, a bus 830 connecting the different system components (including the storage unit 820 and the processing unit 810), and a display unit 840.
Wherein the storage unit stores program code that is executable by the processing unit 810 such that the processing unit 810 performs steps according to various exemplary embodiments of the present invention described in the above section of the "exemplary method" of the present specification. For example, the processing unit 810 may perform step S110 as shown in fig. 1: receiving a current terminal command line instruction corresponding to a front-end development project, and analyzing the current terminal command line instruction to obtain command execution parameters required by invoking a pre-deployed script file; step S120: invoking the pre-deployed script file from a local disk based on the command execution parameters, and acquiring target data required by executing a target command included in the current terminal command line instruction from the front-end development project by utilizing the script file; step S1340: according to the target data, loading a packing tool required by the front-end development project in the compiling and constructing process and a dependency item required by the compiling process from the script file; step S140: and compiling and constructing the front-end development project according to the packaging tool and the dependent items to obtain the deployable file corresponding to the front-end development project.
The storage unit 820 may include readable media in the form of volatile storage units, such as Random Access Memory (RAM) 8201 and/or cache memory 8202, and may further include Read Only Memory (ROM) 8203.
Storage unit 820 may also include a program/utility 8204 having a set (at least one) of program modules 8205, such program modules 8205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment.
Bus 830 may be one or more of several types of bus structures including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 800 may also communicate with one or more external devices 900 (e.g., keyboard, pointing device, bluetooth device, etc.), one or more devices that enable a user to interact with the electronic device 800, and/or any device (e.g., router, modem, etc.) that enables the electronic device 800 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 850. Also, electronic device 800 may communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet, through network adapter 860. As shown, network adapter 860 communicates with other modules of electronic device 800 over bus 830. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with electronic device 800, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
From the above description of embodiments, those skilled in the art will readily appreciate that the example embodiments described herein may be implemented in software, or may be implemented in software in combination with the necessary hardware. Thus, the technical solution according to the embodiments of the present invention may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (may be a CD-ROM, a U-disk, a mobile hard disk, etc.) or on a network, and includes several instructions to cause a computing device (may be a personal computer, a server, a terminal device, or a network device, etc.) to perform the method according to the embodiments of the present invention.
In an exemplary embodiment of the present invention, a computer-readable storage medium having stored thereon a program product capable of implementing the method described above in the present specification is also provided. In some possible embodiments, the various aspects of the invention may also be implemented in the form of a program product comprising program code for causing a terminal device to carry out the steps according to the various exemplary embodiments of the invention as described in the "exemplary methods" section of this specification, when said program product is run on the terminal device.
A program product for implementing the above-described method according to an embodiment of the present invention may employ a portable compact disc read-only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium would include the following: an electrical connection having one or more wires, a portable disk, a hard disk, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The computer readable signal medium may include a data signal propagated in baseband or as part of a carrier wave with readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., connected via the Internet using an Internet service provider).
Furthermore, the above-described drawings are only schematic illustrations of processes included in the method according to the exemplary embodiment of the present invention, and are not intended to be limiting. It will be readily appreciated that the processes shown in the above figures do not indicate or limit the temporal order of these processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, for example, among a plurality of modules.
Other embodiments of the application will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.

Claims (10)

1. A method of developing a project, comprising:
Receiving a current terminal command line instruction corresponding to a front-end development project, and analyzing the current terminal command line instruction to obtain command execution parameters required by invoking a pre-deployed script file; the script file is a command line interface program, the command line interface program is obtained by packaging and compiling business codes and dependent items of a plurality of projects in the same working space, and the command line interface program is installed in development equipment of a developer corresponding to a front-end development project in a global installation mode; the command line interface program comprises dependent items of all items;
Invoking the pre-deployed script file from a local disk based on the command execution parameters, and acquiring target data required by executing a target command included in the current terminal command line instruction from the front-end development project by utilizing the script file; the target command comprises one or more of a project template engineering creation command, a compiling and constructing command for a front-end development project, a command for uploading a deployable file to a server, a command for installing the dependency item and a command for intercepting a network interface request of the front-end development project;
According to the target data, loading a packing tool required by the front-end development project in the compiling and constructing process and a dependency item required by the compiling process from the script file;
And compiling and constructing the front-end development project according to the packaging tool and the dependent items to obtain the deployable file corresponding to the front-end development project.
2. The method according to claim 1, wherein when the target command is a compile build command for a front-end development project, obtaining target data required for executing the target command included in the current terminal command line instruction from the front-end development project using the script file, comprises:
And acquiring configuration files and project parameters required by compiling and constructing commands for the front-end development project and included in the current terminal command line instruction from the front-end development project by utilizing the script file.
3. The method according to claim 2, wherein loading packaging tools required by the front-end development project in the compilation construction process and dependencies required by the compilation process from the script file according to the target data comprises:
Analyzing the configuration file and the project parameters, and loading packaging tools required by the front-end development project in the compiling and constructing process and dependency items required by the compiling process from the script file according to the analyzed configuration file and project parameters.
4. The method for developing projects according to claim 3, wherein analyzing the configuration file and the project parameters, and loading packaging tools required by the front-end development project in the compiling and constructing process and dependency items required by the compiling process from the script file according to the analyzed configuration file and project parameters, comprises:
Analyzing the configuration file by utilizing the script file to obtain the current environment of the front-end development project; wherein the environment includes any one of an online environment, a test environment, and a development environment;
analyzing the project parameters by utilizing the script file to obtain project parameters corresponding to the current environment of the front-end development project; the project parameters include, but are not limited to, an input path parameter, an output path parameter and a server address parameter;
and loading packaging tools required by the front-end development project in the compiling and constructing process and dependency items required by the compiling process from the script file according to the current environment and project parameters of the front-end development project.
5. The project development method of claim 4, wherein the project development method further comprises:
and analyzing the dependent item by using the script file to obtain the dependent program of the front-end development project.
6. The method of claim 5, wherein compiling and constructing a front-end development project according to the packaging tool and the dependency term to obtain a deployable file corresponding to the front-end development project, comprises:
Compressing resource files included in the front-end development project by utilizing Webpack and the dependent program; wherein the resource file includes, but is not limited to, a picture file and a font file;
Carrying out preset processing on the code files included in the front-end development project by utilizing Webpack and the dependent program to obtain processed code files; the code file comprises one or more of a JS file, a CSS file and an Html file, and the preset processing comprises one or more of compiling, compressing, confusing, code inlining and batch replacing;
Generating a lightweight compressed file according to the compressed resource file and the processed code file;
And carrying out code specification and health detection on the lightweight compressed file by utilizing Webpack packaging tools to obtain a deployable file corresponding to the front-end development project.
7. The method of any one of claims 1-6, wherein the pre-deployed script files are deployed in a copy and/or NPM component distribution manner.
8. A project development device, comprising:
The instruction analysis module receives a current terminal command line instruction corresponding to a front-end development project, and analyzes the current terminal command line instruction to obtain command execution parameters required by calling a pre-deployed script file; the script file is a command line interface program, the command line interface program is obtained by packaging and compiling business codes and dependent items of a plurality of projects in the same working space, and the command line interface program is installed in development equipment of a developer corresponding to a front-end development project in a global installation mode; the command line interface program comprises dependent items of all items;
The script file calling module is used for calling the pre-deployed script file from a local disk based on the command execution parameters and acquiring target data required by executing the target command included in the current terminal command line instruction from the front-end development project by utilizing the script file; the target command comprises one or more of a project template engineering creation command, a compiling and constructing command for a front-end development project, a command for uploading a deployable file to a server, a command for installing the dependency item and a command for intercepting a network interface request of the front-end development project;
the loading module loads a packing tool required by the front-end development project in the compiling and constructing process and a dependency item required by the compiling process from the script file according to the target data;
And the compiling and constructing module is used for compiling and constructing the front-end development project according to the packaging tool and the dependency item to obtain the deployable file corresponding to the front-end development project.
9. A computer-readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the project development method of any one of claims 1-7.
10. An electronic device, comprising:
A processor; and
A memory for storing executable instructions of the processor;
wherein the processor is configured to perform the project development method of any one of claims 1-7 via execution of the executable instructions.
CN202011565679.0A 2020-12-25 2020-12-25 Project development method and device, computer readable storage medium and electronic equipment Active CN112685035B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011565679.0A CN112685035B (en) 2020-12-25 2020-12-25 Project development method and device, computer readable storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011565679.0A CN112685035B (en) 2020-12-25 2020-12-25 Project development method and device, computer readable storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN112685035A CN112685035A (en) 2021-04-20
CN112685035B true CN112685035B (en) 2024-05-17

Family

ID=75453291

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011565679.0A Active CN112685035B (en) 2020-12-25 2020-12-25 Project development method and device, computer readable storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN112685035B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113050937A (en) * 2021-04-21 2021-06-29 中国工商银行股份有限公司 Front-end data processing method and device based on command line
CN113296746A (en) * 2021-05-31 2021-08-24 成都安恒信息技术有限公司 System and method for building configurable Vue project scaffold by command line
CN113312030A (en) * 2021-06-15 2021-08-27 京东数科海益信息科技有限公司 Method for constructing application program, electronic equipment and storage medium
CN113448559A (en) * 2021-07-13 2021-09-28 壹药网科技(上海)股份有限公司 Development system and method of global wide area network front end aiming at multiple development projects
CN113590446A (en) * 2021-08-02 2021-11-02 上海米哈游璃月科技有限公司 Method and device for detecting numerical value file, electronic equipment and storage medium
CN113656000B (en) * 2021-08-11 2024-01-09 北京达佳互联信息技术有限公司 Webpage processing method and device
CN113760356B (en) * 2021-09-10 2024-03-19 北京百度网讯科技有限公司 Differential configuration method, device, equipment and medium of program product
CN114168112A (en) * 2021-12-09 2022-03-11 深圳创维智慧科技有限公司 Application development method, system, device and computer readable storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014183447A1 (en) * 2013-05-14 2014-11-20 Tencent Technology (Shenzhen) Company Limited Method, system and sever for downloading installation package
CN106843869A (en) * 2017-01-16 2017-06-13 百融(北京)金融信息服务股份有限公司 A kind of front end Development Engineering system and method
CN107577469A (en) * 2017-08-21 2018-01-12 厦门悦讯教育科技有限公司 A kind of Software package method for release management
CN108304184A (en) * 2016-08-09 2018-07-20 上海思立微电子科技有限公司 Compilation Method and device
CN110659030A (en) * 2019-09-23 2020-01-07 深圳市众学科技有限公司 Unity project compiling method, system, computer device and storage medium
CN111399865A (en) * 2020-04-21 2020-07-10 贵州新致普惠信息技术有限公司 Method for automatically constructing target file based on container technology
CN111552508A (en) * 2020-04-29 2020-08-18 杭州数梦工场科技有限公司 Application program version construction method and device and electronic equipment
CN111897520A (en) * 2020-07-31 2020-11-06 平安科技(深圳)有限公司 Front-end project framework construction method and device, computer equipment and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8051405B2 (en) * 2006-01-11 2011-11-01 Oracle International Corporation System and method for build script generation in a software development environment
KR102156371B1 (en) * 2013-11-27 2020-09-15 한국전자통신연구원 Method for providing embedded software development tools for supporting embedded software development environment based on native building and apparatus thereof
US9665849B2 (en) * 2015-02-26 2017-05-30 Red Hat, Inc. Employing dependency graph in software build projects
US10095499B2 (en) * 2016-09-16 2018-10-09 Microsoft Technology Licensing, Llc Optimization for multi-project package manager
US10963230B2 (en) * 2019-02-14 2021-03-30 International Business Machines Corporation Single page application continuous integration, build, and deployment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014183447A1 (en) * 2013-05-14 2014-11-20 Tencent Technology (Shenzhen) Company Limited Method, system and sever for downloading installation package
CN108304184A (en) * 2016-08-09 2018-07-20 上海思立微电子科技有限公司 Compilation Method and device
CN106843869A (en) * 2017-01-16 2017-06-13 百融(北京)金融信息服务股份有限公司 A kind of front end Development Engineering system and method
CN107577469A (en) * 2017-08-21 2018-01-12 厦门悦讯教育科技有限公司 A kind of Software package method for release management
CN110659030A (en) * 2019-09-23 2020-01-07 深圳市众学科技有限公司 Unity project compiling method, system, computer device and storage medium
CN111399865A (en) * 2020-04-21 2020-07-10 贵州新致普惠信息技术有限公司 Method for automatically constructing target file based on container technology
CN111552508A (en) * 2020-04-29 2020-08-18 杭州数梦工场科技有限公司 Application program version construction method and device and electronic equipment
CN111897520A (en) * 2020-07-31 2020-11-06 平安科技(深圳)有限公司 Front-end project framework construction method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN112685035A (en) 2021-04-20

Similar Documents

Publication Publication Date Title
CN112685035B (en) Project development method and device, computer readable storage medium and electronic equipment
CN106325847B (en) Method and device for acquiring application program function based on iOS platform
CN111740948B (en) Data packet issuing method, dynamic updating method, device, equipment and medium
CN110647332A (en) Software deployment method and device based on container cloud
CN111240684A (en) Cutting method and device of JS code, medium and electronic equipment
KR20150061203A (en) Method for providing embedded software development tools for supporting embedded software development environment based on native building and apparatus thereof
CN110597564A (en) Installation package construction and service component loading method, device and terminal equipment
CN111913741B (en) Object interception method, device, medium and electronic equipment
CN111142884A (en) Applet version deployment method and device, electronic equipment and storage medium
US9026997B2 (en) Systems and methods for executing object-oriented programming code invoking pre-existing objects
CN110888639A (en) Business code compiling and packaging method and device
CN114217789A (en) Function component expansion method, device, equipment, storage medium and program product
US11210110B2 (en) Application library analytics tool
CN116166907B (en) Method and device for developing Web application by using WebAsssembly and service page compiling technology
CN112631563A (en) System development method and device based on framework, computer equipment and storage medium
CN111435328B (en) Application testing method and device, electronic equipment and readable storage medium
CN115509545A (en) IOS application packaging construction method and device
CN116431155A (en) Front-end application construction method, medium, device and computing equipment
CN114816672A (en) Virtual machine creation method and device, electronic equipment and storage medium
CN113568623A (en) Application deployment method and device and electronic equipment
CN114238831A (en) HTML code fragment processing method, system, electronic equipment and storage medium
CN112882698A (en) Development environment generation method and device, computer storage medium and electronic device
CN112379885A (en) Applet compiling method, device and equipment and readable storage medium
CN111158645A (en) System and method for providing an integrated development environment
CN112783529B (en) Method and device for controlling pre-release and upgrading of application program and electronic equipment

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
CB02 Change of applicant information

Address after: Room 221, 2 / F, block C, 18 Kechuang 11th Street, Daxing District, Beijing, 100176

Applicant after: Jingdong Technology Holding Co.,Ltd.

Address before: Room 221, 2 / F, block C, 18 Kechuang 11th Street, Daxing District, Beijing, 100176

Applicant before: Jingdong Digital Technology Holding Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant