CN102375889A - Method for constructing webpage through webpage construction database - Google Patents

Method for constructing webpage through webpage construction database Download PDF

Info

Publication number
CN102375889A
CN102375889A CN2011103390424A CN201110339042A CN102375889A CN 102375889 A CN102375889 A CN 102375889A CN 2011103390424 A CN2011103390424 A CN 2011103390424A CN 201110339042 A CN201110339042 A CN 201110339042A CN 102375889 A CN102375889 A CN 102375889A
Authority
CN
China
Prior art keywords
webpage
database
layout
module
definition
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
CN2011103390424A
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.)
SHENZHEN XINYOU WORLD NETWORK CO Ltd
Original Assignee
SHENZHEN XINYOU WORLD NETWORK 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 SHENZHEN XINYOU WORLD NETWORK CO Ltd filed Critical SHENZHEN XINYOU WORLD NETWORK CO Ltd
Priority to CN2011103390424A priority Critical patent/CN102375889A/en
Publication of CN102375889A publication Critical patent/CN102375889A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method for constructing a webpage through a webpage construction database. Contents used by constructing the webpage form standards, and the standards are used as unified codes to be stored in the database. The method for constructing the webpage specifically comprises the steps of: constructing layout of the webpage, connecting the webpage construction database and quoting definitions of the webpage construction database, displaying the selected definitions on the webpage and the like. The contents used by constructing the webpage form the standards, and the standards are used as unified codes to be stored in the database, so that the unified codes are read at any time when the webpage is constructed, meanwhile, the codes are unified so as to be convenient for edition and maintenance of the webpage; and the standardized codes ensure that the webpage is rapidly and conveniently constructed without editing the codes for each content, thus the workload of constructing the webpage is greatly reduced, and the efficiency of constructing the webpage is increased.

Description

A kind of method that makes up database structure webpage through webpage
Technical field
The present invention relates to the method for making of webpage, the generation of the webpage of saying so exactly and method for making, this method can make up webpage fast and efficiently.
Background technology
Webpage making usually needs to make up earlier the layout of webpage, design framework again, and contents such as list, frame are carried out the editor of literal and picture then.In this process, need the programmer to write code, art designing's adjustment; If relate to large-scale portal website, homepage just has more than four or five screens, and the workload of writing code is very big; But also relate to plurality of kinds of contents such as secondary channel page or leaf, information page, if a programmer writes code, then workload is well imagined; Generally can adopt the mode of multi agent cooperation, everyone writes a part of code to the content of oneself, but this mode; The code that everyone writes is not quite similar, and the result that otherness is brought is incompatible often, need readjust.
Therefore, the subject matter of making webpage at present is: 1) write the CSS code while need make HTML code, the time of cost is more; 2) have to receive compatible influence, 3 while making html page) different reconstruct personnel CSS pattern class name when making the same page is self-defined, leads to a conflict.This has increased trouble for the making of webpage, causes that webpage making is loaded down with trivial details, the cycle is long, efficient is not high.
Construction method, system and device that patented claim discloses a kind of web page template No. 201010034292.2 the invention discloses a kind of construction method, system and device of web page template, and web page template makes up inefficient problem in the prior art in order to solve.This application has proposed a kind of web page template; Come to every block element that the zone appears in advance in the web page template; The terminal receives the block element request information of user's input, confirms the code information of the block element that the identification information of said block element is corresponding, and the code information of said block element is appeared at the correspondence position of this web page area; The terminal receives user input content information, and said content information is shown in this block element.This method is divided at least two block elements with each webpage, and each block element can be reused, thereby has improved the structure efficient of web page template.This is similar to the CSS framework (CSS that is adopted at present CAscading STyle SHeets); The CSS framework is the basic framework of design webpage; Define to objects such as piecemeals such as the overall situation of webpage, replacement, list, compatibility or equipment, browser, plug-in units, the pattern that the CSS framework not only need be quoted is various, and also has too much restriction; Though can use and preferential carry out level with weight other redefines, own versatility and extensibility have also been produced too many adverse effect.This method is not brought basic improvement to the making of webpage.
Though above-mentioned method has defined web page template and basic framework; Yet be not directed against the concrete making specified value and the unified allocation plan of webpage; The making of webpage still will rely on developer's topological design and the code that oneself defines to accomplish, and makes webpage and does not obtain simplifying and raising the efficiency.
Summary of the invention
Based on this, the purpose of this invention is to provide a kind of method through webpage structure database structure webpage, this method can make up webpage fast, has improved the make efficiency of webpage greatly, has reduced the time of making webpage.
Another object of the present invention is to provide a kind of and makes up the method that database makes up webpage through webpage, and this method can realize the quick editor and the reconstruct of webpage, has good portability.
A further object of the present invention provides a kind of method through webpage structure database structure webpage, and this method is easy to realize, is convenient to operation and control.
In order to achieve the above object, the present invention realizes according to following mode.
A kind ofly make up the method that database makes up webpage, it is characterized in that earlier that webpage making is used content forms standard through webpage, with these standards as unified code storage in database, the making of concrete webpage comprises the steps:
The layout of A, structure webpage;
B, connection webpage make up database;
C, webpage referenced make up the definition in the database; From webpage structure database, search for the data in replacement, layout, background colour, text, list, form, the frame module, choose suitable definition; Directly choose the content that defines, need not write code and define, practiced thrift a large amount of codes and write the workload of code;
D, selected definition is shown in webpage;
E, filling content for example arrive the cloth intra-office with picture, copy editor.
Contents such as the present invention's layout that webpage making is used, text, frame form standard,, in database, read at any time when being convenient to webpage making as unified code storage; Simultaneously, code is unitized, is convenient to the editor and the maintenance of webpage; Standardized code, make webpage making that accomplish rapidly, efficiently, needn't all write code to each content; Reduce the workload of webpage making greatly, improved the efficient of webpage making.
Described method is total, and webpage makes up database, include replacement, layout, background colour, text, list, form, frame module, and above-mentioned module is independently each other.The replacement module generally is not need to use in addition, and just some attributes to the browser acquiescence carry out zero clearing; Layout modules is that the layout to webpage is carried out, defined width commonly used, highly, float, layout core classes that location, bulk, disappearing etc. are used always; The background colour module has defined the effect of Gao Liang, prompting, caution, and general and frame (Border) is used; Text module has defined the class of basic overstriking commonly used, italic, middle underscore, size, font, line feed etc.; Form (Table) module defines to the frame of form is folding; The definitions of color of Border frame and text basic commonly used color class, matching design and program are used, and can realize some effects like Gao Liang, prompting, caution.
Said webpage makes up database, also comprises shortcut module, other part of module; The shortcut module defines some modules commonly used, reduces the application of repetition class once more, to simplify code; Other part of module have been carried out compatible processing to different browsers.
In the said steps A, the layout of webpage can directly be quoted from layout modules.That is to say that steps A, step B and step C may be incorporated in together.
Among the described step D, selected definition, directly Reference-links adopts the form of link to be shown in webpage to the definition in the database web page definition.
Among the described step D, selected definition adopts lead-in mode from database, to import, and the definition in the database is imported to webpage show.
Described method can be in the optional position of webpage making, and the directly code in the reading database, and the code in the coping database carries out local the duplicating of webpage.
The present invention adopts webpage to make up database and makes up webpage fast, can carry out web page editing by the rapid extraction code, has significantly reduced the time of making webpage, has improved the make efficiency of webpage.
And code has standardized characteristics, is convenient to editor and safeguards to have good transplantability.
Description of drawings
The software control flow chart that Fig. 1 implements for the present invention.
Embodiment
In order to make the object of the invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with accompanying drawing and embodiment.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
As shown in Figure 1, specifically the comprising the steps of embodiment of the present invention.
1, layout has been planned the overall page of webpage.
2, connect webpage and make up database, any one makes up the terminal of webpage, as long as the authority of obtaining or authentication can be connected to webpage and make up database, therefrom reads corresponding web data;
3, webpage referenced makes up the definition in the database; Make up database from webpage and import the definition standard that makes up, and quote definition basis of formation layout.The content construction of webpage comprises that contents such as layout format, background colour, text, list, form, frame can make up from webpage to search related data the database, and quotes;
The included content of web database includes:
Reset resets, and resetting generally is not need to use in addition, and just some attributes to the browser acquiescence carry out zero clearing.
Figure 817654DEST_PATH_IMAGE001
 
Layout layout, layout are to carry out to layout, comprised width commonly used, highly, float, layout core content that location, bulk, disappearing etc. are used always.
Figure 672477DEST_PATH_IMAGE002
Figure 452215DEST_PATH_IMAGE003
Bgcolor background colour, background colour can be realized some effects like Gao Liang, prompting, caution, and general and Border is used.
Figure 599479DEST_PATH_IMAGE005
Text, text definition the class of basic overstriking commonly used, italic, middle underscore, size, font, line feed etc.
Figure 359625DEST_PATH_IMAGE006
The Form list, list to the input frame in the list defined acquiescence class and the prompting content of makeing mistakes.
Figure 626658DEST_PATH_IMAGE007
Table form, form partly define to the frame of form is folding.
Figure 261776DEST_PATH_IMAGE008
The Border frame, the definitions of color of frame and text basic normal color class, matching design and program are used, and can realize some effects like Gao Liang, prompting, caution.
Figure 930655DEST_PATH_IMAGE009
Other other, other parts have been carried out compatible processing to different browsers.
The Quickly shortcut, shortcut defines some modules commonly used, reduces the application of repetition class once more, simplifies code.
Figure 861702DEST_PATH_IMAGE010
From webpage structure database, search for the data in replacement, layout, background colour, text, list, form, the frame module, choose suitable definition; Directly choose the content that defines, need not write code and define, can practice thrift a large amount of codes and write the workload of code;
The mode of quoting includes two kinds:
1), the mode of page link, for example: < link type=" text/css " rel=" stylesheet " href=" path/xy.css of document storage " />;
2), the mode of pattern file importing: for example: import url (path of document storage/xy.css).
Use if desired, then add class in requisition for control in the place that needs are used, as<div class=" w200 h100 mt10 l red2 "></div>
Wherein: w200 is width 200px, and h100 is height 100px, and mt10 goes up outer back gauge 10px, and l is unsteady left, and red2 is that the color of the text in the container is a red secondary, adds control so on demand, does not need other layout code control in addition.
4, selected definition is shown in webpage, forms basic web page model;
5 and then fill Show Styles, for example with picture, background, copy editor to the cloth intra-office, just accomplish the making of a webpage.
No matter this webpage making mode is tabulation or the adjustment of layout, maintenance and upgrading, only needs corresponding specific instructions label of modification or run time version just passable.
The present invention has only defined the most frequently used basic attribute and core attribute; And adopted low-level weight; The very convenient maintenance of carrying out the later stage; Existing relatively framework has short and pithy (having only a core document), adaptability strong (can adapt to different other width of 5px level), transplantability strong (because of code is unified, it is indeformable to transplant the assurance layout at the platform of developing), energy-efficient etc. characteristics.
The above is merely preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of within spirit of the present invention and principle, being done, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (8)

1. one kind makes up the method that database makes up webpage through webpage, it is characterized in that earlier that webpage making is used content forms standard, with these standards as unified code storage in database, the making of concrete webpage comprises the steps:
The layout of A, structure webpage;
B, connection webpage make up database;
C, webpage referenced make up the definition in the database; From webpage structure database, search for the data in replacement, layout, background colour, text, list, form, the frame module, choose suitable definition;
D, selected definition is shown in webpage;
E, filling content for example arrive the cloth intra-office with picture, copy editor.
2. the method that makes up database structure webpage through webpage as claimed in claim 1; It is characterized in that webpage makes up database; Include replacement, layout, background colour, text, list, form, frame module, and above-mentioned module is independently each other.
3. the method through webpage structure database structure webpage as claimed in claim 2, the module that it is characterized in that resetting generally is not need to use in addition, some attributes of just browser being given tacit consent to carry out zero clearing; Layout modules is that the layout to webpage is carried out, defined width commonly used, highly, float, layout core classes that location, bulk, disappearing etc. are used always; The background colour module has defined the effect of Gao Liang, prompting, caution, and general and frame (Border) is used; Text module has defined the class of basic overstriking commonly used, italic, middle underscore, size, font, line feed etc.; Form (Table) module defines to the frame of form is folding; The definitions of color of Border frame and text basic commonly used color class, matching design and program are used, and can realize some effects like Gao Liang, prompting, caution.
4. the method through webpage structure database structure webpage as claimed in claim 2 is characterized in that said webpage makes up database, also comprises shortcut module, other part of module; The shortcut module defines some modules commonly used, reduces the application of repetition class once more, to simplify code; Other part of module have been carried out compatible processing to different browsers.
5. the method through webpage structure database structure webpage as claimed in claim 1 is characterized in that in the said steps A, the layout of webpage can directly be quoted from layout modules, steps A, step B and step C may be incorporated in together.
6. the method through webpage structure database structure webpage as claimed in claim 1 is characterized in that among the described step D, selected definition, and directly Reference-links adopts the form of link to be shown in webpage to the definition in the database web page definition.
7. the method through webpage structure database structure webpage as claimed in claim 1 is characterized in that among the described step D that selected definition adopts lead-in mode from database, to import, and the definition in the database is imported to webpage show.
8. the method that makes up database structure webpage through webpage as claimed in claim 1; It is characterized in that described method, can be in the optional position of webpage making, the code in the direct reading database; And the code in the coping database, carry out local the duplicating of webpage.
CN2011103390424A 2011-11-01 2011-11-01 Method for constructing webpage through webpage construction database Pending CN102375889A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011103390424A CN102375889A (en) 2011-11-01 2011-11-01 Method for constructing webpage through webpage construction database

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011103390424A CN102375889A (en) 2011-11-01 2011-11-01 Method for constructing webpage through webpage construction database

Publications (1)

Publication Number Publication Date
CN102375889A true CN102375889A (en) 2012-03-14

Family

ID=45794495

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011103390424A Pending CN102375889A (en) 2011-11-01 2011-11-01 Method for constructing webpage through webpage construction database

Country Status (1)

Country Link
CN (1) CN102375889A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103617270A (en) * 2013-12-05 2014-03-05 用友软件股份有限公司 Device and method for displaying large-data-volume form on webpage
CN103729340A (en) * 2013-12-29 2014-04-16 上海浦东物流云计算有限公司 Method and device for editing table in webpage
CN110377652A (en) * 2019-07-05 2019-10-25 中国科学院计算机网络信息中心 The display methods and device of information
CN110673846A (en) * 2019-09-04 2020-01-10 北京泰和纬度网络技术有限公司 Method and system for webpage blocking
CN116225414A (en) * 2023-03-09 2023-06-06 广州市华势信息科技有限公司 Software visual rapid development system based on zero code

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101118493A (en) * 2007-09-17 2008-02-06 张威 Process for manufacturing dynamic website in web page browsers
CN101739415A (en) * 2008-11-25 2010-06-16 华中师范大学 Browser-oriented webpage labeling system
CN102043626A (en) * 2010-12-23 2011-05-04 中国农业银行股份有限公司 Method and device for encapsulating extjs component, and method and system for generating user interface

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101118493A (en) * 2007-09-17 2008-02-06 张威 Process for manufacturing dynamic website in web page browsers
CN101739415A (en) * 2008-11-25 2010-06-16 华中师范大学 Browser-oriented webpage labeling system
CN102043626A (en) * 2010-12-23 2011-05-04 中国农业银行股份有限公司 Method and device for encapsulating extjs component, and method and system for generating user interface

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103617270A (en) * 2013-12-05 2014-03-05 用友软件股份有限公司 Device and method for displaying large-data-volume form on webpage
CN103617270B (en) * 2013-12-05 2017-01-04 用友网络科技股份有限公司 Big data quantity form demonstration device on webpage and exhibiting method
CN103729340A (en) * 2013-12-29 2014-04-16 上海浦东物流云计算有限公司 Method and device for editing table in webpage
CN110377652A (en) * 2019-07-05 2019-10-25 中国科学院计算机网络信息中心 The display methods and device of information
CN110377652B (en) * 2019-07-05 2022-04-26 中国科学院计算机网络信息中心 Information display method and device
CN110673846A (en) * 2019-09-04 2020-01-10 北京泰和纬度网络技术有限公司 Method and system for webpage blocking
CN110673846B (en) * 2019-09-04 2023-02-17 北京泰和纬度网络技术有限公司 Method and system for webpage blocking
CN116225414A (en) * 2023-03-09 2023-06-06 广州市华势信息科技有限公司 Software visual rapid development system based on zero code

Similar Documents

Publication Publication Date Title
CN111475163B (en) Method, device and equipment for generating code file of view template and storage medium
CN101122899B (en) Report generation method and device
CN101025738B (en) Template-free dynamic website generating method
CN104461484B (en) The implementation method and device of front-end template
CN107886439A (en) Insurance products development approach, device, equipment and computer-readable recording medium
CN102043626B (en) Method and device for encapsulating extjs component, and method and system for generating user interface
CN102043762B (en) Method and device for comparing layouts
CN104461519B (en) A kind of flow chart dynamic generation and the method for control of authority
CN102360296A (en) WEB-based online form development tool
CN104185845A (en) System and method for providing a binary representation of a web page
CN104133772A (en) Automatic test data generation method
WO2016054549A1 (en) Application prototyping tool
CN105373615A (en) Page customization method and device
CN101706821A (en) Tag-based mobile internet page design system and method
CN106469047A (en) A kind of list implementation method and device
CN103309659A (en) User interface dynamic generation method and device based on rich client platform
US20130117656A1 (en) Conversion of web template designs
CN102375889A (en) Method for constructing webpage through webpage construction database
CN109145235B (en) Method and device for analyzing webpage and electronic equipment
CN104391786A (en) Webpage automatic test system and method thereof
CN103051652B (en) A kind of mobile terminal cloud computing distribution platform
CN104820589A (en) Method and device for dynamically adapting webpage
CN103365847A (en) Generation method and device for user-defined webpage file
CN105589959A (en) Form processing method and form processing system
CN103927385A (en) Unifying method and device of data model

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20120314