CN105404692B - The generation method and generating means of Web page - Google Patents

The generation method and generating means of Web page Download PDF

Info

Publication number
CN105404692B
CN105404692B CN201510957867.0A CN201510957867A CN105404692B CN 105404692 B CN105404692 B CN 105404692B CN 201510957867 A CN201510957867 A CN 201510957867A CN 105404692 B CN105404692 B CN 105404692B
Authority
CN
China
Prior art keywords
page
attribute
field
xml
multiple field
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.)
Active
Application number
CN201510957867.0A
Other languages
Chinese (zh)
Other versions
CN105404692A (en
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.)
ZTE ICT Technologies Co Ltd
Original Assignee
ZTE ICT Technologies 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 ZTE ICT Technologies Co Ltd filed Critical ZTE ICT Technologies Co Ltd
Priority to CN201510957867.0A priority Critical patent/CN105404692B/en
Publication of CN105404692A publication Critical patent/CN105404692A/en
Application granted granted Critical
Publication of CN105404692B publication Critical patent/CN105404692B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs

Abstract

The present invention provides a kind of generation method of Web page and generating means, wherein, the generation method of the Web page, it include: when receiving the instruction in creation of web face, the interface configured to the attribute of preset multiple fields is provided, so that attribute of the operator to the multiple field configures;According to the attribute of the multiple field of operator configuration, the page of all XML formats relevant to the multiple field is generated;According to the page access demand received, by the conversion of page of the specified XML format in the page of all XML formats it is the page of html format, and is shown.According to the technical solution of the present invention, the workload and cost of exploitation and the maintaining webs page can be effectively reduced.

Description

The generation method and generating means of Web page
Technical field
The present invention relates to field of computer technology, generation method and a kind of Web in particular to a kind of Web page The generating means of the page.
Background technique
For carrying out the Web system developer of BS (Browser/Server, browser/server) framework, often need Different Web displayed pages is developed for various different types of data and different demands.
Specifically, by taking the assets in computer room as an example, it may be necessary to which exploitation is directed to the newly-increased of server, modification, inquires, in detail Carefully, the pages such as change, are also required to the equipment such as router, interchanger, firewall to develop the page of these types.And once Newly added equipment type, it is necessary to develop above-mentioned displayed page again for newly-increased device type, it is often more important that, once this Certain fields of type change, that all types of page is required to readjust, is laid out again, and maintenance is got up very Trouble.
Therefore, the workload and cost that exploitation and the maintaining webs page how is effectively reduced become skill urgently to be resolved Art problem.
Summary of the invention
The present invention is based at least one above-mentioned technical problem, proposes a kind of generation scheme of new Web page, can The workload and cost of exploitation and the maintaining webs page is effectively reduced.
In view of this, the invention proposes a kind of generation methods of Web page, comprising: receiving creation of web face When instruction, the interface configured to the attribute of preset multiple fields is provided, so that operator is to the category of the multiple field Property is configured;According to the attribute of the multiple field of operator configuration, institute relevant to the multiple field is generated There is the page of XML (Extensible Markup Language, extensible markup language) format;It is visited according to the page received It asks demand, is HTML (HyperText by the conversion of page of the specified XML format in the page of all XML formats Markup Language, hypertext markup language) format the page, and shown.
In the technical scheme, by providing the page configured to the attribute of multiple fields, and matched according to operator The attribute for the multiple fields set generates the page of all XML formats relevant to multiple fields, and needs receiving page access When asking, the page that the conversion of page of specified XML format is html format is shown, so that developer is in exploitation Web page When face, it is only necessary to be configured for the demand of the Web page to be developed to the attribute of preset multiple fields, in turn The generating means of Web page can realize automatically the generation of the XML format page according to the attribute that developer configures, and according to connecing The page access demand received automatically shows the page that the conversion of page of specified XML format is html format, avoids Developer needs repeatedly to develop the troublesome operation of the identical page, effectively reduces the development amount of developer, and Also development cost is reduced.
In the above-mentioned technical solutions, it is preferable that on the boundary that offer configures the attribute of preset multiple fields Before face, further includes: a plurality of types of fields are created, and configured for the attribute to a plurality of types of fields Configuration information table.
In the technical scheme, by creating a plurality of types of fields and being carried out for the attribute to a plurality of types of fields The configuration information table of configuration, so that developer is when needing to develop Web page, it can be by the field and configuration created The page for automatically generating XML format is realized in the configuration of information table.Wherein, a plurality of types of fields include: character type, numeric type, Various types of fields such as date type.
In any of the above-described technical solution, it is preferable that raw according to the attribute of the multiple field of operator configuration At all XML formats relevant to the multiple field the page the step of specifically include: according to the operator configure institute The attribute of multiple fields is stated, the entity class for corresponding to the multiple field is generated;The entity class of the multiple field will be corresponded to Be converted to the page of the XML format.
Specifically, for each XML tag, such as Body, Row, Column, LabelField, TextField, after Platform has its corresponding entity class.It in background program, can be preset on the page of generation, input frame, combobox, date etc. Corresponding label occupies hemistich together, and input domain occupies a line, and then background program can be according to the order of the field (packet of setting It is contained in the attribute of field) and field type, its corresponding entity class is generated, this entity class is finally converted into XML format It is stored.
In any of the above-described technical solution, it is preferable that be the page of html format by the conversion of page of the specified XML format The step of face, specifically includes: being corresponding entity class by the conversion of page of the specified XML format;It is wrapped according in the entity class The entity class is converted into the page of the html format by the rendering method contained.
In any of the above-described technical solution, it is preferable that further include: whether the attribute for detecting the multiple field becomes It changes;When detecting that the attribute of the either field in the multiple field changes, after either field variation Attribute regenerates the page of relevant all XML formats.
When in the technical scheme, by changing in the attribute for detecting either field, changed according to either field Attribute afterwards regenerates the page of relevant all XML formats, so that when the attribute of either field changes, Web page The generating means in face can realize the update to the page of XML format automatically, avoid and needed in the prior art to all pages The troublesome operation process that face is readjusted and is laid out effectively reduces the maintenance workload of developer, and also reduces Maintenance cost.
In any of the above-described technical solution, it is preferable that the attribute of each field includes: retouching for field in the multiple field It states, data model, whether must fill out, whether show in query interface and put in order;The page of all XML formats includes: New added pages, the modification page, the detailed page, query page and the change page.
According to the second aspect of the invention, it is also proposed that a kind of generating means of Web page, comprising: display unit is used for When receiving the instruction in creation of web face, the interface configured to the attribute of preset multiple fields is provided, for operation Person configures the attribute of the multiple field;Generation unit, the multiple field for being configured according to the operator Attribute, generate the page of relevant to the multiple field all XML formats;Processing unit, for according to the page received The conversion of page of specified XML format in the page of all XML formats is the page of html format by face requirements for access, And it is shown.
In the technical scheme, by providing the page configured to the attribute of multiple fields, and matched according to operator The attribute for the multiple fields set generates the page of all XML formats relevant to multiple fields, and needs receiving page access When asking, the page that the conversion of page of specified XML format is html format is shown, so that developer is in exploitation Web page When face, it is only necessary to be configured for the demand of the Web page to be developed to the attribute of preset multiple fields, in turn The generating means of Web page can realize automatically the generation of the XML format page according to the attribute that developer configures, and according to connecing The page access demand received automatically shows the page that the conversion of page of specified XML format is html format, avoids Developer needs repeatedly to develop the troublesome operation of the identical page, effectively reduces the development amount of developer, and Also development cost is reduced.
In the above-mentioned technical solutions, it is preferable that further include: creating unit, for providing in the display unit to described Before the interface that the attribute of preset multiple fields is configured, a plurality of types of fields are created, and for described a variety of The configuration information table that the attribute of the field of type is configured.
In the technical scheme, by creating a plurality of types of fields and being carried out for the attribute to a plurality of types of fields The configuration information table of configuration, so that developer is when needing to develop Web page, it can be by the field and configuration created The page for automatically generating XML format is realized in the configuration of information table.Wherein, a plurality of types of fields include: character type, numeric type, Various types of fields such as date type.
In any of the above-described technical solution, it is preferable that the generation unit is specifically used for: according to operator configuration The attribute of the multiple field generates the entity class for corresponding to the multiple field, and the reality that will correspond to the multiple field Body class is converted to the page of the XML format.
Specifically, for each XML tag, such as Body, Row, Column, LabelField, TextField, after Platform has its corresponding entity class.It in background program, can be preset on the page of generation, input frame, combobox, date etc. Corresponding label occupies hemistich together, and input domain occupies a line, and then background program can be according to the order of the field (packet of setting It is contained in the attribute of field) and field type, its corresponding entity class is generated, this entity class is finally converted into XML format It is stored.
In any of the above-described technical solution, it is preferable that the processing unit is specifically used for: by the specified XML format Conversion of page be corresponding to entity class;The entity class is converted into according to the rendering method for including in the entity class described The page of html format.
In any of the above-described technical solution, it is preferable that further include: detection unit, for detecting the category of the multiple field Whether property converts;The generation unit is specifically used for, and detects any in the multiple field in the detection unit When the attribute of field changes, according to the attribute after either field variation, relevant all XML lattice are regenerated The page of formula.
When in the technical scheme, by changing in the attribute for detecting either field, changed according to either field Attribute afterwards regenerates the page of relevant all XML formats, so that when the attribute of either field changes, Web page The generating means in face can realize the update to the page of XML format automatically, avoid and needed in the prior art to all pages The troublesome operation process that face is readjusted and is laid out effectively reduces the maintenance workload of developer, and also reduces Maintenance cost.
In any of the above-described technical solution, it is preferable that the attribute of each field includes: retouching for field in the multiple field It states, data model, whether must fill out, whether show in query interface and put in order;The page of all XML formats includes: New added pages, the modification page, the detailed page, query page and the change page.
By above technical scheme, the workload and cost of exploitation and the maintaining webs page can be effectively reduced.
Detailed description of the invention
Fig. 1 shows the schematic flow diagram of the generation method of Web page according to an embodiment of the invention;
Fig. 2 shows the schematic block diagrams of the generating means of the Web page of embodiment according to the present invention;
Fig. 3 shows the schematic diagram of the query page of the field purposes of embodiment according to the present invention;
Fig. 4 shows the interface schematic diagram of the configuration field purposes of embodiment according to the present invention;
Fig. 5 shows the xml code schematic diagram of the new added pages of embodiment according to the present invention;
Fig. 6 shows the interface schematic diagram of the new added pages of embodiment according to the present invention;
Fig. 7 shows the interface schematic diagram of the query page of embodiment according to the present invention.
Specific embodiment
To better understand the objects, features and advantages of the present invention, with reference to the accompanying drawing and specific real Applying mode, the present invention is further described in detail.It should be noted that in the absence of conflict, the implementation of the application Feature in example and embodiment can be combined with each other.
In the following description, numerous specific details are set forth in order to facilitate a full understanding of the present invention, still, the present invention may be used also To be implemented using other than the one described here other modes, therefore, protection scope of the present invention is not by described below Specific embodiment limitation.
Fig. 1 shows the schematic flow diagram of the generation method of Web page according to an embodiment of the invention.
As shown in Figure 1, the generation method of Web page according to an embodiment of the invention, comprising: step 102, connecing When receiving the instruction in creation of web face, the interface configured to the attribute of preset multiple fields is provided, for operator couple The attribute of the multiple field is configured;Step 104, raw according to the attribute of the multiple field of operator configuration At all XML (Extensible Markup Language, extensible markup language) formats relevant to the multiple field The page;Step 106, according to the page access demand received, by the specified XML lattice in the page of all XML formats The conversion of page of formula is the page of HTML (HyperText Markup Language, hypertext markup language) format, and carries out Display.
In the technical scheme, by providing the page configured to the attribute of multiple fields, and matched according to operator The attribute for the multiple fields set generates the page of all XML formats relevant to multiple fields, and needs receiving page access When asking, the page that the conversion of page of specified XML format is html format is shown, so that developer is in exploitation Web page When face, it is only necessary to be configured for the demand of the Web page to be developed to the attribute of preset multiple fields, in turn The generating means of Web page can realize automatically the generation of the XML format page according to the attribute that developer configures, and according to connecing The page access demand received automatically shows the page that the conversion of page of specified XML format is html format, avoids Developer needs repeatedly to develop the troublesome operation of the identical page, effectively reduces the development amount of developer, and Also development cost is reduced.
In the above-mentioned technical solutions, it is preferable that on the boundary that offer configures the attribute of preset multiple fields Before face, further includes: a plurality of types of fields are created, and configured for the attribute to a plurality of types of fields Configuration information table.
In the technical scheme, by creating a plurality of types of fields and being carried out for the attribute to a plurality of types of fields The configuration information table of configuration, so that developer is when needing to develop Web page, it can be by the field and configuration created The page for automatically generating XML format is realized in the configuration of information table.Wherein, a plurality of types of fields include: character type, numeric type, Various types of fields such as date type.
In any of the above-described technical solution, it is preferable that raw according to the attribute of the multiple field of operator configuration At all XML formats relevant to the multiple field the page the step of specifically include: according to the operator configure institute The attribute of multiple fields is stated, the entity class for corresponding to the multiple field is generated;The entity class of the multiple field will be corresponded to Be converted to the page of the XML format.
Specifically, for each XML tag, such as Body, Row, Column, LabelField, TextField, after Platform has its corresponding entity class.It in background program, can be preset on the page of generation, input frame, combobox, date etc. Corresponding label occupies hemistich together, and input domain occupies a line, and then background program can be according to the order of the field (packet of setting It is contained in the attribute of field) and field type, its corresponding entity class is generated, this entity class is finally converted into XML format It is stored.
In any of the above-described technical solution, it is preferable that be the page of html format by the conversion of page of the specified XML format The step of face, specifically includes: being corresponding entity class by the conversion of page of the specified XML format;It is wrapped according in the entity class The entity class is converted into the page of the html format by the rendering method contained.
In any of the above-described technical solution, it is preferable that further include: whether the attribute for detecting the multiple field becomes It changes;When detecting that the attribute of the either field in the multiple field changes, after either field variation Attribute regenerates the page of relevant all XML formats.
When in the technical scheme, by changing in the attribute for detecting either field, changed according to either field Attribute afterwards regenerates the page of relevant all XML formats, so that when the attribute of either field changes, Web page The generating means in face can realize the update to the page of XML format automatically, avoid and needed in the prior art to all pages The troublesome operation process that face is readjusted and is laid out effectively reduces the maintenance workload of developer, and also reduces Maintenance cost.
In any of the above-described technical solution, it is preferable that the attribute of each field includes: retouching for field in the multiple field It states, data model, whether must fill out, whether show in query interface and put in order;The page of all XML formats includes: New added pages, the modification page, the detailed page, query page and the change page.
Fig. 2 shows the schematic block diagrams of the generating means of the Web page of embodiment according to the present invention.
As shown in Fig. 2, the generating means 200 of the Web page of embodiment according to the present invention, comprising: display unit 202, For when receiving the instruction in creation of web face, providing the interface configured to the attribute of preset multiple fields, for Operator configures the attribute of the multiple field;Generation unit 204 is described more for being configured according to the operator The attribute of a field generates the page of all XML formats relevant to the multiple field;Processing unit 206 connects for basis The conversion of page of specified XML format in the page of all XML formats is html format by the page access demand received The page, and shown.
In the technical scheme, by providing the page configured to the attribute of multiple fields, and matched according to operator The attribute for the multiple fields set generates the page of all XML formats relevant to multiple fields, and needs receiving page access When asking, the page that the conversion of page of specified XML format is html format is shown, so that developer is in exploitation Web page When face, it is only necessary to be configured for the demand of the Web page to be developed to the attribute of preset multiple fields, in turn The generating means of Web page can realize automatically the generation of the XML format page according to the attribute that developer configures, and according to connecing The page access demand received automatically shows the page that the conversion of page of specified XML format is html format, avoids Developer needs repeatedly to develop the troublesome operation of the identical page, effectively reduces the development amount of developer, and Also development cost is reduced.
In the above-mentioned technical solutions, it is preferable that further include: creating unit 208, for being provided in the display unit 202 Before the interface configured to the attribute of preset multiple fields, a plurality of types of fields are created, and for institute State the configuration information table that the attribute of a plurality of types of fields is configured.
In the technical scheme, by creating a plurality of types of fields and being carried out for the attribute to a plurality of types of fields The configuration information table of configuration, so that developer is when needing to develop Web page, it can be by the field and configuration created The page for automatically generating XML format is realized in the configuration of information table.Wherein, a plurality of types of fields include: character type, numeric type, Various types of fields such as date type.
In any of the above-described technical solution, it is preferable that the generation unit 204 is specifically used for: being matched according to the operator The attribute for the multiple field set generates the entity class for corresponding to the multiple field, and will correspond to the multiple field Entity class be converted to the page of the XML format.
Specifically, for each XML tag, such as Body, Row, Column, LabelField, TextField, after Platform has its corresponding entity class.It in background program, can be preset on the page of generation, input frame, combobox, date etc. Corresponding label occupies hemistich together, and input domain occupies a line, and then background program can be according to the order of the field (packet of setting It is contained in the attribute of field) and field type, its corresponding entity class is generated, this entity class is finally converted into XML format It is stored.
In any of the above-described technical solution, it is preferable that the processing unit 206 is specifically used for: by the specified XML format Conversion of page be corresponding to entity class;The entity class is converted into institute according to the rendering method for including in the entity class State the page of html format.
In any of the above-described technical solution, it is preferable that further include: detection unit 210, for detecting the multiple field Whether attribute converts;The generation unit 204 is specifically used for, and detects the multiple field in the detection unit 210 In the attribute of either field when changing, according to the attribute after either field variation, regenerate described relevant The page of all XML formats.
When in the technical scheme, by changing in the attribute for detecting either field, changed according to either field Attribute afterwards regenerates the page of relevant all XML formats, so that when the attribute of either field changes, Web page The generating means in face can realize the update to the page of XML format automatically, avoid and needed in the prior art to all pages The troublesome operation process that face is readjusted and is laid out effectively reduces the maintenance workload of developer, and also reduces Maintenance cost.
In any of the above-described technical solution, it is preferable that the attribute of each field includes: retouching for field in the multiple field It states, data model, whether must fill out, whether show in query interface and put in order;The page of all XML formats includes: New added pages, the modification page, the detailed page, query page and the change page.
Illustrate that technical solution of the present invention further illustrates below in conjunction with Fig. 3 to 7 pairs.
Technical solution of the present invention is mainly to pass through the setting of the universal field type in database, realizes multiple types number According to sharing the same database table.To the data of each type, by the description of the field of configuration database table, model, it is It is no to fill out, whether show the XML file for automatically generating the various types page in information such as query interface, sequences, then XML lattice The page that formula translates into html format is presented to the user.
In addition, regenerating for its corresponding all page can be triggered if having modified the configuration of database table field, it is real The existing page is automatically updated according to configuration, has been reached and has only been needed to do a configuration, has been achieved that the skill of all pages automatically generated Art effect.
Specifically, the generation method of Web page according to another embodiment of the invention, comprising:
Step 1: creation database table DATA_TABLE, and it is various types of to create enough character type, numeric type, date type etc. The field of type.Configuration information table CONFIG_TABLE is created, configuration information table includes: whether description data model, must fill out, be No displaying is in fields such as query interface, sequences.Wherein, field purposes (i.e. above-mentioned attribute) query page as shown in figure 3, with Family can be by configuring the option in shown in Fig. 3 302, and triggers inquiry button 304 and carried out with the purposes to field Inquiry.
Step 2: it is configured by purposes of the web interface to each field of DATA_TABLE table, description including field, Whether data model must be filled out, whether show that, in query interface, sequence etc., configuration result is saved in CONFIG_TABLE table.It is right The configuration of each column of DATA_TABLE all saves a record at CONFIG_TABLE table.Specific configuration interface such as Fig. 4 Shown, developer, which can according to need, configures the purposes of field, i.e., configures to 402 parts shown in Fig. 4.
Step 3: according to the configuration of field purposes, when saving configuration, automatic trigger background program generates all relevant pages Face, such as newly-increased, modification, detailed, inquiry, the change page, and save in xml format in the database, each page corresponds to it Respective page code.
The step of page of backstage code building XML format, specifically includes:
Due to the label of each XML, such as Body, Row, Column, LabelField, TextField, backstage has Its corresponding entity class.It can be in background program to corresponding Label such as input frame, combobox, dates on the page It is set as occupying hemistich together, input domain is set as occupying a line, and then background program can be according to the order of the field and word of setting The type of section, generates its corresponding entity class.
Wherein, the outermost layer of entity class is Html, and Html includes Head and Body entity.It is contained in Body entity various Page control entity, such as Div, Grid.Grid, that is, table, its inside contain Row (row of table) entity again.In Row entity Column (column of table) entity is contained, LabelFild (text) and TextFild (input are contained in Column entity Frame) etc. entities.Thus constitute the entity class of the page of a completion.
Finally this entity class reconvert at XML format, storage is into database in corresponding page record.Such as it can The XML format that a FORM_DEFINITION table is used to store the page is arranged, this table includes at least following some fields: FORM_CODE page code, the content of the FORM_DATA page, i.e. XML.FORM_ is just so stored in for the XML of generation In DATA field.Wherein, the xml code of new added pages is as shown in Figure 5.
Step 4: according to page code accession page, and recalling corresponding XML format page from database by background program Face, background program are transcribed into html format and show.
The process that XML is converted into HTML is as follows:
XML is converted into corresponding entity class first, a rendering method is all contained in each type of entity class, this A rendering method can be converted into entity class the format of HTML.Since outermost entity class, pass through passing for rendering method Return calling, successively downwards, until all entities are all rendered to HTML, at this moment user it is seen that entire HTML the page It has already turned on.Wherein, the new added pages of generation are as shown in fig. 6, user can be to each configuration item in shown in Fig. 6 602 It is configured, then triggers submitting button 604 and complete setting;The query page of generation is as shown in fig. 7, user can be by figure Option in 702 shown in 7 is configured, and is triggered inquiry button 704 and inquired with the purposes to field.
By above technical scheme, so that the relevant page of all such data is all generated by background program, Suo Youxu What is done is only the purposes for configuring field, effectively reduces development amount;Meanwhile when field purposes changes When, then modifying the purposes configuration of this field, related pages backstage regenerates automatically, completely without developer Again the page is developed, maintenance workload is effectively reduced.
The technical scheme of the present invention has been explained in detail above with reference to the attached drawings, it is contemplated that at present for the exploitation of Web page and Maintenance workload, the cost spent are larger.Therefore, the invention proposes a kind of generation scheme of new Web page, Ke Yiyou Effect reduces the workload and cost of exploitation and the maintaining webs page.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.

Claims (10)

1. a kind of generation method of Web page characterized by comprising
When receiving the instruction in creation of web face, the interface configured to the attribute of preset multiple fields is provided, for Operator configures the attribute of the multiple field;
According to the attribute of the multiple field of operator configuration, all XML lattice relevant to the multiple field are generated The page of formula;
According to the page access demand received, by the conversion of page of the specified XML format in the page of all XML formats For the page of html format, and shown;
Whether the attribute for detecting the multiple field converts;
When detecting that the attribute of the either field in the multiple field changes, after either field variation Attribute regenerates the page of relevant all XML formats.
2. the generation method of Web page according to claim 1, which is characterized in that providing to described preset multiple Before the interface that the attribute of field is configured, further includes:
Create a plurality of types of fields, and the configuration information configured for the attribute to a plurality of types of fields Table.
3. the generation method of Web page according to claim 1, which is characterized in that the institute configured according to the operator The step of stating the attribute of multiple fields, generating the page of all XML formats relevant to the multiple field specifically includes:
According to the attribute of the multiple field of operator configuration, the entity class for corresponding to the multiple field is generated;
The entity class for corresponding to the multiple field is converted to the page of the XML format.
4. the generation method of Web page according to claim 1, which is characterized in that by the page of the specified XML format The step of being converted to the page of html format specifically includes:
It is corresponding entity class by the conversion of page of the specified XML format;
The entity class is converted into the page of the html format according to the rendering method for including in the entity class.
5. the generation method of Web page according to any one of claim 1 to 4, which is characterized in that
Whether whether the attribute of each field include: the description of field, data model, must fill out, show in the multiple field It query interface and puts in order;
The page of all XML formats includes: new added pages, the modification page, the detailed page, query page and the change page.
6. a kind of generating means of Web page characterized by comprising
Display unit matches the attribute of preset multiple fields for providing when receiving the instruction in creation of web face The interface set, so that attribute of the operator to the multiple field configures;
Generation unit, the attribute of the multiple field for being configured according to the operator generate and the multiple field phase The page for all XML formats closed;
Processing unit, for the page access demand that basis receives, by the specified XML in the page of all XML formats The conversion of page of format is the page of html format, and is shown;
Whether detection unit, the attribute for detecting the multiple field convert;
The generation unit is specifically used for, and detects the attribute hair of the either field in the multiple field in the detection unit When changing, according to the attribute after either field variation, the page of relevant all XML formats is regenerated.
7. the generating means of Web page according to claim 6, which is characterized in that further include:
Creating unit, for the display unit provide the interface that the attribute of preset multiple fields is configured it Before, create a plurality of types of fields, and the configuration information table configured for the attribute to a plurality of types of fields.
8. the generating means of Web page according to claim 6, which is characterized in that the generation unit is specifically used for:
According to the attribute of the multiple field of operator configuration, the entity class for corresponding to the multiple field is generated, and The entity class for corresponding to the multiple field is converted to the page of the XML format.
9. the generating means of Web page according to claim 6, which is characterized in that the processing unit is specifically used for:
It is corresponding entity class by the conversion of page of the specified XML format;
The entity class is converted into the page of the html format according to the rendering method for including in the entity class.
10. the generating means of Web page according to any one of claims 6 to 9, which is characterized in that
Whether whether the attribute of each field include: the description of field, data model, must fill out, show in the multiple field It query interface and puts in order;
The page of all XML formats includes: new added pages, the modification page, the detailed page, query page and the change page.
CN201510957867.0A 2015-12-18 2015-12-18 The generation method and generating means of Web page Active CN105404692B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510957867.0A CN105404692B (en) 2015-12-18 2015-12-18 The generation method and generating means of Web page

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510957867.0A CN105404692B (en) 2015-12-18 2015-12-18 The generation method and generating means of Web page

Publications (2)

Publication Number Publication Date
CN105404692A CN105404692A (en) 2016-03-16
CN105404692B true CN105404692B (en) 2019-08-30

Family

ID=55470181

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510957867.0A Active CN105404692B (en) 2015-12-18 2015-12-18 The generation method and generating means of Web page

Country Status (1)

Country Link
CN (1) CN105404692B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106648645B (en) * 2016-12-13 2020-07-17 北京护航科技股份有限公司 Code generation system
CN107239557B (en) * 2017-06-08 2018-10-30 腾讯科技(深圳)有限公司 A kind of webpage method for building up, electronic equipment and storage medium
CN107369090A (en) * 2017-07-25 2017-11-21 上海壹账通金融科技有限公司 Open an account generation method, equipment and the computer-readable recording medium of the page
CN107885498A (en) * 2017-11-15 2018-04-06 中国银行股份有限公司 A kind of page display method and device based on self-defined field
CN110046171B (en) * 2019-04-29 2020-08-14 北京字节跳动网络技术有限公司 System, method and apparatus for obtaining information
CN110321155B (en) * 2019-06-27 2024-01-19 北京金山安全软件有限公司 Method and device for configuring applications in batches
CN112600918B (en) * 2020-12-10 2024-02-02 厦门牧云数据技术有限公司 Industrial control edge big data efficient processing method and system based on BS architecture

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7346840B1 (en) * 2001-02-26 2008-03-18 Cisco Technology, Inc. Application server configured for dynamically generating web forms based on extensible markup language documents and retrieved subscriber data
CN101299750A (en) * 2007-04-30 2008-11-05 华为技术有限公司 Method and equipment for implementing operational management
CN101650745A (en) * 2009-09-10 2010-02-17 中兴通讯股份有限公司 Method and device for rapidly generating WEB page based on data definition
CN101847142A (en) * 2009-03-25 2010-09-29 上海斯年信息技术有限公司 Web page development method based on data sheet mould encapsulation
CN101980205A (en) * 2010-11-04 2011-02-23 上海银杏界信息科技有限公司 Universal page generating method
CN104331288A (en) * 2014-10-31 2015-02-04 北京思特奇信息技术股份有限公司 Method and system for showing dynamic page in configured manner

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7346840B1 (en) * 2001-02-26 2008-03-18 Cisco Technology, Inc. Application server configured for dynamically generating web forms based on extensible markup language documents and retrieved subscriber data
CN101299750A (en) * 2007-04-30 2008-11-05 华为技术有限公司 Method and equipment for implementing operational management
CN101847142A (en) * 2009-03-25 2010-09-29 上海斯年信息技术有限公司 Web page development method based on data sheet mould encapsulation
CN101650745A (en) * 2009-09-10 2010-02-17 中兴通讯股份有限公司 Method and device for rapidly generating WEB page based on data definition
CN101980205A (en) * 2010-11-04 2011-02-23 上海银杏界信息科技有限公司 Universal page generating method
CN104331288A (en) * 2014-10-31 2015-02-04 北京思特奇信息技术股份有限公司 Method and system for showing dynamic page in configured manner

Also Published As

Publication number Publication date
CN105404692A (en) 2016-03-16

Similar Documents

Publication Publication Date Title
CN105404692B (en) The generation method and generating means of Web page
CN106528129B (en) A kind of Web application interface generation system and method
CN104573066B (en) Page multiplexing method and device
US8694953B2 (en) Tool and methodology for enterprise software applications
US9021419B2 (en) System and method for supporting intelligent design pattern automation
CN105760290B (en) The problem of being tested based on webpage front-end localization method and relevant apparatus, system
US9087296B2 (en) Navigable semantic network that processes a specification to and uses a set of declaritive statements to produce a semantic network model
CN108491205A (en) A kind of front end web development methods and system based on component tree
EP2728498A1 (en) System and method for creation of templates
CN109597954A (en) Data item methods of exhibiting, calculates equipment and medium at device
CN103744680B (en) Method and device for business process processing
KR101572509B1 (en) the operating method of user interface framework for web-based application construction
CN103971036B (en) Page column authority control system and method
CN109697064A (en) A kind of generation method and device of the customized page
US9229920B1 (en) Compound undo/redo manager for mixed model edits
CN107925786A (en) The data visualization video of animation
CN102495735A (en) Web end UI (user interface) component application frame system
CN102693127B (en) Data-driven schema for describing and executing management tasks in a graphical user interface
CN103150624A (en) Equipment management and monitoring system based on process flow diagram
CN109408764A (en) Page area division methods, calculate equipment and medium at device
CN106779594A (en) A kind of Workflow management method based on Activiti
KR20130040057A (en) System and method for producing homepage in saas environment, a computer-readable storage medium therefor
CN106796515A (en) For the system and method for the user interface frame of metadata driven
CN104156200B (en) The statement formula configuration operated for card Content Management and the method and system performed
US20100100807A1 (en) Data processing device, and data processing method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant