Method, device and equipment for rendering web pages based on yaml language

A page and language technology, applied in the field of information processing, can solve the problems of low maintenance and reuse rate, increased communication costs, limited flexibility, etc., to achieve the effect of easy maintenance, low use threshold, and flexible collocation

Active Publication Date: 2022-02-25
北京优锘科技股份有限公司
View PDF12 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In actual business, Web page development and page content providers are different groups, which increases communication costs, and the strong coupling between content and pages leads to low maintenance and reuse rates
[0003] At present, there is also a method of using templates and content to render web pages, which achieves the loose coupling of content and web page production, but there is still limited flexibility, requiring business users to quickly complete the production and maintenance of web pages, and the maintenance cost is high.

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
  • Method, device and equipment for rendering web pages based on yaml language
  • Method, device and equipment for rendering web pages based on yaml language

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.

[0041] Such as figure 1 A method for rendering a Web page based on YAML language described in the embodiment of the present invention includes the following steps:

[0042] 110. Represent the Web component in the form of a data structure, generate a Web component template corresponding to the Web component according to the data structure and the NodeJS class, and determine a grid layout scheme of the Web component template in the Web page.

[0043] 120. A...

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 present invention relates to a method for rendering Web pages based on YAML language, which includes representing Web components in the form of data structures, generating Web component templates corresponding to the Web components according to the data structures and NodeJS classes, and determining the Web components The grid layout scheme of the component template in the Web page; obtain the configuration file template of the Web page to be generated, and configure the grid layout scheme of the Web page to be generated according to the configuration file template, and associate the grid layout scheme The Web component template generates the configuration file of the Web page to be generated; reads the configuration file of the Web page to be generated, and displays the Web page. The invention is convenient for ordinary non-professional users to quickly complete the production and maintenance of Web pages. This method will achieve high reuse, flexibility, and lower maintenance costs than the traditional Web page development method. The invention also relates to a device and equipment for rendering Web pages based on YAML language.

Description

technical field [0001] The present invention relates to the technical field of information processing, in particular to a method, device and equipment for rendering Web pages based on YAML language. Background technique [0002] In actual business, Web page development and page content providers are different groups, which increases communication costs, and the strong coupling between content and pages leads to low maintenance and reuse rates. [0003] At present, there is also a method of using templates and content to render web pages, which achieves loose coupling between content and web page production, but still has limited flexibility, requires business users to quickly complete web page production and maintenance, and maintains high maintenance costs. Contents of the invention [0004] The technical problem to be solved by the present invention is to provide a method, device and equipment for rendering Web pages based on YAML language in view of the deficiencies in ...

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 Patents(China)
IPC IPC(8): G06F16/958G06F16/955
CPCG06F16/958G06F16/9566
Inventor 李忠
Owner 北京优锘科技股份有限公司
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