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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM

Abstract
Description
Claims
Application Information

- R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com