Front-end page generation method and device, storage medium and computer device

A front-end page and page technology, applied in computing, software engineering design, instruments, etc., can solve problems such as difficult maintenance and improvement of front-end code

Pending Publication Date: 2019-06-07
ONE CONNECT SMART TECH CO LTD SHENZHEN
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the present invention provides a method and device for generating a front-end page, the main

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
  • Front-end page generation method and device, storage medium and computer device
  • Front-end page generation method and device, storage medium and computer device
  • Front-end page generation method and device, storage medium and computer device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0030] The embodiment of the present invention provides a method for generating a front-end page, such as figure 1 As shown, the method includes:

[0031] 101. Divide the target front-end page into at least one component according to the page function, and name the component at the same time.

[0032] The target front-end page may include product information, company profile, search bar, news list, advertisement, weather informati...

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 front-end page generation method and device, a storage medium and a computer device, relates to the technical field of webpage development, and aims to solve the problem thata front-end code is difficult to maintain and improve. The method mainly comprises: segmenting a target front-end page into at least one component according to the page function, meanwhile, the components are named, and the component names of the components are different; creating a first file in a tpl format and a second file in a js format for each component, wherein the file names of the firstfile and the second file are component names of the components; Writing the HTML code of the compiled component into the first file, and writing the JS code of the compiled component into the secondfile; according to the HTML code and the JS code, the component code of each component is integrated; and generating a target front-end page according to the component code of the at least one component. The method adopted by the invention is mainly applied to the development and maintenance process of the front-end page.

Description

technical field [0001] The invention relates to the technical field of webpage development, in particular to a method, device, storage medium and computer equipment for generating a front-end page. Background technique [0002] The front-end page refers to the Web front-end page, which evolved from web page production. With the development of Internet technology and the application of HTML5 and CSS3, modern web pages include not only static pictures and text, but also dynamic interactive screens, which are more beautiful , the function is more powerful. [0003] In the prior art, editing front-end pages uses HTML content embedded into JS logic, which makes HTML-related page styles very difficult to debug. At the same time, when the component logic is complex, JS and HTML are mixed together, making it difficult to maintain and improve the code. Contents of the invention [0004] In view of this, the present invention provides a method and device for generating a front-end ...

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
IPC IPC(8): G06F8/38
Inventor 崔航
Owner ONE CONNECT SMART TECH CO LTD SHENZHEN
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