CN107291429A - webpage generating method and device - Google Patents

webpage generating method and device Download PDF

Info

Publication number
CN107291429A
CN107291429A CN201610195614.9A CN201610195614A CN107291429A CN 107291429 A CN107291429 A CN 107291429A CN 201610195614 A CN201610195614 A CN 201610195614A CN 107291429 A CN107291429 A CN 107291429A
Authority
CN
China
Prior art keywords
memory access
elementary cell
project file
webpage
setting
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
CN201610195614.9A
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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201610195614.9A priority Critical patent/CN107291429A/en
Publication of CN107291429A publication Critical patent/CN107291429A/en
Pending legal-status Critical Current

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
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Abstract

The present invention proposes a kind of webpage generating method and device, and the webpage generating method includes obtaining elementary cell, and elementary cell be used to build webpage;Elementary cell is arranged in blank project file;By pattern memory access corresponding with elementary cell, the pattern of elementary cell is set, to obtain the project file after setting, the project file after setting be used to generate webpage.Auto-building html files efficiency that can be effectively in Improving Project development process by the present invention.

Description

Webpage generating method and device
Technical field
The present invention relates to technical field of software development, more particularly to a kind of webpage generating method and device.
Background technology
At present during webpage development, general mode is:Project development personnel in advance will be to be created Webpage deconstructs and takes out conventional block, for example, banner block, title block, or product row Table block, and the program code for realizing different blocks web page contents is editted, then transfer to content operation personnel to select The block of webpage needs is selected, to build a complete webpage.
In above-mentioned correlation technique, project development personnel need manual editing to realize different blocks web page contents Program code, is then used by operation personnel according to the demand of business again, and the project development cycle is long, net Page formation efficiency is not high.Especially, business demand is newly-increased, in the case that webpage needs recasting/renewal, still Right Items in order developer is new business demand exploitation new block, is so caused to new demand response stream Journey is longer, and response speed is slow.
The content of the invention
It is contemplated that at least solving one of technical problem in correlation technique to a certain extent.
, being capable of effective Improving Project therefore, it is an object of the present invention to propose a kind of webpage generating method Auto-building html files efficiency in development process.
It is another object of the present invention to propose a kind of auto-building html files device.
To reach above-mentioned purpose, the webpage generating method that first aspect present invention embodiment is proposed, including:Obtain Elementary cell is taken, the elementary cell be used to build webpage;Arrange described basic in blank project file Unit;By pattern memory access corresponding with the elementary cell, the pattern of the elementary cell is set, with The project file after setting is obtained, the project file after the setting be used to generate the webpage.
The webpage generating method that first aspect present invention embodiment is proposed, by being arranged in blank project file Elementary cell, and by the pattern of pattern memory access corresponding with elementary cell setting elementary cell, to obtain Project file after setting, wherein, the project file after setting be used to generate webpage, can effectively be lifted Auto-building html files efficiency in project development process.
To reach above-mentioned purpose, the auto-building html files device that second aspect of the present invention embodiment is proposed, including:Obtain Modulus block, for obtaining elementary cell, the elementary cell be used to build webpage;Module is arranged, is used for The elementary cell is arranged in blank project file;Setup module, for by with the elementary cell pair The pattern memory access answered, sets the pattern of the elementary cell, described to obtain the project file after setting Project file after setting be used to generate the webpage.
The auto-building html files device that second aspect of the present invention embodiment is proposed, by being arranged in blank project file Elementary cell, and by the pattern of pattern memory access corresponding with elementary cell setting elementary cell, to obtain Project file after setting, wherein, the project file after setting be used to generate webpage, can effectively be lifted Auto-building html files efficiency in project development process.
The additional aspect of the present invention and advantage will be set forth in part in the description, and will partly be retouched from following Become obvious in stating, or recognized by the practice of the present invention.
Brief description of the drawings
Of the invention above-mentioned and/or additional aspect and advantage are from the following description of the accompanying drawings of embodiments It will be apparent and be readily appreciated that, wherein:
Fig. 1 is the schematic flow sheet for the webpage generating method that one embodiment of the invention is proposed;
Fig. 2 is the structural representation of elementary cell and pattern memory access in the embodiment of the present invention;
Fig. 3 is web page contents schematic diagram to be created in the embodiment of the present invention;
Fig. 4 is the schematic flow sheet for the webpage generating method that another embodiment of the present invention is proposed;
Fig. 5 is structure of web page schematic diagram in the embodiment of the present invention;
Fig. 6 is the schematic flow sheet for the webpage generating method that another embodiment of the present invention is proposed;
Fig. 7 is the structural representation for the auto-building html files device that another embodiment of the present invention is proposed;
Fig. 8 is the structural representation for the auto-building html files device that another embodiment of the present invention is proposed.
Embodiment
Embodiments of the invention are described below in detail, the example of the embodiment is shown in the drawings, wherein certainly Beginning to same or similar label eventually represents same or similar element or the member with same or like function Part.The embodiments described below with reference to the accompanying drawings are exemplary, is only used for explaining the present invention, and can not It is interpreted as limitation of the present invention.On the contrary, embodiments of the invention include falling into attached claims All changes, modification and equivalent in the range of spirit and intension.
Fig. 1 is the schematic flow sheet for the webpage generating method that one embodiment of the invention is proposed, the present embodiment is with this Webpage generating method is configured as illustrating in auto-building html files device.As shown in figure 1, the auto-building html files Method includes:
S101:Elementary cell is obtained, elementary cell be used to build webpage.
In an embodiment of the present invention, it can obtain basic according to web page contents to be created with project development personnel The configuration information of unit and each elementary cell.Wherein, web page contents to be created are project development personnel The required web page contents of project of exploitation, web page contents to be created are used for the business work(for realizing project user Energy.
For example, during software project development, project development personnel know that business is needed at project user Ask, carry out demand analysis tentatively to summarize web page contents to be created.Web page contents to be created can be by The form of document, picture or INTERFACE MODEL is presented.
In an embodiment of the present invention, elementary cell is the abstract of the minimum unit of composition webpage, is to constitute net The element of page, referring to Fig. 2, Fig. 2 is that elementary cell and the structure of pattern memory access are shown in the embodiment of the present invention It is intended to, elementary cell can include common components, text element, picture element, material group, component, with And module, wherein, material group can include common components, text element, picture element, component again, with And module, the business function of different project users can be realized by different elementary cells.
Alternatively, common components can be, for example, button, and text element can be, for example, text box, picture member Part can be, for example, trade mark Logo display boxes, and material group can be such as comprising button, text box, component example It is such as positioning component, engine module, module is, for example, title bar, navigation bar etc., and the embodiment of the present invention is to this It is not restricted.
In an embodiment of the present invention, configuration information is the attribute information of elementary cell, different primary elements Configuration information it is different, the configuration information of different elementary cells is used to support elementary cell to realize different business Function, if for example, the configuration information of common components includes title and hyperlink, title configuration information can For identify common components concrete function, and hyperlink configuration information can be used for realize it is general by operating Logical element is to be linked to corresponding jump page, if the configuration information of text element includes title and hyperlink, Then the title configuration information can be used for the content of text for identifying text element, and hyperlink configuration information can be with For other content of text associated by text element to be presented.Alternatively, project development personnel can be according to treating The web page contents of establishment analyze the configuration information for obtaining each elementary cell in advance, the embodiment of the present invention to this not It is restricted.
Example is presented by graphic form with web page contents to be created, referring to Fig. 3, Fig. 3 is implementation of the present invention Web page contents schematic diagram to be created in example, it is assumed that project development personnel know business demand at project user, The interface of the homepage of certain e-commerce website of exploitation is needed, project user is by business demand with as shown in Figure 3 Picture presentation give project development personnel, then project development personnel need net to be created is taken out according to Fig. 3 Elementary cell in page content, and each configuration information of elementary cell, according to Fig. 3, project development people Member can take out search button 31, trade mark Logo display boxes 32, text box 33, navigation bar 34, and The elementary cells such as picture presentation frame 35, different elementary cells can realize different business functions, concrete example Such as, user can initiate the search of the information such as commodity or shop by clicking on search button 31, can pass through Embedded trade mark Logo pictures know the trade mark Logo of the e-commerce website in trade mark Logo display boxes 32 Deng by that analogy.Also, project development personnel can also take out web page contents to be created according to Fig. 3 In each elementary cell configuration information, it is specific for example, the title " search " of button in search button 31, The hyperlink path in trade mark Logo pictures, text box 33 in trade mark Logo display boxes 32, and lead The configuration information such as " day cat, poly- to one's profit, supermarket, top news " in boat column 34.
S102:Elementary cell is arranged in blank project file.
In an embodiment of the present invention, blank project file can be created by project development personnel.Project development Personnel can arrange according in webpage to be created after blank project file is created in blank project file Hold the elementary cell got.
Alternatively, the block of needs for example can be deployed in blank by project development personnel by way of dragging In project file, and elementary cell is arranged within a block, to realize net according to the business demand of project user The preliminary of the page page is built.
In an embodiment of the present invention, it can be treated by disposing multiple blocks in blank project file to show The web page contents of establishment, or, it can also be treated using blank project file as an independent block to show The web page contents of establishment.
It is understood that different blocks can include different or identical elementary cell, different areas Block includes the web page contents to be created of different subjects, the different business function for realizing.
Wherein, block is a kind of organizational form of webpage, webpage is considered as by one can from top to down Individual independent block composition, is not present overlapping between each block and other blocks, width and height are by interior Portion is defined.For example, banner block, title block, or product list block.
For example, search button 31, trade mark Logo display boxes 32 in web page contents to be created Fig. 3, Text box 33, navigation bar 34, and the elementary cell such as picture presentation frame 35, can be first in blank engineering Different blocks are set in file, for example, trade mark block, search block can be set, and navigation block, And picture element is set in trade mark block, and for showing trade mark Logo, in search block settings button element, For generating search button, text box and navigation bar are set in navigation block, the embodiment of the present invention is not made to this Limitation.
S103:By pattern memory access corresponding with elementary cell, the pattern of elementary cell is set, to obtain Project file after setting, the project file after setting be used to generate webpage.
In an embodiment of the present invention, pattern memory access is deposited including size memory access, background access device, frame Take device, font typesetting memory access, hyperlink memory access, layout memory access, shade memory access and positioning access One or more in device.
In an embodiment of the present invention, the project file after setting is project development personnel in blank project file Middle arrangement elementary cell simultaneously sets the project file after the pattern of elementary cell, has in the project file after setting Body can be for example including one or more block, and one or more elementary cell.
In an embodiment of the present invention, the pattern of elementary cell is, for example, the samples such as the height of elementary cell, width Formula.
For example, size memory access allows to set the height of elementary cell, width or sets height to be auto. Background access device allows fill color, background picture and the gradient color for setting elementary cell.Frame memory access allows The frame and fillet of elementary cell are set.Font typesetting memory access allows the font attribute for setting text element, Including lower Column Properties:font-family、font-weight、font-style、text-align、 font-style、text-transform、color、font-size、opacity、line-height、 letter-spacing、text-indent.Hyperlink memory access allows picture element, text element, general Logical element is converted into a primary element with hyperlink, and hyperlink address and hyperlink can be set to open Mode.Layout memory access allows to set the layout type of a block to be laid out (Absolute for absolute fix Layout) or streaming layout (Float Layout).Shade memory access allows the vulva for setting elementary cell Shadow, interior shade and text shade.Positioning memory access allows the positioning method for setting component) for relative positioning or Absolute fix.
Alternatively, project development personnel can select what is needed according to the required web page contents of project of exploitation Pattern memory access, and pattern memory access as needed in project development process sets the pattern of elementary cell, To meet the business demand of project owning user, for example, when project development personnel need realization to make current web page When being back to the function of previous webpage, it can arrange common by way of dragging in blank project file Button in element, it is possible to which button is set to by the button with hyperlink path by hyperlink memory access, So that when project owning user is clicked on, current browse webpage can be made to jump to previous browse The page, the embodiment of the present invention is not restricted to this.
In an embodiment of the present invention, referring to Fig. 2, the corresponding pattern memory access of elementary cell accesses for size Device, background access device, frame memory access, font typesetting memory access, hyperlink memory access, layout memory access, One or more combinations in shade memory access and positioning memory access, the sample corresponding to different elementary cells The combination of formula memory access is different or identical, by the combination of different pattern memory accesses to different substantially single The pattern of member is configured, and disclosure satisfy that the diversified business demand of project user.
In an embodiment of the present invention, the combination of the pattern memory access corresponding to different elementary cells can be as Lower example:
The corresponding pattern memory access of common components include size memory access, background access device, frame memory access, Shade memory access, and hyperlink memory access.
The corresponding pattern memory access of text element includes size memory access, background access device, font typesetting access Device, frame memory access, shade memory access, and hyperlink memory access.
The corresponding pattern memory access of picture element include size memory access, frame memory access, shade memory access, Hyperlink memory access.
The corresponding pattern memory access of material group includes layout memory access, size memory access, background access device, side Frame memory access, and shade memory access.
The corresponding pattern memory access of component includes positioning memory access, size memory access, background access device, frame Memory access, and shade memory access.
The corresponding pattern memory access of module includes size memory access, background access device, frame memory access, and Shade memory access.
For example, search button 31, trade mark Logo display boxes 32 in web page contents to be created Fig. 3, Text box 33, navigation bar 34, and the elementary cell such as picture presentation frame 35, in the business of blank project file Picture element is set in mark block, for showing trade mark Logo, in search block settings button element, is used for Search button is generated, can be further according to different bases after navigation block sets text box and navigation bar Pattern memory access corresponding to this unit sets the pattern of elementary cell, specifically such as, can be according to picture element Corresponding size memory access sets the length and width size of trade mark Logo display boxes 32, is set according to frame memory access Color and thickness of the frame of trade mark Logo display boxes 32 etc., can also be accessed according to the size of common components Device sets the length and width size of search button 31, and the background color of search button 31 is set according to background access device, The pattern such as hyperlink path of search button 31 is set according to hyperlink memory access, the embodiment of the present invention to this not It is restricted.
Alternatively, in another embodiment, as shown in figure 4, this method also includes:
S401:Purpose project file is generated according to the project file after setting.
In an embodiment of the present invention, purpose project file can be bag corresponding with the project file after setting File containing program code, it is to be understood that during project development, the demand of project user can Can be one or more webpage to be created, the project file after each setting, which can be corresponded to, realize a net The function of page, then project file one purpose project file of correspondence after each setting, the purpose project file In comprising realizing the program code of corresponding web traffic function to be created.
In an alternate embodiment, can be comprising in the project file after setting in purpose project file The corresponding program code of elementary cell.Under a kind of embodiment, the program code in purpose project file can Think intermediate program codes, further, project development personnel can be in the interlude in purpose project file The configuration information of each elementary cell is configured in code, to complete building for final webpage.
S402:Purpose project file is configured according to the configuration information of elementary cell, and according to postponing Purpose project file generated webpage.
In an embodiment of the present invention, can be according to the configuration information of each elementary cell to purpose project file In intermediate program codes configured, after configuration is finished, according to purpose project file generated webpage to take Build Webpage.Project development personnel for example can be by filling base in the program code of purpose project file The configuration information of this unit, realizes the configuration of web data, after filling configuration is finished, can be according to postponing Purpose project file generated webpage to build Webpage.
If for example, the elementary cell in project file after setting includes button, text box, and trade mark Logo display boxes, purpose project file corresponding with the project file after the setting includes and button, text Frame, and the corresponding intermediate program codes of trade mark Logo display boxes, and project development personnel are previously according to project The configuration information that the business demand of user gets elementary cell is:The title " return " of button, text box Word content " news ", and trade mark Logo display boxes picture Logo, then project development personnel can be by The picture of the title " return " of button, the word content " news " of text box, and trade mark Logo display boxes Logo is filled into the intermediate program codes of purpose project file, to realize building for final webpage.
Alternatively, as shown in figure 4, the webpage generating method also includes:
S403:Webpage corresponding program generation will be used as with the web page program code in the purpose project file postponed Code is preserved.
Alternatively, web page program code can be, for example, HyperText Markup Language (HyperText Markup Language, HTML) code can also be, for example, XAML (eXtensible Application Markup Language, XAML) code, the embodiment of the present invention is not restricted to this.
Alternatively, as shown in figure 5, Fig. 5 is structure of web page schematic diagram in the embodiment of the present invention, wherein, with Comprising trade mark block, title block and product list block example in structure of web page, including Webpage 51, Block 52, and elementary cell 53, wherein, the elementary cell included in trade mark block can such as picture Elementary cell included in element trade mark Logo display boxes, title block can such as text element, product Elementary cell included in list block can such as text element and common components (such as button).
For example, as shown in figure 5, project development personnel generation webpage during, can be in auto-building html files Newly-built blank project file in device, and by the layout memory access in pattern memory access in blank project file Picture element, is drawn in trade mark block, by text element by three blocks of middle arrangement by way of dragging It is drawn in title block, text element and common components is drawn in product list block, and according to treating The web page contents of establishment choose corresponding pattern memory access and the pattern of the elementary cell in each block are set Put, it is possible to synchronous generation purpose project file, now, in purpose project file include with each block The corresponding intermediate program codes of elementary cell, project development personnel can also according to elementary cell match somebody with somebody confidence Cease and (such as depositing the trade mark Logo of business demand is configured to the intermediate program codes of purpose project file Path is stored up as parameter, is write in the corresponding intermediate program codes of trade mark Logo display boxes, or by text Hold as in the corresponding intermediate program codes of parameter read-in product list block Chinese version element, by that analogy), Further, after project development personnel depaly finishes purpose project file, purpose project file can be uploaded Purpose project file is issued on the internet to server end, and by server end, by the mesh configured Project file generation webpage is marked, further, alternatively, project development personnel can be by purpose project file Web page program code preserved as the corresponding program code of webpage.
In this step, individualized webpage can be built by way of this design Webpage by elementary cell, The program code that different blocks web page contents are realized by project development personnel manual editing is avoided, is changed by system The purpose project file that the project file generation postponed according to cloth includes web page program code, being capable of quick response Business demand.
In the present embodiment, by arranging elementary cell in blank project file, and by with elementary cell pair The pattern memory access answered sets the pattern of elementary cell, to obtain the project file after setting, wherein, set Project file afterwards be used to generate webpage, auto-building html files efficiency that can be effectively in Improving Project development process.
Fig. 6 is the schematic flow sheet for the webpage generating method that another embodiment of the present invention is proposed, as shown in fig. 6, After the step S402 shown in Fig. 4, following several steps can be included:
S601:The modification instruction of webpage is received, and according to the configuration information of modification instruction modification elementary cell.
It is understood that during software project development, the demand of project user is likely to be dynamic Change, the later maintenance and management for the ease of project development personnel are, it is necessary to realize that Webpage is substantially single The modification of first configuration information.
In an embodiment of the present invention, if the demand of project user produces change, project development personnel's root The configuration information of elementary cell is changed according to the project user demand after renewal.
For example, with reference to Fig. 3, picture element is set in the trade mark block of blank project file, for showing Trade mark Logo, in search block settings button element, for generating search button, text is set in navigation block This frame and navigation bar, in the configuration information of configuration picture element, button member, text box, and navigation bar Afterwards, the configuration information can also be modified according to the modification of webpage instruction, for example, picture can be updated Trade mark Logo in element, the title of renewal button member, or update the hyperlink path of text box etc., The embodiment of the present invention is not restricted to this.
S602:Purpose project file is configured according to amended configuration information, new root of laying equal stress on is according to configuration Purpose project file generated webpage afterwards.
In an embodiment of the present invention, can be according to the configuration information of amended elementary cell to purpose project The intermediate program codes of file are configured, after configuration is finished, again according to the purpose project text postponed Part generates webpage to update Webpage.
In the present embodiment, purpose project file is carried out by the configuration information according to amended elementary cell Configuration,, can again according to purpose project file generated webpage to update Webpage after configuration is finished The modification of Webpage elementary cell configuration information is realized, is easy to the later maintenance and management of project development personnel, Auto-building html files efficiency in further Improving Project development process.
Fig. 7 is the structural representation for the auto-building html files device that another embodiment of the present invention is proposed, as shown in fig. 7, The auto-building html files device 70 includes:
Acquisition module 701, for obtaining elementary cell, elementary cell be used to build webpage.
Alternatively, elementary cell include common components, text element, picture element, material group, component and One or more in module.
Module 702 is arranged, for arranging elementary cell in blank project file.
Setup module 703, for by pattern memory access corresponding with elementary cell, setting elementary cell Pattern, to obtain the project file after setting, the project file after setting be used to generate webpage.
Alternatively, pattern memory access includes size memory access, background access device, frame memory access, font row Version memory access, hyperlink memory access, layout memory access, shade memory access and positioning memory access in one kind or It is a variety of.
Alternatively, in another embodiment, referring to Fig. 8, the device 70 also includes:
First generation module 704, for generating purpose project file according to the project file after setting.
Second generation module 705, matches somebody with somebody for the configuration information according to elementary cell to purpose project file Put, and according to the purpose project file generated webpage postponed.
Preserving module 706, for webpage will to be used as with the web page program code in the purpose project file postponed Corresponding program code is preserved.
It should be noted that the foregoing explanation to webpage generating method embodiment is also applied for the embodiment Auto-building html files device 70, its realization principle is similar, and here is omitted.
In the present embodiment, by arranging elementary cell in blank project file, and by with elementary cell pair The pattern memory access answered sets the pattern of elementary cell, to obtain the project file after setting, wherein, set Project file afterwards be used to generate webpage, auto-building html files efficiency that can be effectively in Improving Project development process.
It should be noted that in the description of the invention, term " first ", " second " etc. are only used for retouching Purpose is stated, and it is not intended that indicating or implying relative importance.In addition, in the description of the invention, removing Non- to be otherwise noted, " multiple " are meant that two or more.
Any process described otherwise above or method description are construed as in flow chart or herein, table Show including it is one or more be used for realize specific logical function or process the step of executable instruction code Module, fragment or part, and the preferred embodiment of the present invention scope include other realization, its In can not by order that is shown or discussing, including according to involved function by it is basic and meanwhile in the way of or In the opposite order, perform function is carried out, this should be by embodiments of the invention person of ordinary skill in the field Understood.
It should be appreciated that each several part of the present invention can be realized with hardware, software, firmware or combinations thereof. In the above-described embodiment, multiple steps or method can in memory and by suitable instruction be held with storage The software or firmware that row system is performed are realized.If for example, realized with hardware, and in another embodiment party It is the same in formula, it can be realized with any one of following technology well known in the art or their combination:Have For the discrete logic for the logic gates that logic function is realized to data-signal, with suitable combination The application specific integrated circuit of logic gates, programmable gate array (PGA), field programmable gate array (FPGA) Deng.
Those skilled in the art are appreciated that to realize the whole or portion that above-described embodiment method is carried It can be by program step by step to instruct the hardware of correlation to complete, described program can be stored in a kind of meter In calculation machine readable storage medium storing program for executing, the program upon execution, including one or a combination set of the step of embodiment of the method.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing module, Can also be that unit is individually physically present, can also two or more units be integrated in a module In.Above-mentioned integrated module can both be realized in the form of hardware, it would however also be possible to employ software function module Form is realized.If the integrated module is realized using in the form of software function module and is used as independent product Sale in use, can also be stored in a computer read/write memory medium.
Storage medium mentioned above can be read-only storage, disk or CD etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", The description of " specific example " or " some examples " etc. means to combine the specific spy that the embodiment or example are described Levy, structure, material or feature are contained at least one embodiment of the present invention or example.In this explanation In book, identical embodiment or example are not necessarily referring to the schematic representation of above-mentioned term.Moreover, retouching Specific features, structure, material or the feature stated can be in any one or more embodiments or example Combine in an appropriate manner.
Although embodiments of the invention have been shown and described above, it is to be understood that above-described embodiment It is exemplary, it is impossible to be interpreted as limitation of the present invention, one of ordinary skill in the art is the present invention's In the range of above-described embodiment can be changed, change, replace and modification.

Claims (10)

1. a kind of webpage generating method, it is characterised in that comprise the following steps:
Elementary cell is obtained, the elementary cell be used to build webpage;
The elementary cell is arranged in blank project file;
By pattern memory access corresponding with the elementary cell, the pattern of the elementary cell is set, to obtain The project file after setting is taken, the project file after the setting be used to generate the webpage.
2. webpage generating method as claimed in claim 1, it is characterised in that after the acquisition is set After project file, in addition to:
Purpose project file is generated according to the project file after the setting;
The purpose project file is configured according to the configuration information of the elementary cell, and according to configuration Webpage described in purpose project file generated afterwards.
3. webpage generating method as claimed in claim 2, it is characterised in that also include:
It regard the web page program code with the purpose project file postponed as the corresponding program of the webpage Code is preserved.
4. webpage generating method as claimed in claim 1, it is characterised in that the pattern memory access includes Size memory access, background access device, frame memory access, font typesetting memory access, hyperlink memory access, cloth One or more in office's memory access, shade memory access and positioning memory access.
5. webpage generating method as claimed in claim 2, it is characterised in that the elementary cell includes general One or more in logical element, text element, picture element, material group, component and module.
6. a kind of auto-building html files device, it is characterised in that including:
Acquisition module, for obtaining elementary cell, the elementary cell be used to build webpage;
Module is arranged, for arranging the elementary cell in blank project file;
Setup module, for by pattern memory access corresponding with the elementary cell, setting described substantially single The pattern of member, to obtain the project file after setting, it is described that the project file after the setting is used for generation Webpage.
7. auto-building html files device as claimed in claim 6, it is characterised in that also include:
First generation module, for generating purpose project file according to the project file after the setting;
Second generation module, enters for the configuration information according to the elementary cell to the purpose project file Row configuration, and the webpage according to the purpose project file generated postponed.
8. auto-building html files device as claimed in claim 7, it is characterised in that also include:
Preserving module, for using the web page program code with the purpose project file postponed as described The corresponding program code of webpage is preserved.
9. auto-building html files device as claimed in claim 6, it is characterised in that the pattern memory access includes Size memory access, background access device, frame memory access, font typesetting memory access, hyperlink memory access, cloth One or more in office's memory access, shade memory access and positioning memory access.
10. auto-building html files device as claimed in claim 7, it is characterised in that the elementary cell includes One or more in common components, text element, picture element, material group, component and module.
CN201610195614.9A 2016-03-30 2016-03-30 webpage generating method and device Pending CN107291429A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610195614.9A CN107291429A (en) 2016-03-30 2016-03-30 webpage generating method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610195614.9A CN107291429A (en) 2016-03-30 2016-03-30 webpage generating method and device

Publications (1)

Publication Number Publication Date
CN107291429A true CN107291429A (en) 2017-10-24

Family

ID=60087966

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610195614.9A Pending CN107291429A (en) 2016-03-30 2016-03-30 webpage generating method and device

Country Status (1)

Country Link
CN (1) CN107291429A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113076291A (en) * 2021-04-27 2021-07-06 杭州安恒信息技术股份有限公司 File positioning method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101807209A (en) * 2010-04-14 2010-08-18 深圳市同洲电子股份有限公司 Method and system for manufacturing webpage, client and server
US8595690B2 (en) * 2010-04-27 2013-11-26 Verizon Patent And Licensing Inc. Code generation
CN103631865A (en) * 2013-11-01 2014-03-12 北京奇虎科技有限公司 Webpage generating method and device
CN103678509A (en) * 2013-11-25 2014-03-26 北京奇虎科技有限公司 Method and device for generating webpage template
CN104408155A (en) * 2014-12-04 2015-03-11 北京京东尚科信息技术有限公司 Method and device for generating webpage codes, and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101807209A (en) * 2010-04-14 2010-08-18 深圳市同洲电子股份有限公司 Method and system for manufacturing webpage, client and server
US8595690B2 (en) * 2010-04-27 2013-11-26 Verizon Patent And Licensing Inc. Code generation
CN103631865A (en) * 2013-11-01 2014-03-12 北京奇虎科技有限公司 Webpage generating method and device
CN103678509A (en) * 2013-11-25 2014-03-26 北京奇虎科技有限公司 Method and device for generating webpage template
CN104408155A (en) * 2014-12-04 2015-03-11 北京京东尚科信息技术有限公司 Method and device for generating webpage codes, and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113076291A (en) * 2021-04-27 2021-07-06 杭州安恒信息技术股份有限公司 File positioning method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
US11294968B2 (en) Combining website characteristics in an automatically generated website
US20130326333A1 (en) Mobile Content Management System
JP4997749B2 (en) Document processing method, program, and system
US20090049406A1 (en) Display/layout methods and apparatuses including content items and display containers
CN103631865B (en) Webpage generating method and equipment
CN102609425A (en) Template for displaying data
CN101604339B (en) Method for online customization of portal system and portal customization system
US20100161586A1 (en) System and method of multi-page display and interaction of any internet search engine data on an internet browser
US20100179949A1 (en) Method and system for an internet browser add-on providng simultaneous multiple interactive websites on one internet browser window
CN104035753A (en) Double-WebView customized page display method and system
CN103198074A (en) Page design method and system for dynamic publishing website
CN105528452A (en) Method and system for loading page data
CN108595697A (en) Webpage integrated approach, apparatus and system
CN105912613A (en) Website template quick migration method
US20120192047A1 (en) Systems and methods for building complex documents
US20170109442A1 (en) Customizing a website string content specific to an industry
CN106055668A (en) Data and service mixed loading system
CN106886398A (en) The extracting method and equipment of a kind of CSS
US20110145717A1 (en) Web-browsing system
CN107193549A (en) Webpage quick development method based on metadata
CN107291429A (en) webpage generating method and device
JP2007304644A (en) Static web page creation method, program, recording medium, and static web page creation management system
KR100962342B1 (en) System and method for providing creation, registration and management service of homepage
CN107644082A (en) Information search and display methods and device
CN106484823A (en) A kind of amending method of CSS file, device and computer-readable medium

Legal Events

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

Application publication date: 20171024

RJ01 Rejection of invention patent application after publication