Movatterモバイル変換


[0]ホーム

URL:


CN103577536A - System and method for generating and improving template website - Google Patents

System and method for generating and improving template website
Download PDF

Info

Publication number
CN103577536A
CN103577536ACN201310396743.0ACN201310396743ACN103577536ACN 103577536 ACN103577536 ACN 103577536ACN 201310396743 ACN201310396743 ACN 201310396743ACN 103577536 ACN103577536 ACN 103577536A
Authority
CN
China
Prior art keywords
label
template
page
network station
generates
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201310396743.0A
Other languages
Chinese (zh)
Inventor
陈炽昌
陈曦
钟琼阁
林叶明
陈倩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
GUANGDONG QTONE EDUCATION CO Ltd
Original Assignee
GUANGDONG QTONE EDUCATION CO Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by GUANGDONG QTONE EDUCATION CO LtdfiledCriticalGUANGDONG QTONE EDUCATION CO Ltd
Priority to CN201310396743.0ApriorityCriticalpatent/CN103577536A/en
Publication of CN103577536ApublicationCriticalpatent/CN103577536A/en
Pendinglegal-statusCriticalCurrent

Links

Images

Classifications

Landscapes

Abstract

The invention discloses a system and a method for generating and improving a template website, wherein the method comprises the steps of firstly acquiring a webpage template from a template configuration file according to a user command to generate a corresponding html page; then acquiring the code of the webpage template and establishing a label in the code, wherein the label is used for accessing a database view; when the html page calls the label, determining label parameters according to the user command and obtaining a data filling page. Compared with the prior art, the method for generating and improving the template website has the advantages of flexibility, simplicity and the like, can be used for calling any data and can deal with flexible and versatile display demands; the simple parameters are given to the label, then the label can be instantly used, and the operations that a complex XML (extensive markup language) file needs to be configured and the like, of other inventions are not needed.

Description

A kind of template network station generates improved system and method
Technical field
The present invention relates to generation technique field, website, relate in particular to a kind of template network station and generate improved system and method.
Background technology
Template website, therefore named think of meaning is exactly to be that framework is applied mechanically with the website being shaped, some information of website can be set on backstage, this website is changed over to the site information oneself needing, the website self-building providing to number of site the most exactly and our well-known blog, all can be described as template website, the website that also has some companies that own company has been designed is in addition carried out some modifications and is applied mechanically as revised style again, the information such as web site name, but roughly the code of form and the inside is not changed, this website also can be called masterplate website.They save time exactly at the feature of maximum, laborsaving, simple to operate.
Current have a large amount of template network station generation system or an instrument, and many cover web page templates are provided, and user only needs padding data, need not pay close attention to page layout.These template type generation methods, focus is how to generate, calls template, and to using the data stuffing after template to pay close attention to less.
For the data stuffing using after template, existing template network station employing mode differs: the content of fixedly writing dead filling having (for example the company introduction page can only show a company introduction), have plenty of and can only specify some content (for example the product page can only call product data, cannot use news data), some needs carry out a large amount of XML configurations just can call the content needing.
In view of this, prior art haves much room for improvement and improves.
Summary of the invention
In view of deficiency of the prior art, the object of the invention is to provide a kind of template network station to generate improved system and method.Be intended to solve template network station in prior art and use the problems such as the fill substance existing in the data stuffing technology after template is single, calling data is dumb.
Technical scheme of the present invention is as follows:
A kind of template network station generates and improves one's methods, and wherein, said method comprising the steps of:
A, according to user instruction, from described template configuration file, obtain web page template, generate the corresponding html page;
B, obtain the coding of web page template, set up a label in described coding, described label is for accessing database view;
C, when described in html page invocation during label, according to user instruction, determine the parameter of described label, obtain the data stuffing page.
Described template network station generates and improves one's methods, and wherein, label described in described step B is provided with the input item for user's input, and described input item comprises view name, records number and querying condition.
Described template network station generates and improves one's methods, and wherein, in described step C, described in html page invocation, label adopts freemarker mechanism to call.
Generate an improved system, wherein, comprising:
Page generation unit, for obtaining web page template according to user instruction from described template configuration file, generates the corresponding html page;
Label is set up unit, for obtaining the coding of web page template, sets up a label in described coding, and described label is for accessing database view;
Data stuffing unit, for when described in html page invocation during label, determines the parameter of described label according to user instruction, obtain the data stuffing page.
Described template network station generates improved system, and wherein, described label is set up label described in unit and is provided with the input item for user's input, and described input item comprises view name, records number and querying condition.
Described template network station generates improved system, and wherein, in described data stuffing unit, described in html page invocation, label adopts freemarker mechanism to call.
Beneficial effect:
Template network station of the present invention generates improved system and method, and than prior art, tool has the following advantages:
(1) flexible, can call arbitrary data, can tackle flexible and changeable demonstration demand;
(2) simple, to label, give simple parameter and can apply, unlike other invention, to configure complicated XML file etc.
Accompanying drawing explanation
Fig. 1 is that template network station of the present invention generates the process flow diagram of improving one's methods.
Fig. 2 is the schematic diagram when the html page that template network station of the present invention generates the middle embodiment that improves one's methods.
Fig. 3 is the structured flowchart that template network station of the present invention generates improved system.
Fig. 4 is the schematic diagram that template network station of the present invention generates display page in the embodiment bis-that improves one's methods.
Embodiment
The invention provides a kind of board-like website and generate improved system and method, for making object of the present invention, technical scheme and effect clearer, clear and definite, below the present invention is described in more detail.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
Refer to Fig. 1, the process flow diagram that it is improved one's methods for board-like website generation of the present invention.As shown in the figure, said method comprising the steps of:
S1, according to user instruction, from described template configuration file, obtain web page template, generate the corresponding html page;
S2, obtain the coding of web page template, set up a label in described coding, described label is for accessing database view;
S3, when described in html page invocation during label, according to user instruction, determine the parameter of described label, obtain the data stuffing page.
For above-mentioned steps, be described in detail respectively below:
Described step S1, for to obtain web page template from described template configuration file according to user instruction, generates the corresponding html page.Specifically, according to user instruction, from many covers web page template that template network station generation system or instrument provide, select needed web page template, generate the corresponding html page.This technology is identical with existing template type webpage generating method, has just seldom described here.
Described step S2 is the coding that obtains web page template, sets up a label in described coding, and described label is for accessing database view.Wherein, described data base view is a kind of conversion of raw data database data, is another mode of checking data in table.View can be regarded as to the window of a movement, by it, can see interested data.View obtains from one or more actual tables, and the deposit data of these tables is in database.Those tables for generation of view are called the base table of this view.A view also can produce from another view.The object of tag access is data base view, and the data that can only show needs generate view (for example only news being generated to view), and how label is used and all cannot access the not data of configuration view like this.In addition, wherein, label described in described step S2 is provided with the input item for user input, and described input item comprises view name, recording that number and querying condition etc. are multiple can input item.
Described step S3, for when described in html page invocation during label, determines the parameter of described label according to user instruction, obtain the data stuffing page.Specifically, in label, can specify view, the Call Condition that will call, to greatest extent the self-defined data that need demonstration.
How below by a concrete example, illustrate that template network station generates to improve one's methods realizes.
Embodiment mono-
Refer to Fig. 2, the lower right corner of the html page shown in Fig. 2 shows that " contacting us " only need to, at corresponding template position use label (showing in as following table black box), can recall the data of appointment:
Embodiment bis-
If think to apply more flexibly, for example want to call " front four headline are 333 news ", can carry out as follows:
First, use news view news; Then, limit the number 4, finally set restrictive condition for " title is 333 ",
<taq.list?name="newsrows"tarqet="news"orderBy="id?desc"type
=?"${newsTypeId}"scci="1"pageMax="4">title=333</taq.list>
Can obtain corresponding display page (being the data stuffing page) as shown in Figure 4;
Further, in the present embodiment, in described step S3, described in html page invocation, label adopts freemarker mechanism to call.Wherein, FreeMarker is a template engine of writing with Java language, and it becomes text output next life based on template.FreeMarker and Web container are irrelevant, and, when Web moves, it does not also know Servlet or HTTP.It not only can be used as the technology that realizes of presentation layer, but also can be for generating XML, JSP or Java etc.
The present invention also provides a kind of template network station to generate improved system, as shown in Figure 3, comprising:
Page generation unit 100, for obtaining web page template according to user instruction from described template configuration file, generates the corresponding html page;
Label is set upunit 200, for obtaining the coding of web page template, sets up a label in described coding, and described label is for accessing database view;
Data stuffing unit 300, for when described in html page invocation during label, determines the parameter of described label according to user instruction, obtain the data stuffing page.
Further, described template network station generates in improved system, and described label is set up label described in unit and is provided with the input item for user's input, and described input item comprises view name, records number and querying condition.
Further, described template network station generates in improved system, and in described data stuffing unit, described in html page invocation, label adopts freemarker mechanism to call.
The function of above-mentioned various piece is all described in detail in said method, here superfluous having stated no longer just.
In sum, template network station of the present invention generates improved system and method, and wherein, described method comprises: first, according to user instruction, from described template configuration file, obtain web page template, generate the corresponding html page; Then, obtain the coding of web page template, set up a label in described coding, described label is for accessing database view; When described in html page invocation during label, according to user instruction, determine the parameter of described label, obtain the data stuffing page.Than prior art, there is the advantages such as flexible, simple, can call arbitrary data, can tackle flexible and changeable demonstration demand; And to label, give simple parameter and can apply, unlike other invention, will configure complicated XML file etc.
Should be understood that, application of the present invention is not limited to above-mentioned giving an example, and for those of ordinary skills, can be improved according to the above description or convert, and all these improvement and conversion all should belong to the protection domain of claims of the present invention.

Claims (6)

CN201310396743.0A2013-09-042013-09-04System and method for generating and improving template websitePendingCN103577536A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201310396743.0ACN103577536A (en)2013-09-042013-09-04System and method for generating and improving template website

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201310396743.0ACN103577536A (en)2013-09-042013-09-04System and method for generating and improving template website

Publications (1)

Publication NumberPublication Date
CN103577536Atrue CN103577536A (en)2014-02-12

Family

ID=50049312

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201310396743.0APendingCN103577536A (en)2013-09-042013-09-04System and method for generating and improving template website

Country Status (1)

CountryLink
CN (1)CN103577536A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103838576A (en)*2014-02-252014-06-04杨红俊Website establishing method and device
CN104331295A (en)*2014-11-052015-02-04北京中科辅龙信息技术有限公司Page generation method and system
CN105022654A (en)*2015-06-302015-11-04广州西维尔计算机系统有限公司Production method and device of visual page
CN105426507A (en)*2015-11-302016-03-23用友优普信息技术有限公司Display method and display device of online mart
CN105912613A (en)*2016-04-062016-08-31江苏中威科技软件系统有限公司Website template quick migration method
CN106021394A (en)*2016-05-122016-10-12福建南威软件有限公司Website construction method and apparatus
CN109165016A (en)*2018-08-292019-01-08郑州悉知信息科技股份有限公司Webpage construction method and device
CN110427587A (en)*2019-07-302019-11-08广州怡禄电讯科技有限公司A kind of implementation method based on network system customizing form
CN110895463A (en)*2018-09-132020-03-20百度在线网络技术(北京)有限公司Label processing method, device, equipment and computer readable storage medium
CN111709506A (en)*2020-06-122020-09-25北京思特奇信息技术股份有限公司Customized label generation method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101609399A (en)*2008-06-202009-12-23鸿富锦精密工业(深圳)有限公司 Modeling-based intelligent website development system and method
US20120203651A1 (en)*2011-02-042012-08-09Nathan LeggattMethod and system for collaborative or crowdsourced tagging of images
CN102662993A (en)*2012-03-142012-09-12北京神州数码思特奇信息技术股份有限公司A method for providing page data
CN103051684A (en)*2012-12-072013-04-17百度在线网络技术(北京)有限公司Method, system and device for converting website into Web App for displaying

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101609399A (en)*2008-06-202009-12-23鸿富锦精密工业(深圳)有限公司 Modeling-based intelligent website development system and method
US20120203651A1 (en)*2011-02-042012-08-09Nathan LeggattMethod and system for collaborative or crowdsourced tagging of images
CN102662993A (en)*2012-03-142012-09-12北京神州数码思特奇信息技术股份有限公司A method for providing page data
CN103051684A (en)*2012-12-072013-04-17百度在线网络技术(北京)有限公司Method, system and device for converting website into Web App for displaying

Cited By (10)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103838576A (en)*2014-02-252014-06-04杨红俊Website establishing method and device
CN104331295A (en)*2014-11-052015-02-04北京中科辅龙信息技术有限公司Page generation method and system
CN105022654A (en)*2015-06-302015-11-04广州西维尔计算机系统有限公司Production method and device of visual page
CN105426507A (en)*2015-11-302016-03-23用友优普信息技术有限公司Display method and display device of online mart
CN105912613A (en)*2016-04-062016-08-31江苏中威科技软件系统有限公司Website template quick migration method
CN106021394A (en)*2016-05-122016-10-12福建南威软件有限公司Website construction method and apparatus
CN109165016A (en)*2018-08-292019-01-08郑州悉知信息科技股份有限公司Webpage construction method and device
CN110895463A (en)*2018-09-132020-03-20百度在线网络技术(北京)有限公司Label processing method, device, equipment and computer readable storage medium
CN110427587A (en)*2019-07-302019-11-08广州怡禄电讯科技有限公司A kind of implementation method based on network system customizing form
CN111709506A (en)*2020-06-122020-09-25北京思特奇信息技术股份有限公司Customized label generation method and system

Similar Documents

PublicationPublication DateTitle
CN103577536A (en)System and method for generating and improving template website
CN104461484B (en)The implementation method and device of front-end template
US9367539B2 (en)Techniques for automated document translation
CN101826085B (en)AJAX-based method for importing/exporting large file into/from web page on line
CN101122921B (en)Method forming tree-shaped display structure based on ajax and html
CN107957911B (en)Method and apparatus, the method and apparatus of module data processing of component call
CN110347953A (en)Page generation method, device, computer equipment and storage medium
CN107169007B (en)Display interface setting method and device of mobile terminal
CN104951996A (en)Power distribution network operation monitoring method based on scalable vector graphics
CN102163233A (en)Method and system for converting webpage markup language format
CN103092890A (en)System and method for automatic generation and sending of reports
CN114168853A (en) A data visualization display method, device, medium and electronic device
CN106372175A (en)Method, device and server for processing report forms
CN104657419A (en)Processing method and system for customized letter paper templates
CN110442343A (en)A kind of conversion of page method and conversion of page device
CN107122398A (en)A kind of data display chart generation method and system
CN110347984A (en)Declaration form page variation, device, computer equipment and storage medium
KR101021486B1 (en) Web-based interactive nuclear or thermal power plant operating procedure system
CN102253986A (en)Method and device for improving webpage displaying effect in multiple terminals
CN109460227A (en)A kind of development approach of Website front-end, device, equipment and medium
CN111401023B (en)Report generation method, report generation device, server and storage medium
CN108572817B (en)Method, apparatus and medium for dynamic resource configuration based on business modeling
RoslingVisual technology unveils the beauty of statistics and swaps policy from dissemination to access
CN111859886B (en)Document generation method and device based on product prototype interface
CN108984156A (en)A kind of software auto generating method and system for exempting from code development based on template

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication
RJ01Rejection of invention patent application after publication

Application publication date:20140212


[8]ページ先頭

©2009-2025 Movatter.jp