CN108197257A - Html page generation method, device, equipment and storage medium - Google Patents

Html page generation method, device, equipment and storage medium Download PDF

Info

Publication number
CN108197257A
CN108197257A CN201711488128.7A CN201711488128A CN108197257A CN 108197257 A CN108197257 A CN 108197257A CN 201711488128 A CN201711488128 A CN 201711488128A CN 108197257 A CN108197257 A CN 108197257A
Authority
CN
China
Prior art keywords
component
common component
component library
html page
library
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
CN201711488128.7A
Other languages
Chinese (zh)
Inventor
袁思思
李文彬
黄琳
宁成梁
黄栋明
刘宇
罗伟春
郑名鸿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Lexin Software Technology Co Ltd
Original Assignee
Shenzhen Lexin Software Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Lexin Software Technology Co Ltd filed Critical Shenzhen Lexin Software Technology Co Ltd
Priority to CN201711488128.7A priority Critical patent/CN108197257A/en
Publication of CN108197257A publication Critical patent/CN108197257A/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
    • G06F16/986Document structures and storage, e.g. HTML extensions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the invention discloses a kind of html page generation method, device, equipment and storage medium, the method includes:Common component library is built, wherein, the common component library includes displaying class component and interactive class component;In the generating process of html page, the component in the common component library is called, to generate html page, the process of the too long in flow of waste of human resource and page code publication audit is avoided, the formation efficiency of the HTML5 pages can be effectively improved.

Description

Html page generation method, device, equipment and storage medium
Technical field
The present embodiments relate to field of computer technology more particularly to a kind of html page generation method, device, equipment And storage medium.
Background technology
With the fast development of internet information, more and more user's customs are in mobile terminal browsing pages or purchase quotient Product.
HTML (HyperText Markup Language, hypertext markup language) be for " webpage create and it is other can be A kind of markup language of the information seen in web browser " design.The HTML5 pages are a kind of standards, by label symbol come The various pieces in mobile terminal webpage to be shown are marked, include picture, link and music etc..At present, operation activity The HTML5 pages have the relatively fixed template of several sets, i.e., the interactive module of the loose-leaf displaying of each theme has similar or phase Same logic.
But developer still need to according to design original text, the block code of overlapping development identical function, cause it is exploitative not It rationally utilizes, waste of human resource is serious and the too long in flow of page code publication audit.
Invention content
The embodiment of the present invention provides a kind of html page generation method, device, equipment and storage medium, can improve HTML5 efficiency of page generation.
In a first aspect, an embodiment of the present invention provides a kind of html page generation method, including:
Common component library is built, wherein, the common component library includes displaying class component and interactive class component;
In the generating process of html page, the component in the common component library is called, to generate html page.
Optionally, the common component library is online version, calls the component in the common component library, including:
Determine the corresponding original server in common component library;
Based on the original server, the component in the common component library is called.
Optionally, the common component library is local version, calls the component in the common component library, including:
By the common component library storage to local server;
Based on the local server, the component in the common component library is called.
Optionally, it after structure common component library, further includes:
Based on the common component library, Visual Editor is built;
Correspondingly, the component in the common component library, generates html page:
On the Visual Editor, the component in the common component library is called, to generate html page.
Optionally, it further includes:
The common component library and the code of the Visual Editor are stored, for downloading.
Optionally, the html page is the HTML5 pages, and the common component library is the component of JavaScript types Library.
Second aspect, the embodiment of the present invention additionally provide a kind of html page generating means, including:
Component Gallery build module, for building common component library, wherein, the common component library include displaying class component with Interactive class component;
Page generation module, in the generating process of html page, calling the component in the common component library, with Generate html page.
Optionally, the common component library is online version, and the page generation module is specifically used for:
Determine the corresponding original server in common component library;
Based on the original server, the component in the common component library is called.
Optionally, the common component library is local version, and the page generation module is specifically additionally operable to:
By the common component library storage to local server;
Based on the local server, the component in the common component library is called.
Optionally, it further includes:Platform construction module;
Platform construction module, for after structure common component library, based on the common component library, structure visualization to be compiled Collect platform;
Correspondingly, the page generation module is specifically used for:
On the Visual Editor, the component in the common component library is called, to generate html page.
Optionally, it further includes:Code download module.
Code download module, for the common component library and the code of the Visual Editor to be stored, For downloading.
Optionally, the html page is the HTML5 pages, and the common component library is the component of JavaScript types Library.
The third aspect, the embodiment of the present invention additionally provide a kind of equipment, and the equipment includes:
One or more processors;
Memory, for storing one or more programs;
When one or more of programs are performed by one or more of processors so that one or more of processing Device realizes the html page generation method that any embodiment of the present invention provides.
Fourth aspect, the embodiment of the present invention additionally provide a kind of computer readable storage medium, are stored thereon with computer Program realizes the html page generation method that any embodiment of the present invention provides when the program is executed by processor.
An embodiment of the present invention provides a kind of html page generation technical solution, by building common component library, wherein, The common component library includes displaying class component and interactive class component;In the generating process of html page, call described public Component in Component Gallery to generate html page, avoids the flow mistake of waste of human resource and page code publication audit Long process can effectively improve the formation efficiency of the HTML5 pages.
Description of the drawings
Fig. 1 is a kind of flow chart of html page generation method in the embodiment of the present invention one;
Fig. 2A is a kind of flow chart of html page generation method in the embodiment of the present invention two;
Fig. 2 B are a kind of structure diagrams of Visual Editor in the embodiment of the present invention two;
Fig. 2 C are a kind of schematic diagrames of Visual Editor generation code in the embodiment of the present invention two;
Fig. 3 is a kind of structure chart of html page generating means in the embodiment of the present invention three;
Fig. 4 is a kind of structure diagram of equipment in the embodiment of the present invention four.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention rather than limitation of the invention.It also should be noted that in order to just Part related to the present invention rather than entire infrastructure are illustrated only in description, attached drawing.
With the fast development of Internet technology, more and more people's selection carries out shopping online using mobile terminal.Its In, shopping website includes thousands of sellers and shows commodity so that consumer is bought.Especially in festivals or holidays, shopping network station owner Inscribe interface display multiclass commodity and the advertising campaign of multiple businessmans.Usual businessman is by the merchandise news and display effect of promotion Requirements is waited to inform website personnel to make related content.But most of different types of businessmans or the businessman of identical type promote Pin mode and ways of presentation are consistent, and only particular content is different.And existing technical staff also needs correlative code carrying out weight For copy/paste to realize related bandwagon effect, process is cumbersome, and due to comprising a large amount of codes, needing to examine layer by layer in current code publication In the case of criticizing audit, if operation needs to update action message, it certainly will need include largely update page codes and examine Core, review efficiency is low, delays the merchandise display time.This application provides a kind of html page generation methods, can quickly generate The HTML5 pages, it is specific as follows:
Embodiment one
Fig. 1 is the flow chart of a kind of html page generation method that the embodiment of the present invention one provides, and the present embodiment is applicable In the situation of various html pages generation, this method can be held by html page generating means provided in an embodiment of the present invention Row, which can be used software and/or the mode of hardware is realized, which can be integrated in any offer html page systematic function Equipment in, such as can be computer or mobile terminal (such as mobile phone, tablet computer).As shown in Figure 1, specific packet It includes:
S110, structure common component library.
Wherein, the common component library includes displaying class component and interactive class component.
Wherein, common component library can be the Component Gallery for including but not limited to JavaScript types.Common component library is will The executable file that code wrap to certain format is write, the Component Gallery directly invoked when writing code for developer.Example Property, it may include showing class component and interactive class component in common component library, wherein, displaying class component can be reached to user Show the component of purpose, specifically for example ceiling navigation, picture are replaced, right side pulls, one row picture of a line and a line two arrange figure Piece etc., interactive class component can be that user is needed to participate, and to reach the component of interactive purpose, specifically for example shake, nine Palace lattice prize drawing, disk prize drawing etc..
Exemplary, common component library (namely displaying class component and interactive class component) can be can be multiple comprising realizing The collection in the sub-component library of function.Wherein, the code that can realize certain function is included in each sub-component library.For example, common group It may include the sub-component library of multiple functions such as ceiling navigation, nine grids prize drawing, disk prize drawing and Quick Response Code generation in part library, inhale Top navigation sub-component library storage can realize the code of navigation feature, and nine grids prize drawing sub-component library storage can realize nine grids Code of lottery function etc..
Specifically, developer can establish common component library according to website demand.Wherein, the title in common component library is not It is construed as limiting, such as can be " one.js ".It is specific for example, developer can be by the associated component of common function and common The correlative code of interactive class component is extracted into JavaScript Component Galleries, and can be using the function of realization as sub-component library Title, for calling.For example, if developer stores the correlative code that nine grids are drawn a lottery to common component library, can incite somebody to action " nine grids prize drawing " as sub-component library title for call.
It should be noted that in order to meet the use demand of different operating personnel, common set provided by the embodiments of the present application Part library can be set as two versions, respectively online version and local version, and the wherein common component library of online version can be with It is standalone versions, the common component library of local version can be CMD (general module definition) modularization version.
S120, in the generating process of html page, the component in the common component library is called, to generate HTML page Face.
In the present embodiment, html page is including but not limited to the HTML5 pages, and wherein the HTML5 pages is in mobile terminals Display may include the manifold webpage such as music, picture and connection.Such as the festive occasion on Christmas Day, the HTML of shopping platform The page can open the theme page or online shopping site about Christmas Day advertising campaign shown after shopping software The shown theme page about Christmas Day.Developer, can be according to demand in common component when making html page Corresponding component is called in library.
It should be noted that in the present embodiment, the generating process of html page, can be under the instruction of user, Have the function of to be made in the online webpage for generating html page or in the application for having the function of to generate html page Webpage making is carried out in software.Movable component javascript libraries technological development the HTML5 pages can in be called, avoid weight Identical function module is developed again, improves development efficiency.
The embodiment of the present invention by building common component library, wherein, the common component library include displaying class component with mutually Dynamic class component;In the generating process of html page, the component in the common component library is called, to generate html page, is kept away The process of the too long in flow of waste of human resource and page code publication audit is exempted from, the HTML5 pages can be effectively improved Formation efficiency.
Illustratively, the common component library is online version, calls the component in the common component library, including:Really The fixed corresponding original server in common component library;Based on the original server, call in the common component library Component.
Wherein, original server can be that developer creates the server stored behind common component library.
Specifically, developer, after common component library is created, the research staff of other departments can call common component Library, if developer, by common component library storage to original server, the research staff of other departments is calling common component library Afterwards, it can be called from original server.
For example, if the common component library name that developer creates is known as " one.js ", then developer or other portions The program generation for calling original server can be written when writing program and needing to call the common component library in the research staff of door Code:
<script src>=" http://cecone.fecqile.cn/build/onejs/standalone/onejs/ onejs-
standalone.min.js”></script>
By writing above procedure code, calling common component library can be positioned namely write routing information.Writing road After diameter information, the sub-component of some function of routine call can be write, the program code write for example can be:
<script>
Onejs.SwiperScrolltap({“navContainer”:“#nav_warp”})
</script>
It should be noted that the above-mentioned program code write is the program code for calling navigation arrangement.It is above-mentioned by writing Program code can call the navigation arrangement in original server.
It should be noted that in the present embodiment, the version in common component library can be standalone versions.
The embodiment of the present application is by determining the corresponding original server in common component library;Based on the original service Device calls the component in the common component library, using standalone edition codes, after can timely using update or optimization Assembly function provides the online method for obtaining component in common component library, can effectively improve the generation effect of the HTML5 pages Rate.
Illustratively, the common component library is local version, calls the component in the common component library, including:It will The common component library storage is to local server;Based on the local server, the component in the common component library is called.
Wherein, server of the local server for developer or other departments research staff oneself not creates public The original server stored after Component Gallery altogether.
Specifically, developer, after common component library is created, the research staff of other departments can call common component Common component library can also be downloaded and stored to the local server of oneself, then call certain in the local server of oneself by library The component of function.
It should be noted that in the present embodiment, the version in common component library can be CMD versions.
For example, if the common component library name that developer creates is known as " one.js ", then developer or other portions The research staff of door, can will be under the common component library in original server when writing program and needing to call the common component library Local server is loaded onto, the program code write for example can be:
<seajs.config({
base:' path of the module of oneself ',
paths:{‘onejs’:' path of file where onejs ' }
});
By writing above procedure code, the common component library in original server can be downloaded to local server. After common component library is downloaded to local server, the config configuration attributes of seajs are first changed.Wherein, seajs is one The JavaScript module loading frames of CMD specifications are followed, can realize the Development of Modular and load mechanism of JavaScript. By changing the config configuration attributes of seajs, common component library is achieved the purpose that mark in local server store path.
By writing above procedure code, the common component library in local server can be positioned to call common component Library.After routing information is write, the sub-component of some function of routine call can be write, the program code write for example can be with It is:
<script>
Seajs.use([‘Onejs/Swiper/1.0/Swiper.js’,‘Onejs/Swiper_Scrolltap/1.0/ Swiper Scrolltap.js’],function(Swiper,Swiper Scrolltap){
Swiper Scrolltap({“navContainer”:“#nav_warp”})
})
</script>
It should be noted that the above-mentioned program code write is the program code for calling navigation arrangement.Journey is stated by being numbered with Sequence code can call the navigation arrangement in local server.
The embodiment of the present application is by by common component library storage to local server;Based on local server, call public Component in Component Gallery, the method for providing the component in local server acquisition common component library, local disposition component code, Can the formation efficiency of the HTML5 pages can be effectively improved according to the business demand extension element customizing method and attribute of oneself.
Embodiment two
Fig. 2A is a kind of flow chart of html page generation method provided by Embodiment 2 of the present invention, and the present embodiment is above-mentioned It is further included on the basis of embodiment:Based on the common component library, Visual Editor is built;Correspondingly, according to the public affairs Component in Component Gallery altogether, generates html page:On the Visual Editor, the group in the common component library is called Part, to generate html page.
Correspondingly, the method for the present embodiment includes:
S210, structure common component library.
S220, based on the common component library, build Visual Editor.
Wherein, Visual Editor can be visual form inheritance platform, i.e., by component in common component library into The further encapsulation of row, is shown in function title in Visual Editor, so that developer uses.Wherein, Mei Gegong Energy title corresponds to a component in common component library, and each component corresponds to the code for realizing corresponding function.
Fig. 2 B are a kind of structure diagram of Visual Editor provided in this embodiment.As shown in Figure 2 B, comprising can Depending on changing editing platform 20, toolbar 21, edit box 22, navigation arrangement 23 and navigation arrangement edit box 24.Wherein, toolbar 21 Including multiple tools, as shown in Figure 2 B, the present embodiment, which schematically lists toolbar 21, can include page properties, background The tools such as color, component, text, one row picture of a line, two row picture of a line, three row picture of a line, carousel figure and hot-zone.Its In, component in toolbar 21 includes multiple sub-components, and the present embodiment schematically lists navigation, shakes and nine grids The functional unit of prize drawing.Wherein, edit box 22 is the editing area of developer, is used to implement developer and wants HTML5 pages The effect that face is presented.Developer can Visual Editor carry out component Configuration, pull generation, click editor and Generate the operations such as code.
For example, if the navigation feature component of component in toolbar 21 is drawn to the top of edit box 22, point by developer Navigation arrangement 23 is hit, then can show navigation arrangement edit box 24 on the right side of Visual Editor, for adding navigation ground Location.
It should be noted that the structure diagram of Fig. 2 B Visual Editors provided in this embodiment is only that one kind is shown Example, the application are not defined its concrete structure.
S230, in the generating process of html page, on the Visual Editor, call the common component library In component, to generate html page.
Since common component library can be divided into two versions, online version and local version, therefore, in the life of html page Into in the process, on Visual Editor, developer can also use two ways to call the component in common component library. Such as can be from original server call online version common component library in component, can also be local version Common component library is downloaded to local server, then the component in common component library is called from local server.
Illustratively, it further includes:The common component library and the code of the Visual Editor are stored, with For downloading.
Specifically, developer after Visual Editor operates, can click preservation, generation preview page effect Fruit, and generation can be clicked, it is encoded with generating corresponding HTML, so that other developers refer to and download.Such as Fig. 2 C institutes Show.Fig. 2 C are the schematic diagram that a kind of Visual Editor provided by the embodiments of the present application generates code, including visual edit Platform 20, toolbar 21, navigation arrangement edit box 24 and code viewing area 25.Wherein, code viewing area 25 is developed to receive Personnel click the operation responded after generation code, if during developer's want to save code, selecting " to determine " button, otherwise clicking The " Cancel " button.It should be noted that the code of generation can be deployed in business side oneself website by developer, business is realized The operation activity HTML5 pages quickly generate.
It should be noted that Visual Editor is the important step in self-service publication flow, by editor code portion Behind local, access O&M publication flow, account system and certain auditing flow, developer need to be only safeguarded in editing machine for administration Component, by improving assembly function or increasing component, non-developer can also issue the operation page of oneself at any time.It simultaneously can The page depending on changing editing platform generation can also introduce one.js Component Galleries in the page code of generation.
The embodiment of the present invention builds Visual Editor, is compiled in the visualization by being based on the common component library It collects on platform, calls the component in the common component library, to generate html page, can will visualize self-service editing platform portion After business site, developer only needs to safeguard the update optimization of the normal operation of editing machine and component, and access industry for administration It being engaged in after code publication flow, the non-developer for having operation demand can also make and can promote to the HTML5 loose-leafs of user, Improve the formation efficiency of the HTML5 pages.
Embodiment three
Fig. 3 is the structure diagram of a kind of html page generating means that the embodiment of the present invention three provides, and the present embodiment can Suitable for the situation of various html pages generation, which can be used software and/or the mode of hardware is realized, which can integrate In any equipment that html page systematic function is provided, such as can be that computer or mobile terminal are (such as mobile phone, flat Plate computer etc.).As shown in figure 3, it specifically includes:Component Gallery builds module 31 and page generation module 32.
Component Gallery builds module 31, for building common component library, wherein, the common component library includes displaying class component With interactive class component;
Page generation module 32, in the generating process of html page, calling the component in the common component library, To generate html page.
An embodiment of the present invention provides a kind of html page generating means, build common component library, wherein, the common set Part library includes displaying class component and interactive class component;In the generating process of html page, call in the common component library Component to generate html page, avoids the process of the too long in flow of waste of human resource and page code publication audit, energy Enough effectively improve the formation efficiency of the HTML5 pages.
On the basis of above-described embodiment, the common component library is online version, and the page generation module 32 is specific to use In:Determine the corresponding original server in common component library;Based on the original server, the common component library is called In component.
On the basis of above-described embodiment, the common component library is local version, and the page generation module 32 is specific to go back For:By the common component library storage to local server;Based on the local server, call in the common component library Component.
On the basis of above-described embodiment, further include:Platform construction module;
Platform construction module, for after structure common component library, based on the common component library, structure visualization to be compiled Collect platform;
Correspondingly, the page generation module is specifically used for:
On the Visual Editor, the component in the common component library is called, to generate html page.
On the basis of above-described embodiment, further include:Code download module.
Code download module, for the common component library and the code of the Visual Editor to be stored, For downloading.
On the basis of above-described embodiment, the html page is the HTML5 pages, and the common component library is JavaScript The Component Gallery of type.
Example IV
This implementation four provides a kind of equipment.Fig. 4 is a kind of structural representation for equipment that the embodiment of the present invention four provides Figure.Referring to Fig. 4, which includes:
One or more processors 410;
Memory 420, for storing one or more programs;
When one or more of programs are performed by one or more of processors 410 so that one or more of Processor 410 realizes the html page generation method proposed such as the embodiment of the present invention.
In Fig. 4 by taking a processor 410 as an example;Processor 410 and memory 420 can be connected by bus or other modes It connects, in Fig. 4 for being connected by bus.
Memory 420 is used as a kind of computer readable storage medium, and journey is can perform available for storage software program, computer Sequence and module, such as the corresponding program instruction/module of safety startup of system method in the embodiment of the present invention.Processor 410 is logical Cross operation and be stored in software program, instruction and module in memory 420, so as to perform the various function application of set-top box with And data processing, that is, realize above-mentioned html page generation method.
Memory 420 can mainly include storing program area and storage data field, wherein, storing program area can store operation system Application program needed for system, at least one function;Storage data field can be stored uses created data etc. according to set-top box. In addition, memory 420 can include high-speed random access memory, can also include nonvolatile memory, for example, at least one A disk memory, flush memory device or other non-volatile solid state memory parts.In some instances, memory 420 can be into One step is included relative to the remotely located memory of processor 410, these remote memories can pass through network connection to machine top Box.The example of above-mentioned network includes but not limited to internet, intranet, LAN, mobile radio communication and combinations thereof.
The html page generation method that the equipment that the present embodiment proposes is proposed with the embodiment of the present invention belongs to same invention structure Think, the technical detail of detailed description not can be found in above-described embodiment, and the present embodiment and above-described embodiment in the present embodiment With identical advantageous effect.
Embodiment five
The present embodiment provides a kind of computer readable storage mediums, are stored thereon with computer program, which is handled The html page generation method proposed such as the embodiment of the present invention is realized when device performs.
The html page generation method that the computer readable storage medium that the present embodiment proposes is proposed with the embodiment of the present invention Belong to same inventive concept, the technical detail of detailed description not can be found in embodiment one, and the present embodiment in the present embodiment There is identical advantageous effect with embodiment one.
By the description above with respect to embodiment, it is apparent to those skilled in the art that, the present invention It can be realized by software and required common hardware, naturally it is also possible to which by hardware realization, but the former is more in many cases Good embodiment.Based on such understanding, what technical scheme of the present invention substantially in other words contributed to the prior art Part can be embodied in the form of software product, which can be stored in computer readable storage medium In, floppy disk, read-only memory (Read-Only Memory, ROM), random access memory (Random such as computer Access Memory, RAM), flash memory (FLASH), hard disk or CD etc., used including some instructions so that a set-top box (can To be personal computer, server or the network equipment etc.) perform method described in each embodiment of the present invention.
Note that it above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The present invention is not limited to specific embodiment described here, can carry out for a person skilled in the art various apparent variations, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above example to the present invention It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also It can include other more equivalent embodiments, and the scope of the present invention is determined by scope of the appended claims.

Claims (10)

1. a kind of html page generation method, which is characterized in that including:
Common component library is built, wherein, the common component library includes displaying class component and interactive class component;
In the generating process of html page, the component in the common component library is called, to generate html page.
2. according to the method described in claim 1, it is characterized in that, the common component library be online version, call the public affairs Component in Component Gallery altogether, including:
Determine the corresponding original server in common component library;
Based on the original server, the component in the common component library is called.
3. according to the method described in claim 1, it is characterized in that, the common component library be local version, call the public affairs Component in Component Gallery altogether, including:
By the common component library storage to local server;
Based on the local server, the component in the common component library is called.
4. according to any methods of claim 1-3, which is characterized in that after structure common component library, further include:
Based on the common component library, Visual Editor is built;
Correspondingly, the component in the common component library, generates html page:
On the Visual Editor, the component in the common component library is called, to generate html page.
5. it according to the method described in claim 4, it is characterized in that, further includes:
The common component library and the code of the Visual Editor are stored, for downloading.
6. according to any methods of claim 1-3, which is characterized in that the html page is the HTML5 pages, the public affairs Component Gallery is the Component Gallery of JavaScript types altogether.
7. a kind of html page generating means, which is characterized in that including:
Component Gallery builds module, for building common component library, wherein, the common component library includes displaying class component and interaction Class component;
Page generation module, in the generating process of html page, calling the component in the common component library, with generation Html page.
8. device according to claim 7, which is characterized in that the common component library is online version, the page life Into module, it is specifically used for:
Determine the corresponding original server in common component library;
Based on the original server, the component in the common component library is called.
9. a kind of equipment, which is characterized in that the equipment includes:
One or more processors;
Memory, for storing one or more programs;
When one or more of programs are performed by one or more of processors so that one or more of processors are real The now html page generation method as described in any in claim 1-6.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor The html page generation method as described in any in claim 1-6 is realized during execution.
CN201711488128.7A 2017-12-29 2017-12-29 Html page generation method, device, equipment and storage medium Pending CN108197257A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711488128.7A CN108197257A (en) 2017-12-29 2017-12-29 Html page generation method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711488128.7A CN108197257A (en) 2017-12-29 2017-12-29 Html page generation method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN108197257A true CN108197257A (en) 2018-06-22

Family

ID=62587244

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711488128.7A Pending CN108197257A (en) 2017-12-29 2017-12-29 Html page generation method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN108197257A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109062572A (en) * 2018-08-02 2018-12-21 深圳乐信软件技术有限公司 A kind of component call method, apparatus, equipment and storage medium
CN109086342A (en) * 2018-07-10 2018-12-25 长沙米拓信息技术有限公司 The method of mass production and O&M website form, medium and terminal
CN109683879A (en) * 2018-12-29 2019-04-26 北京创鑫旅程网络技术有限公司 Front end assemblies processing method and processing device
CN109960773A (en) * 2019-03-29 2019-07-02 上海中商网络股份有限公司 Page animation method, apparatus, equipment and storage medium based on HTML5
CN111199005A (en) * 2019-12-27 2020-05-26 山石网科通信技术股份有限公司 Webpage component processing method and device
CN111209009A (en) * 2018-11-21 2020-05-29 北京国双科技有限公司 Content distribution method and device, storage medium and electronic equipment
CN111381899A (en) * 2020-02-21 2020-07-07 泰康保险集团股份有限公司 Method and apparatus for developing target system
CN111984887A (en) * 2019-05-23 2020-11-24 北京京东尚科信息技术有限公司 Webpage component library loading method and device, storage medium and electronic equipment
CN112799648A (en) * 2019-11-14 2021-05-14 北京百度网讯科技有限公司 Unified framework implementation method, system, electronic equipment and storage medium
CN113010156A (en) * 2021-03-03 2021-06-22 西安建筑科技大学 General UI storehouse based on React
CN113094046A (en) * 2021-03-31 2021-07-09 青岛海尔科技有限公司 Method, device and terminal for product page development
CN113553522A (en) * 2020-04-24 2021-10-26 北京金山云网络技术有限公司 Page display method and device, electronic equipment and storage medium
CN114461205A (en) * 2022-04-13 2022-05-10 杭州比智科技有限公司 Data visualization platform and component management method suitable for data visualization platform

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140223414A1 (en) * 2013-02-05 2014-08-07 Sap Ag Paige control for enterprise mobile applications
CN105446740A (en) * 2015-11-27 2016-03-30 国网信息通信产业集团有限公司 MVVM (Model-View-View Model) architecture based Web front-end presentation system
CN106406877A (en) * 2016-09-09 2017-02-15 浪潮软件股份有限公司 Implementation method for on-line development and release of light application
CN106873991A (en) * 2017-01-20 2017-06-20 腾讯科技(深圳)有限公司 Page generation method and device
CN106951148A (en) * 2017-05-02 2017-07-14 深圳乐信软件技术有限公司 A kind of method and apparatus for switching the page

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140223414A1 (en) * 2013-02-05 2014-08-07 Sap Ag Paige control for enterprise mobile applications
CN105446740A (en) * 2015-11-27 2016-03-30 国网信息通信产业集团有限公司 MVVM (Model-View-View Model) architecture based Web front-end presentation system
CN106406877A (en) * 2016-09-09 2017-02-15 浪潮软件股份有限公司 Implementation method for on-line development and release of light application
CN106873991A (en) * 2017-01-20 2017-06-20 腾讯科技(深圳)有限公司 Page generation method and device
CN106951148A (en) * 2017-05-02 2017-07-14 深圳乐信软件技术有限公司 A kind of method and apparatus for switching the page

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109086342B (en) * 2018-07-10 2022-04-12 长沙米拓信息技术有限公司 Method, medium and terminal for mass production and operation and maintenance of website templates
CN109086342A (en) * 2018-07-10 2018-12-25 长沙米拓信息技术有限公司 The method of mass production and O&M website form, medium and terminal
CN109062572B (en) * 2018-08-02 2022-04-22 深圳乐信软件技术有限公司 Component calling method, device, equipment and storage medium
CN109062572A (en) * 2018-08-02 2018-12-21 深圳乐信软件技术有限公司 A kind of component call method, apparatus, equipment and storage medium
CN111209009B (en) * 2018-11-21 2024-02-13 北京国双科技有限公司 Content distribution method and device, storage medium and electronic equipment
CN111209009A (en) * 2018-11-21 2020-05-29 北京国双科技有限公司 Content distribution method and device, storage medium and electronic equipment
CN109683879A (en) * 2018-12-29 2019-04-26 北京创鑫旅程网络技术有限公司 Front end assemblies processing method and processing device
CN109960773A (en) * 2019-03-29 2019-07-02 上海中商网络股份有限公司 Page animation method, apparatus, equipment and storage medium based on HTML5
CN111984887A (en) * 2019-05-23 2020-11-24 北京京东尚科信息技术有限公司 Webpage component library loading method and device, storage medium and electronic equipment
CN112799648A (en) * 2019-11-14 2021-05-14 北京百度网讯科技有限公司 Unified framework implementation method, system, electronic equipment and storage medium
CN112799648B (en) * 2019-11-14 2023-08-18 北京百度网讯科技有限公司 Unified framework implementation method, system, electronic equipment and storage medium
CN111199005B (en) * 2019-12-27 2022-10-14 山石网科通信技术股份有限公司 Webpage component processing method and device
CN111199005A (en) * 2019-12-27 2020-05-26 山石网科通信技术股份有限公司 Webpage component processing method and device
CN111381899A (en) * 2020-02-21 2020-07-07 泰康保险集团股份有限公司 Method and apparatus for developing target system
CN113553522A (en) * 2020-04-24 2021-10-26 北京金山云网络技术有限公司 Page display method and device, electronic equipment and storage medium
CN113010156A (en) * 2021-03-03 2021-06-22 西安建筑科技大学 General UI storehouse based on React
CN113094046A (en) * 2021-03-31 2021-07-09 青岛海尔科技有限公司 Method, device and terminal for product page development
CN113094046B (en) * 2021-03-31 2023-12-05 青岛海尔科技有限公司 Method, device and terminal for developing product page
CN114461205A (en) * 2022-04-13 2022-05-10 杭州比智科技有限公司 Data visualization platform and component management method suitable for data visualization platform

Similar Documents

Publication Publication Date Title
CN108197257A (en) Html page generation method, device, equipment and storage medium
EP2151773B1 (en) Synchronous to asynchronous web page conversion
US10038653B2 (en) Visual editor for electronic mail
TW200821853A (en) Method for defining a wiki page layout using a wiki page
CN111428177A (en) Method and system for WEB content generation
CN112100550A (en) Page construction method and device
US11870738B2 (en) Conversation-enabled document system and method
CN109614601A (en) Form processing method, device, equipment and readable medium based on web
US20130117657A1 (en) Designing interactive web templates
US20020023112A1 (en) Graphical web page editor
CN112817591A (en) Front-end page construction method and device
CN113239672A (en) Target file editing method and device, electronic equipment and storage medium
Brown Silverlight 5 in action
CN114564199A (en) Method, device and equipment for generating use page and readable storage medium
US20130085871A1 (en) Browser based composition interface for tags linkable by webpages
Taivalsaari Mashware: The future of web applications
CN109766095A (en) A kind of thematic page creation method of activity, relevant apparatus and equipment
US20220414325A1 (en) Universal content for email template
CN109656536A (en) A kind of method and client of pushing module modularization
CN112083911A (en) Method, device, equipment and medium for generating service arrangement model
JP2005122398A (en) Dynamic document generating program, recording medium thereof, dynamic document generating device, and dynamic document generating method
Litvinavicius Exploring Blazor
Tretola et al. Professional Adobe Flex 2
CN116521162A (en) Low-code-based visual CRM system, page building method and storage medium
CN118656110A (en) Page configuration method and device

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: 20180622

RJ01 Rejection of invention patent application after publication