Supercharge Your Innovation With Domain-Expert AI Agents!

Page display method and device, source code file compiling method and device, equipment and medium

A source code file and page file technology, applied in code compilation, program control device, program code conversion, etc., can solve the problems of cumbersome operation, large page size, and high developer requirements, so as to reduce operation steps, reduce code volume, and streamline The effect of page code

Pending Publication Date: 2022-02-08
苏州紫焰网络科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, development requires the installation of scaffolding tools such as node npm, and requires a series of configurations, packaging, and compilation to generate the final front-end page that can be displayed in the browser. For developers, the operation is cumbersome and difficult to implement. Higher, higher requirements for developers
In addition, due to the large amount of library function code used by the above-mentioned framework, even if the above-mentioned framework is used to develop a small page (typically, H5 page), the final packaged page will be very large in size. Propagation will bring a lot of redundant waste

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
  • Page display method and device, source code file compiling method and device, equipment and medium
  • Page display method and device, source code file compiling method and device, equipment and medium
  • Page display method and device, source code file compiling method and device, equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0039] figure 1 It is a flow chart of a browser display method for a front-end page provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation where the page source code file written by the programmer using the grammar rules of the preset front-end programming framework is directly displayed in the browser. The method of this embodiment can be executed by the browser display device of the front-end page, the device can be realized by means of software and / or hardware, and the device can be configured in a browser installed in a server or a terminal device.

[0040] Correspondingly, the method specifically includes the following steps:

[0041] S110. Obtain a page file matching the target page to be displayed, where the page file includes: a compiled plug-in and a page source code file.

[0042] Wherein, the page file includes all content for generating a target page that can be directly displayed in the browser, and the page file includ...

Embodiment 2

[0082] figure 2 It is a flow chart of a method for compiling a source code file provided by Embodiment 2 of the present invention. This embodiment is applicable to the situation where the page source code file written by the programmer using the grammar rules of the preset front-end programming framework is directly displayed in the browser. The method of this embodiment can be executed by a source code file compiling device, which can be realized by software and / or hardware, and generally can be configured in a compiling plug-in in a page file. Correspondingly, the embodiments of the present invention may specifically include:

[0083] S210. When triggered and called by the browser, compile the page source code file in the page file to form a page compilation result matching the page source code file.

[0084] Wherein, the browser is used to obtain a page file matching the target page to be displayed, and the page file includes: a compiled plug-in and a page source code fi...

Embodiment 3

[0094] image 3 It is a schematic structural diagram of a browser display device for a front-end page provided in Embodiment 3 of the present invention. The device for generating a front-end page provided in this embodiment can be implemented by software and / or hardware, and can be configured on a device installed with a browser A browser display method for a front-end page in an embodiment of the present invention is implemented in a computer device of a browser. Such as image 3 As shown, the device may specifically include: a page file obtaining module 310, a compiling plug-in calling module 320, and a page compiling result loading module 330, wherein:

[0095] A page file acquisition module 310, configured to acquire a page file matching the target page to be displayed, the page file including: compiling plug-ins and page source code files;

[0096] Compile plug-in calling module 320, configured to call the compile plug-in to compile the page source file to form a page c...

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 embodiment of the invention discloses a browser display method and device of a front-end page, a compiling method and device of a source code file, computer equipment and a storage medium. The browser display method for the front-end page comprises steps that a page file matched with a to-be-displayed target page is obtained, and the page file comprises a compiling plug-in and a page source code file; the compiling plug-in is called to compile the page source code file to form a page compiling result matched with the page source code file; and the page compiling result is loaded so as to display the target page in the browser. According to the method, a problem that the displayable page compiling result can be generated only through tedious subsequent operation after the page compiling file is generated in the prior art is solved, and working complexity of developers is reduced.

Description

technical field [0001] Embodiments of the present invention relate to computer data processing technology, and in particular to a browser display of front-end pages, a compiling method, device, computer equipment and storage medium of source code files. Background technique [0002] The development of front-end pages is the process of creating Web (World Wide Web, global wide area network) pages or APP (application, mobile phone software) and other front-end interfaces to present to users, through HTML (Hyper Text Markup Language, Hypertext Markup Language), CSS (Cascading Style Sheets, Cascading Style Sheets) and JavaScript and various derived technologies, frameworks, and solutions to realize user interface interaction of Internet products. The development of front-end pages evolved from web page production, and the name has obvious characteristics of the times. In the evolution of the Internet, web page production is a product of the Web 1.0 era. The main content of earl...

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): G06F16/958G06F9/445G06F8/41
CPCG06F16/958G06F8/42G06F9/44526
Inventor 吴林王嘉宋大伟
Owner 苏州紫焰网络科技有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More