Web Service front end deployment method, storage medium, electronic equipment and system

A document and binary code technology, applied in the field of web application development, can solve inconvenience and other problems, and achieve the effect of convenient compilation

Inactive Publication Date: 2019-04-19
WUHAN FIBERHOME INFORMATION INTEGRATION TECH CO LTD
View PDF4 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In this method, there are many code files (front-end static documents, server-side script files), and the server-side code program depends on the language environment (for example, the Node.js program depends on the Node.js environment), so the Web application deployment in this mode , need to deploy multiple front-end static documents and multiple server-side script files, and also need to install server-side programs to depend on the environment, which is very inconvenient

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Web Service front end deployment method, storage medium, electronic equipment and system
  • Web Service front end deployment method, storage medium, electronic equipment and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0040] An embodiment of the present invention provides a Web Service front-end deployment method, which includes:

[0041] S1: Obtain a static document, and compile the static document into a binary code of a preset programming language, and the preset programming language is used to convert its own source code into an executable file of a network platform.

[0042] A static document is a document with fixed content that is created by and stored on a World Wide Web server. When the client utilizes the browser to access the document in the World Wide Web server, a copy of the document is sent to the client, and the client can use the browser to display the document. Of course, the content of the document in the server can be modified, but the client cannot modify it.

[0043] In the prior art, the static module packager based on Node.js, that is, its plug-in, is often used to compile, swim in the lake, package the static documents of the front-end source code (React, Vue, Angu...

Embodiment 2

[0060] Such as figure 2 As shown, the present invention provides a Web Service front-end deployment system, which is characterized in that it includes:

[0061] compiling module 1, configured to obtain all static documents, and compile all the static documents into binary codes of a preset programming language;

[0062] Writing module 2, for writing a code document that provides Webservice for the binary code in the preset programming language;

[0063] The synthesis module 3 is used to compile the code document and binary code into an executable file corresponding to the network platform system through a preset programming language, and deploy the executable file to the network platform.

[0064] Various changes and specific examples in the foregoing method embodiments are also applicable to the system of this embodiment. Through the detailed description of the foregoing method, those skilled in the art can clearly know the implementation method of the system in this embodi...

Embodiment 3

[0067] The third embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored. When the program is executed by a processor, a Web Service front-end deployment method as provided in any embodiment of the present invention is implemented. The method includes :

[0068] Obtain static documents, and compile the static documents into binary codes of a preset programming language, and the preset programming language is used to convert its own source code into an executable file of the network platform;

[0069] Using the preset programming language, write a code document that cooperates with the binary code to provide Web service;

[0070] The code document and the binary code are compiled into an executable file corresponding to the network platform system through a preset programming language, and the executable file is deployed to the network platform.

[0071] The computer storage medium in the embodiments of the present...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a Web Service front end deployment method. A storage medium, an electronic device and a system relate to the technical field of web application development, and the method comprises the steps of obtaining a static document, and compiling the static document into a binary code of a preset programming language, wherein the preset programming language is used for converting asource code of the preset programming language into an executable file of a network platform. And compiling a code document which is matched with the binary code to provide Web service in the preset programming language. And compiling the code document and the binary code into an executable file corresponding to the network platform system through a preset programming language, and deploying the executable file to the network platform. Configuration and deployment of the network platform can be simplified, and environmental dependence and resource consumption are reduced.

Description

technical field [0001] The present invention relates to the technical field of web application development, in particular to a Web Service front-end deployment method, a storage medium, electronic equipment and a system. Background technique [0002] In the current web development field, in order to ensure the smoothness of the front-end interactive system, the mainstream network technology architecture usually adopts the method of separating the front-end and back-end for development and maintenance. The front-end and back-end need to develop, deploy, and maintain a mutually coordinated code. Client-server interaction between front and back ends via JSON. In this application mode, the front-end and back-end codes need to be deployed separately, but the front-end and back-end codes contain multiple files in total, which is cumbersome in application maintenance and cross-platform migration. At the same time, too many documents are prone to errors during migration . [0003]...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/71G06F8/41G06F8/52
CPCG06F8/447G06F8/52G06F8/71
Inventor 周乐延田松熊谆
Owner WUHAN FIBERHOME INFORMATION INTEGRATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products