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
Patent Information
- Authority / Receiving Office
- CN · China
- Current Assignee / Owner
- Publication Date
- 2015-11-25
Smart Images
Figure 1 Figure 2 Figure 3
Abstract
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...
Examples
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...