Method and device for generating webpage based on webpage template

A webpage template and a technology for generating webpages, applied in the Internet field, can solve problems such as errors, reduced webpage development efficiency, inability to fix language environment adaptation, etc., and achieve the effect of reducing burden and pressure

Active Publication Date: 2015-11-25
BEIJING QIHOO TECH CO LTD
View PDF6 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In the prior art, in order to quickly generate a large number of web pages, web page templates are generally used to generate web pages. However, existing web page templates only allow template designers to use a fixed programming language and a fixed language environment for template design, for example, A certain web template only allows template designers to use the Java language for template design. Howev

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 and device for generating webpage based on webpage template
  • Method and device for generating webpage based on webpage template
  • Method and device for generating webpage based on webpage template

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] 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.

[0022] In the present invention, the web page template includes a basic template and at least one sub-template. The basic template is used to define the basic framework of the webpage, for example, the webpage is composed of several modules, etc.; the sub-template can define the webpage content, webpage style, actions on the webpage, etc., which can be specifically reflected in the content of each module. figure 1 A schematic diagr...

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 method and device for generating a webpage based on a webpage template. The webpage template comprises a foundation template and one or more subtemplates. The method comprises the steps that a head parameter of one of the subtemplates is obtained, and the head parameter comprises language environment tagging parameters used for tagging one or more language environments; according to the language environment tagging parameters, the corresponding language environments are matched, and environment parameters and rendering components which accord with the language environment requirements are obtained; the webpage template is obtained by inserting the subtemplates into the foundation template, and value assignment is conducted on the environment parameters of the subtemplates; the webpage template is run so that the webpage can be formed. According to the method and device for generating the webpage based on the webpage template, the language environments are matched according to programming languages, a designer can design the webpage template according to the mastered programming languages, and the defect that in the prior art, due to the fact that a fixed language can be used for design and matching of the language environments cannot be conducted automatically when other languages are used for the design, an error occurs is overcome.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a method and device for generating a webpage based on a webpage template. Background technique [0002] In the prior art, in order to quickly generate a large number of web pages, web page templates are generally used to generate web pages. However, existing web page templates only allow template designers to use a fixed programming language and a fixed language environment for template design, for example, A certain web template only allows template designers to use the Java language for template design. However, not all template designers are proficient in this language. Maybe some template designers have mastered the PHP language, and some template designers have mastered the JavaScript language. However, these two programming languages ​​cannot adapt to the fixed language environment required by the web page template, so errors occur, web pages cannot be generated, and t...

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): G06F17/30
CPCG06F16/9566G06F16/972
Inventor 赵剑锋
Owner BEIJING QIHOO 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