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

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

Info

Publication number
CN112685035A
CN112685035A CN202011565679.0A CN202011565679A CN112685035A CN 112685035 A CN112685035 A CN 112685035A CN 202011565679 A CN202011565679 A CN 202011565679A CN 112685035 A CN112685035 A CN 112685035A
Authority
CN
China
Prior art keywords
project
file
end development
compiling
command
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011565679.0A
Other languages
Chinese (zh)
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.)
JD Digital Technology Holdings Co Ltd
Original Assignee
JD Digital Technology Holdings 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 JD Digital Technology Holdings Co Ltd filed Critical JD Digital Technology Holdings Co Ltd
Priority to CN202011565679.0A priority Critical patent/CN112685035A/en
Publication of CN112685035A publication Critical patent/CN112685035A/en
Pending legal-status Critical Current

Links

Images

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 a command execution parameter required by calling a pre-deployed script file; calling 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 using the script file; loading a packaging tool required in the compiling and constructing process of the front-end development project and a dependent item required in the compiling process from the script file according to the target data; and compiling and constructing the 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. The present disclosure improves project development efficiency.

Description

Project development method and device, computer-readable storage medium and electronic device
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 people's life and work. Existing smart devices are capable of installing a variety of applications to perform a wide variety of functions. Most of the existing various application programs need to be developed through a front-end development engineering system, so that technical personnel can conveniently develop the application programs.
Currently, some module packers are most commonly used in the front-end field to compile and construct front-end projects; during the compiling process, the front-end project is required to install a packaging tool by using a dependency mode for developing the dependent item and construct a dependency library required by the project.
However, the above method has the following drawbacks: on one hand, a dependency library is generated for a certain project, and only the dependency library can act on the project, and other projects cannot be depended on for use; therefore, under the condition that the local front-end projects of developers are increased continuously, if each project is repeatedly subjected to local dependence and installation of a packaging tool and a dependence library required by each project is constructed, a large amount of storage space is occupied by repeated storage, and further the burden of the system is heavy; on the other hand, each project needs to be configured repeatedly, so that the project development efficiency is low.
Therefore, it is desirable to provide a new project development method and apparatus.
It is to be noted that the information invented in the above background section is only for enhancing the understanding of the background of the present invention, and therefore, may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
An object of the present invention is to provide a project development method, a project development apparatus, a computer-readable storage medium, and an electronic device, which overcome, at least to some extent, the problem of heavy system load due to the limitations and disadvantages of the related art.
According to an 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 a command execution parameter required by calling a pre-deployed script file;
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 using the script file;
according to the target data, loading a packaging tool required by the front-end development project in the compiling and building process and a dependent 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 item to obtain a deployable file corresponding to the front-end development project.
In an exemplary embodiment of the disclosure, the target command includes one or more of a project template engineering creation command, a compile build command for a front-end development project, an upload the deployable file to a server command, an install command for the dependent item, and an intercept command for a network interface request of the front-end development project.
In an exemplary embodiment of the present disclosure, when the target command is a build command for compiling a front-end development project, acquiring, from the front-end development project, target data required for executing the target command included in the current terminal command line instruction by using the script file includes:
and acquiring a configuration file and project parameters required for executing a command for compiling and constructing the front-end development project, which are included in the current terminal command line instruction, from the front-end development project by using the script file.
In an exemplary embodiment of the present disclosure, loading, from the script file, a packaging tool required by the front-end development project in a compilation building process and a dependent item required by the compilation process according to the target data includes:
and analyzing the configuration file and the project parameters, and loading a packaging tool required by the front-end development project in the compiling and constructing process and a dependent item required by the compiling process from the script file according to the analyzed configuration file and the analyzed project parameters.
In an exemplary embodiment of the present disclosure, parsing the configuration file and the project parameters, and loading a packaging tool required by the front-end development project in a compiling and building process and a dependent item required by the compiling process from the script file according to the parsed configuration file and the project parameters includes:
analyzing the configuration file by using the script file to obtain the current environment of the front-end development project; wherein the environment comprises any one of an online environment, a test environment and a development environment;
analyzing the parameter information by using the script file to obtain a project parameter corresponding to the current environment of the front-end development project; wherein the project parameters include but are not limited to input path parameters, output path parameters and server-side address parameters;
and loading a packaging tool required by the front-end development project in the compiling and constructing process and a dependent item required by the compiling process from the script file according to the current environment of the front-end development project and the project parameters.
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 item 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 dependent item to obtain a deployable file corresponding to the front-end development project includes:
compressing the resource files included in the front-end development project by using Webpack and the dependency program; wherein the resource files include, but are not limited to, picture files and font files;
presetting the code files included in the front-end development project by using the 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, obfuscating, code inlining and batch replacing;
generating a lightweight compressed file according to the compressed resource file and the processed code file;
and performing code specification and health detection on the lightweight compressed file by using a Webpack packaging tool 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 manner of copying and/or distribution by the NPM component.
According to an aspect of the present disclosure, there is provided a project development apparatus including:
the command analysis module is used for receiving a current terminal command line command corresponding to a front-end development project and analyzing the current terminal command line command 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 a target command included in the current terminal command line instruction from the front-end development project by using the script file;
the loading module is used for loading a packaging tool required by the front-end development project in the compiling and constructing process and a dependent 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 dependent item to obtain a 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 a project development method as any one of the above.
According to an 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 any of the project development methods described above via execution of the executable instructions.
On one hand, the method and the device for project development provided by the embodiment of the invention receive a current terminal command line instruction corresponding to a front-end development project and analyze the current terminal command line instruction to obtain a command execution parameter required by calling a pre-deployed script file; calling a 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 a current terminal command line instruction from a front-end development project by using the script file; then loading a packaging tool required in the compiling and constructing process of the front-end development project and a dependent item required in the compiling process from the script file according to the target data; finally, compiling and constructing the front-end development projects according to the packaging tool and the dependent items to obtain deployable files corresponding to the front-end development projects, and because developers of any project can call the pre-deployed script files by inputting a current terminal command line instruction, the problem that in the prior art, because each front-end development project repeatedly carries out local dependence and installs the packaging tool and constructs a dependent library required by each project, a large amount of storage space is occupied by repeated storage, and further the burden of the system is heavy is solved; on the other hand, since the pre-deployed script file can be called from the local disk directly based on the command execution parameter, and the 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, repeated configuration is not required any more, and the problem of low project development efficiency caused by repeated configuration of each project in the prior art is solved; on the other hand, the pre-deployed script file can be called from the local disk directly based on the command execution parameter, and the target data required for executing the target command included in the current terminal command line instruction is acquired from the front-end development project by using the script file, so that the front-end development project can input the corresponding instruction according to the self-requirement, and the script file is called to execute the corresponding target command, thereby further improving the development efficiency of the front-end development project.
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 obvious that the drawings in the following description are only some embodiments of the invention, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
FIG. 1 schematically illustrates a flow diagram of a project development method according to an exemplary embodiment of the invention.
Fig. 2 schematically illustrates an application scenario example diagram of a project development method according to an example 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 is a flowchart schematically illustrating a method for parsing the configuration file and the project parameters, and loading a packaging tool required by the front-end development project in the compilation building process and a dependent item required by the compilation process from the script file according to the parsed configuration file and the project parameters, according to an exemplary embodiment of the present invention.
FIG. 5 is a flowchart illustrating a method for compiling and building a front-end development project to obtain a deployable file corresponding to the front-end development project according to a packaging tool and a dependent item, according to an exemplary embodiment of the present invention.
FIG. 6 schematically illustrates a flow chart of another project development method according to an example embodiment of the invention.
Fig. 7 schematically illustrates a block diagram of a project development apparatus according to an exemplary embodiment of the present invention.
Fig. 8 schematically illustrates an electronic device for implementing the above 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. Example embodiments may, however, be embodied in many different 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 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 provide 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, and so forth. In other instances, well-known technical solutions have not been shown or described in detail to avoid obscuring aspects of the invention.
Furthermore, the drawings are merely schematic illustrations of the invention and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repetitive description 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 the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
In the present exemplary embodiment, a project development method is first provided, where the method may be performed in 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 needed, and this is not particularly limited in this 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;
step S120, calling the pre-deployed script file from a local disk based on the command execution parameters, and acquiring target data required for executing a target command included in the current terminal command line instruction from the front-end development project by using the script file;
s130, loading a packaging tool required in the compiling and constructing process of the front-end development project and a dependent item required in the compiling process from the script file according to the target data;
and S140, compiling and constructing the 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 project development method, on one hand, command execution parameters required by calling a pre-deployed script file are obtained by receiving a current terminal command line instruction corresponding to a front-end development project and analyzing the current terminal command line instruction; calling a 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 a current terminal command line instruction from a front-end development project by using the script file; then loading a packaging tool required in the compiling and constructing process of the front-end development project and a dependent item required in the compiling process from the script file according to the target data; finally, compiling and constructing the front-end development project according to the packaging tool and the dependent items to obtain a deployable file corresponding to the front-end development project, and because developers of any project can call a pre-deployed script file by inputting a current terminal command line instruction, the problem that in the prior art, because each project repeatedly carries out local dependence and installs the packaging tool and constructs a dependent library required by each project, a large amount of storage space is occupied by repeated storage, and further the burden of a system is heavy is solved; on the other hand, since the pre-deployed script file can be called from the local disk directly based on the command execution parameter, and the 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, repeated configuration is not required any more, and the problem of low project development efficiency caused by repeated configuration of each project in the prior art is solved; on the other hand, the pre-deployed script file can be called from the local disk directly based on the command execution parameter, and the target data required for executing the target command included in the current terminal command line instruction is acquired from the front-end development project by using the script file, so that the front-end development project can input the corresponding instruction according to the self-requirement, and the script file is called to execute the corresponding target command, thereby further improving the development efficiency of the front-end development project.
Hereinafter, steps included in the project development method provided by the present disclosure will be explained and explained in detail with reference to the accompanying drawings.
First, terms referred to in the present disclosure are explained.
Js: the system is a platform established based on Chrome JavaScript operation, and is used for conveniently establishing network application with high response speed and easy expansion; it is lightweight and efficient using an event-driven, non-blocking I/O model, and is well-suited for running data-intensive real-time applications on distributed devices.
Express is a simple and flexible node.js Web application framework that can provide a range of powerful features to help create various Web applications; meanwhile, Express does not perform secondary abstraction on the existing characteristics of node.
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; the static resources may include Css, Image, Fontfile, Template, and the like.
NPM: a Node Package Manager is a Package management and distribution tool for Node.
JS: abbreviation of JavaScript; is a script language and a light-weight programming language, and can be inserted into the programming code of the HTML page.
Compiling and constructing: a process of processing a current project and a dependent third party library file for a certain front end project; the process may produce several files of a specific format that may be published on a server to fully provide the front-end project design functionality.
Dependencies: a dependency item, belonging to one item in a front-end item configuration file package.json, representing that the front-end item depends on an item configured under a dependency node; meanwhile, when compiling and building, the items configured under the node are packaged into an output file.
devDependencies: developing a dependent item, wherein one item in a front-end project configuration file package represents that the compiling and constructing process of the front-end project depends on a project configured under a devdependences node; meanwhile, the items configured under the node cannot be packaged into output files during compiling and building.
Next, the objects of the present disclosure will be explained and explained.
Specifically, the method and the device for compiling and constructing the dependency library of the front-end project solve the problem that the compiling and constructing dependency library of the front-end project cannot be reused, provide a global compiling and constructing program, uniformly rely on all compiling and constructing dependency items, uniformly configure, avoid the problem that each project depends on installation and configuration dependency items repeatedly, 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 process of developing the script file may include: the service codes and dependent items of multiple projects in the same workspace 200 are packaged, compiled and constructed, and then a script file, namely a CLI (Command-Line Interface) program, is generated, so that project developers of the projects can directly call from input call commands. The items included in the workspace may include items 1(201), items 2(202), items 3(203), … …, item n, and the like, each item includes its corresponding service code and dependency item (dependences), and in the development process of the script file, the service code and dependency item (dependences) included in each item are compiled and constructed, so as to generate a CLI program 204, and the CLI program includes dependency items (dependences) of all items.
That is, the CLI program is a script file described in the present application, and is installed in the developer development device in a global installation manner by relying on Webpack and other building libraries. A developer does not need to rely on the Webpack and other building libraries in a front-end project, and only needs to call the global CLI program through a command under a front-end project directory, so that the compiling and building operation of the Webpack can be executed, and the compiling and building task of the current front-end project is completed.
Hereinafter, steps S110 to S140 will be explained and explained.
In step S110, a current terminal command line instruction corresponding to the front-end development project is received and analyzed to obtain a command execution parameter required for invoking the pre-deployed script file.
In the present example embodiment, first, a current terminal command line instruction corresponding to a front-end development project is received. Specifically, all terminal command line instructions input by a project developer can be monitored through a Cammanter included in a Node component; the user may be a project developer, a project manager, or other persons with project development right, which is not limited in this example.
Furthermore, after the terminal command line is received for execution, the current terminal command line instruction can be analyzed to obtain command execution parameters required by calling the pre-deployed script file; for example, when the current terminal command line command is input: when jr is built test, the command execution parameter is test; when the input current terminal command line instruction is as follows: 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 a local disk, and the script file is used to obtain target data required for executing the target command included in the current terminal command line instruction from the front-end development project.
In the embodiment of the present invention, based on the command execution parameter, a pre-deployed script file is called from the local disk, and then the script file is used to obtain target data required for executing a target command included in a command line instruction of the current terminal from the front-end development project; 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 the test.
Further, taking the invoking command as jr init < projectName > as an example, the target command included in the script file is explained and explained.
Program launch command: jr init < projectName >. Wherein: jr represents the name of a command to invoke a program, different programs having different commands; init represents an operation Action after the program is called, and indicates the Action to be executed; < projectName > represents a parameter placeholder. Specifically, referring to fig. 3, the target command may include a project template engineering 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 dependent item, and an intercept command 305 for a network interface request of the front-end development project. Wherein the content of the first and second substances,
project template project creation command (init)301, which may be used to create a template project under the current directory or under a parameter-specified directory. The specific operation is that a front-end template item preset to a code warehouse is downloaded to a current or parameter designated directory, and the content of a configuration file under the template copy is modified; the template project generally has a fixed file directory structure, and comprises general program codes and dependent code modules which are needed to be used in the development process.
The build to compile command 302 for a 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, starting static service by taking the current constructed directory as a root directory, so that a developer can preview and debug a Web project page on a local computer; the build can be used for compiling and constructing the current Web project, generating a deployable file, and specifying a test environment or a production environment after a command.
Uploading the deployable file to a server command (deployment) 303 can be used for uploading and deploying the file with the specified path to the server.
An install command (install)304 is performed on the dependent item, which may be used to install a specified dependent component, parameters, and component name. The action is executed to download the component project stored in the designated position to the current project designated directory, and the developer can rely on and use the component.
The intercept command (mock)305 for the network interface request of the front-end development project can be used for intercepting the network interface request of the project and then returning the value required by the front-end development project, so that the function of simulating data by the server-side interface of the front-end development project is realized, and the development and the 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, acquiring 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, where the target data includes: acquiring a configuration file and project parameters required for executing a command for compiling and constructing the front-end development project, which are included in the current terminal command line instruction, from the front-end development project by using the script file; when the target command is a compile build command (dev) for a front-end development project, acquiring target data required for executing the target command included in a current terminal command line instruction from the front-end development project by using a script file, wherein the target data comprises: and executing a compiling and building command (dev) under the project directory where the front-end development project is located by utilizing the script file. It should be added here that target data required for executing other target commands may be acquired according to actual needs of each target command, which is specifically described in the above explanation of each target command, and is not described here any more.
In step S130, according to the target data, a packaging tool required by the front-end development project in the compiling and building process and a dependent item required by the compiling process are loaded from the script file.
In the present exemplary embodiment, the target data is explained and explained by taking the target data as a configuration file and a project parameter as an example. Specifically, loading, from the script file, a packaging tool required in the compiling and building process of the front-end development project and a dependent item required in the compiling process according to the target data may include: and analyzing the configuration file and the project parameters, and loading a packaging tool required by the front-end development project in the compiling and constructing process and a dependent item required by the compiling process from the script file according to the analyzed configuration file and the analyzed project parameters.
Further, as shown in fig. 4, analyzing the configuration file and the project parameters, and loading a packaging tool required by the front-end development project in the compiling and building process and a dependent item required by the compiling process from the script file according to the analyzed configuration file and the analyzed project parameters may include steps S410 to S430. Wherein:
in step S410, the script file is used to analyze the configuration file to obtain the current environment of the front-end development project; wherein the environment comprises any one of an online environment, a test environment and a development environment;
in step S420, the parameter information is analyzed by using the script file to obtain a project parameter corresponding to the current environment of the front-end development project; wherein the project parameters include but are not limited to input path parameters, output path parameters and server-side address parameters;
in step S430, according to the current environment of the front-end development project and the project parameters, a packaging tool required by the front-end development project in the compiling and building process and a dependent item required by the compiling process are loaded from the script file.
Hereinafter, steps S410 to S430 will be explained and explained. Firstly, analyzing a configuration file by using 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-side address parameters; an increment parameter, an engineering package name parameter, and the like may also be included, which is not particularly limited in this example; and finally, loading a packaging tool required by the front-end development project in the compiling and constructing process and a dependent item required by the compiling process from the script file according to the current environment of the front-end development project and the project parameters. By the method, the problems that the front-end development project needs to use a devdependences dependence mode to install the Webpack and construct the required dependence library, other projects cannot depend for use, and therefore under the condition that local front-end projects of developers are increased continuously, each project repeatedly depends on the local and installs the Webpack and constructs the required dependence library, repeated storage occupies a large amount of storage space, repeated configuration is needed, and the efficiency is low are solved.
In step S140, according to the packaging tool and the dependent item, a front-end development project is compiled and constructed, so as to obtain a deployable file corresponding to the front-end development project.
In this exemplary embodiment, in order to perform compiling and building, the dependent item needs to be parsed first, and the method specifically includes: and analyzing the dependent item by using the script file to obtain the dependent program of the front-end development project.
Further, after obtaining the dependent program, 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. Specifically, as shown in fig. 5, compiling and constructing the 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 may include steps S510 to S540. Wherein:
in step S510, compressing the resource file included in the front-end development project by using Webpack and the dependent program; wherein the resource files include, but are not limited to, picture files and font files;
step S520, utilizing Webpack and the dependency program to perform preset processing on the code file included in the front-end development project to obtain a processed code file; 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, obfuscating, 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, a Webpack packaging tool is used to perform code specification and health detection on the lightweight compressed file, so as to obtain a deployable file corresponding to the front-end development project.
Fig. 5 shows an overall compiling and building process of a front-end development project by using a script file, and it is emphasized here that since the script file includes program modules (such as Loader and plug) required for Webpack compiling and building, an Html file, an image file, a font file, a JS file, and a CSS file included in the front-end development project can be processed to obtain a deployable file, so as to achieve the purpose of implementing project development.
Hereinafter, the deployment method of the pre-deployed script file described in the present invention will be explained and explained. Specifically, the pre-deployed script file may be deployed to a terminal device where a project developer is located in a copying and/or NPM component distribution manner. For example, a script file may be installed to a terminal device where a project developer is located in a manner distributed by an npm (node Package manager) component, so that the project developer inputs a call instruction through a command line interface under the project directory to complete a call to the script file. Wherein the preset distribution tool may be an NPM. Of course, the script file may also be directly copied to the terminal device where the project developer is located, so that the project developer inputs a call instruction through a command line interface under the project directory to complete the call of the script file.
Hereinafter, the project development method provided by the present disclosure is further explained and explained with reference to fig. 6. Referring to fig. 6, the project development method may include the steps of:
step S610, monitoring a specific terminal command line input by a user through a Node component Commander, and executing a construction program;
step S620, the construction program configures the item content by acquiring the related parameters in the command line and the specific configuration file under the item directory where the command is executed, and the configuration program is reassembled and converted into configuration data required by Webpack construction;
and step S630, calling Webpack to execute the compiling and constructing action, and generating a deployable file.
According to the project development method, a required third-party library such as Webpack is built by compiling a front-end project in a dependents mode, and unified configuration is carried out; simultaneously, configuring all dependent items required by the compilation and construction of the front-end item in a package json configuration file of the compilation and construction program; moreover, the configuration items required by the Webpack construction are uniformly configured in the compiling construction program by using the specific template, and finally the configuration items are transmitted into the Webpack and are compiled and constructed, so that a developer can execute the compiling construction operation on the current front-end project by only calling the construction program through a command without relying on a library required by compiling construction in the developed front-end project, the development efficiency is improved, and the system load is reduced.
The present disclosure also provides a project development apparatus. 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 building 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 to invoke 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 target data required for executing a target command included in the current terminal command line instruction from the front-end development project 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 building process and a dependent item required by the compiling process according to the target data;
the compiling and constructing module 740 may be configured to compile and construct the front-end development project according to the packaging tool and the dependent item, so as to obtain a deployable file corresponding to the front-end development project.
In an exemplary embodiment of the disclosure, the target command includes one or more of a project template engineering creation command, a compile build command for a front-end development project, an upload the deployable file to a server command, an install command for the dependent item, and an intercept command for a network interface request of the front-end development project.
In an exemplary embodiment of the present disclosure, when the target command is a build command for compiling a front-end development project, acquiring, from the front-end development project, target data required for executing the target command included in the current terminal command line instruction by using the script file includes:
and acquiring a configuration file and project parameters required for executing a command for compiling and constructing the front-end development project, which are included in the current terminal command line instruction, from the front-end development project by using the script file.
In an exemplary embodiment of the present disclosure, loading, from the script file, a packaging tool required by the front-end development project in a compilation building process and a dependent item required by the compilation process according to the target data includes:
and analyzing the configuration file and the project parameters, and loading a packaging tool required by the front-end development project in the compiling and constructing process and a dependent item required by the compiling process from the script file according to the analyzed configuration file and the analyzed project parameters.
In an exemplary embodiment of the present disclosure, parsing the configuration file and the project parameters, and loading a packaging tool required by the front-end development project in a compiling and building process and a dependent item required by the compiling process from the script file according to the parsed configuration file and the project parameters includes:
analyzing the configuration file by using the script file to obtain the current environment of the front-end development project; wherein the environment comprises any one of an online environment, a test environment and a development environment;
analyzing the parameter information by using the script file to obtain a project parameter corresponding to the current environment of the front-end development project; wherein the project parameters include but are not limited to input path parameters, output path parameters and server-side address parameters;
and loading a packaging tool required by the front-end development project in the compiling and constructing process and a dependent item required by the compiling process from the script file according to the current environment of the front-end development project and the project parameters.
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 dependent item to obtain a deployable file corresponding to the front-end development project includes:
compressing the resource files included in the front-end development project by using Webpack and the dependency program; wherein the resource files include, but are not limited to, picture files and font files;
presetting the code files included in the front-end development project by using the 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, obfuscating, code inlining and batch replacing;
generating a lightweight compressed file according to the compressed resource file and the processed code file;
and performing code specification and health detection on the lightweight compressed file by using a Webpack packaging tool 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 manner of copying and/or distribution by the NPM component.
The details of each module in the project development apparatus have been described in detail in the corresponding project development method, and therefore are not described herein again.
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the invention. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
Moreover, although the steps of the methods of the present invention are depicted in the drawings in a particular order, this does not require or imply that the steps must be performed in this particular order, or that all of the depicted steps must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions, etc.
In an exemplary embodiment of the present invention, there is also provided an electronic device capable of implementing the above method.
As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as a system, method or program product. Thus, various aspects of the invention may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
An electronic device 800 according to this embodiment of the invention is described below with reference to fig. 8. The electronic device 800 shown in fig. 8 is only an example and should not bring any limitations to the function and scope of use of the embodiments of the present invention.
As shown in fig. 8, electronic device 800 is in the form of a general purpose computing device. The components of the electronic device 800 may include, but are not limited to: the at least one processing unit 810, the at least one memory unit 820, a bus 830 connecting various system components (including the memory 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 to cause the processing unit 810 to perform steps according to various exemplary embodiments of the present invention as described in the above section "exemplary methods" 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 a command execution parameter required by calling a pre-deployed script file; step 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 using the script file; step S1340: according to the target data, loading a packaging tool required by the front-end development project in the compiling and building process and a dependent 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 item to obtain a deployable file corresponding to the front-end development project.
The storage unit 820 may include readable media in the form of volatile memory units such as a random access memory unit (RAM)8201 and/or a cache memory unit 8202, and may further include a read only memory unit (ROM) 8203.
The 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 of which, or some combination thereof, may comprise an implementation of a network environment.
Bus 830 may be any 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.), with one or more devices that enable a user to interact with the electronic device 800, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 800 to communicate with one or more other computing devices. Such communication may occur via input/output (I/O) interfaces 850. Also, the electronic device 800 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet) via the network adapter 860. As shown, the network adapter 860 communicates with the other modules of the electronic device 800 via the bus 830. It should be appreciated that although not shown, other hardware and/or software modules may be used in conjunction with the electronic device 800, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiment of the present invention can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to make a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) execute the method according to the embodiment of the present invention.
In an exemplary embodiment of the present invention, there is also provided a computer-readable storage medium having stored thereon a program product capable of implementing the above-described method of the present specification. In some possible embodiments, aspects of the invention may also be implemented in the form of a program product comprising program code means for causing a terminal device to carry out the steps according to various exemplary embodiments of the invention described in the above section "exemplary methods" of the present description, when said program product is run on the terminal device.
According to the program product for realizing the method, the portable compact disc read only memory (CD-ROM) can be adopted, the program code is included, and the program product can be operated on terminal equipment, such as a personal computer. However, the program product of the present invention is not limited in this regard and, in the present 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. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
A computer readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. 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 for aspects 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 and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, 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., through the internet using an internet service provider).
Furthermore, the above-described figures are merely schematic illustrations of processes involved in methods according to exemplary embodiments of the invention, and are not intended to be limiting. It will be readily understood that the processes shown in the above figures are not intended to indicate or limit the chronological order of the processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, e.g., in multiple modules.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.

Claims (11)

1. A method of project development, 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 a command execution parameter required by calling a pre-deployed script file;
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 using the script file;
according to the target data, loading a packaging tool required by the front-end development project in the compiling and building process and a dependent 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 item to obtain a deployable file corresponding to the front-end development project.
2. The project development method of claim 1, wherein the target commands comprise one or more of project template project creation commands, compile build commands for front end development projects, upload the deployable file to a server command, install the dependent items, and intercept commands for network interface requests of front end development projects.
3. The project development method of claim 2, wherein when the target command is a build command for compiling a front-end development project, acquiring 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 includes:
and acquiring a configuration file and project parameters required for executing a command for compiling and constructing the front-end development project, which are included in the current terminal command line instruction, from the front-end development project by using the script file.
4. The project development method of claim 3, wherein loading, from the script file, a packaging tool required by the front-end development project in a compilation building process and a dependent item required by the compilation process according to the target data comprises:
and analyzing the configuration file and the project parameters, and loading a packaging tool required by the front-end development project in the compiling and constructing process and a dependent item required by the compiling process from the script file according to the analyzed configuration file and the analyzed project parameters.
5. The project development method of claim 4, wherein parsing the configuration file and the project parameters, and loading a packaging tool required by the front-end development project in the compilation building process and a dependent item required by the compilation process from the script file according to the parsed configuration file and the project parameters comprises:
analyzing the configuration file by using the script file to obtain the current environment of the front-end development project; wherein the environment comprises any one of an online environment, a test environment and a development environment;
analyzing the parameter information by using the script file to obtain a project parameter corresponding to the current environment of the front-end development project; wherein the project parameters include but are not limited to input path parameters, output path parameters and server-side address parameters;
and loading a packaging tool required by the front-end development project in the compiling and constructing process and a dependent item required by the compiling process from the script file according to the current environment of the front-end development project and the project parameters.
6. The project development method of claim 5, further comprising:
and analyzing the dependent item by using the script file to obtain the dependent program of the front-end development project.
7. The project development method of claim 6, wherein compiling a front-end development project according to the packaging tool and dependent items to obtain a deployable file corresponding to the front-end development project comprises:
compressing the resource files included in the front-end development project by using Webpack and the dependency program; wherein the resource files include, but are not limited to, picture files and font files;
presetting the code files included in the front-end development project by using the 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, obfuscating, code inlining and batch replacing;
generating a lightweight compressed file according to the compressed resource file and the processed code file;
and performing code specification and health detection on the lightweight compressed file by using a Webpack packaging tool to obtain a deployable file corresponding to the front-end development project.
8. The project development method of any of claims 1-7, characterized in that said pre-deployed script files are deployed in a copied and/or distributed manner by NPM components.
9. A project development apparatus, comprising:
the command analysis module is used for receiving a current terminal command line command corresponding to a front-end development project and analyzing the current terminal command line command 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 a target command included in the current terminal command line instruction from the front-end development project by using the script file;
the loading module is used for loading a packaging tool required by the front-end development project in the compiling and constructing process and a dependent 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 dependent item to obtain a deployable file corresponding to the front-end development project.
10. A computer-readable storage medium on which a computer program is stored, the computer program, when being executed by a processor, implementing the project development method of any one of claims 1 to 8.
11. 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 of claims 1-8 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 device Pending CN112685035A (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Publications (1)

Publication Number Publication Date
CN112685035A true CN112685035A (en) 2021-04-20

Family

ID=75453291

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN112685035A (en)

Cited By (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
CN113656000A (en) * 2021-08-11 2021-11-16 北京达佳互联信息技术有限公司 Webpage processing method and device
CN113760356A (en) * 2021-09-10 2021-12-07 北京百度网讯科技有限公司 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 (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070174814A1 (en) * 2006-01-11 2007-07-26 Bea Systems, Inc. System and method for build script generation in a software development environment
WO2014183447A1 (en) * 2013-05-14 2014-11-20 Tencent Technology (Shenzhen) Company Limited Method, system and sever for downloading installation package
US20150149978A1 (en) * 2013-11-27 2015-05-28 Electronics And Telecommunications Research Institute Method of providing embedded software development tool for supporting embedded software development environment based on native building, and apparatus thereof
US20160253625A1 (en) * 2015-02-26 2016-09-01 Red Hat, Inc. Employing Dependency Graph in Software Build Projects
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
US20180081661A1 (en) * 2016-09-16 2018-03-22 Microsoft Technology Licensing, Llc Optimization for Multi-Project Package Manager
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
US20200264848A1 (en) * 2019-02-14 2020-08-20 International Business Machines Corporation Single page application continuous integration, build, and deployment
CN111897520A (en) * 2020-07-31 2020-11-06 平安科技(深圳)有限公司 Front-end project framework construction method and device, computer equipment and storage medium

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070174814A1 (en) * 2006-01-11 2007-07-26 Bea Systems, Inc. System and method for build script generation in a software development environment
WO2014183447A1 (en) * 2013-05-14 2014-11-20 Tencent Technology (Shenzhen) Company Limited Method, system and sever for downloading installation package
US20150149978A1 (en) * 2013-11-27 2015-05-28 Electronics And Telecommunications Research Institute Method of providing embedded software development tool for supporting embedded software development environment based on native building, and apparatus thereof
US20160253625A1 (en) * 2015-02-26 2016-09-01 Red Hat, Inc. Employing Dependency Graph in Software Build Projects
CN108304184A (en) * 2016-08-09 2018-07-20 上海思立微电子科技有限公司 Compilation Method and device
US20180081661A1 (en) * 2016-09-16 2018-03-22 Microsoft Technology Licensing, Llc Optimization for Multi-Project Package Manager
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
US20200264848A1 (en) * 2019-02-14 2020-08-20 International Business Machines Corporation Single page application continuous integration, build, and deployment
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

Cited By (10)

* 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
CN113656000A (en) * 2021-08-11 2021-11-16 北京达佳互联信息技术有限公司 Webpage processing method and device
CN113656000B (en) * 2021-08-11 2024-01-09 北京达佳互联信息技术有限公司 Webpage processing method and device
CN113760356A (en) * 2021-09-10 2021-12-07 北京百度网讯科技有限公司 Differential configuration method, device, equipment and medium of program product
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

Similar Documents

Publication Publication Date Title
CN112685035A (en) Project development method and device, computer-readable storage medium and electronic device
CN106843869B (en) Front-end development engineering system and method
US8621419B2 (en) Automating the life cycle of a distributed computing application
CN105022630B (en) A kind of assembly management system and assembly management method
US20130263088A1 (en) Dynamic plugin(s) for cloud application(s)
JP5396979B2 (en) Software development support device, system, software development support device function expansion method, and program
CN111740948B (en) Data packet issuing method, dynamic updating method, device, equipment and medium
CN110895471A (en) Installation package generation method, device, medium and electronic equipment
CN112114890A (en) Method, device and equipment for processing small program and storage medium
KR20150061203A (en) Method for providing embedded software development tools for supporting embedded software development environment based on native building and apparatus thereof
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
CN113312046A (en) Sub-application page processing method and device and computer equipment
CN114217789A (en) Function component expansion method, device, equipment, storage medium and program product
CN108287720B (en) Software compiling method, device, equipment and storage medium
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
CN110806891A (en) Method and device for generating software version of embedded equipment
WO2022019784A1 (en) Assigning computing resources to execution of evaluators for image animation
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
CN111880775A (en) Multi-module layered architecture implementation method and device, electronic equipment and storage medium
WO2024000917A1 (en) Non-intrusive, pluggable front-end build transfer acceleration method and apparatus

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
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