CN114063996A - Method and equipment for generating webpage and storage medium - Google Patents

Method and equipment for generating webpage and storage medium Download PDF

Info

Publication number
CN114063996A
CN114063996A CN202010747406.1A CN202010747406A CN114063996A CN 114063996 A CN114063996 A CN 114063996A CN 202010747406 A CN202010747406 A CN 202010747406A CN 114063996 A CN114063996 A CN 114063996A
Authority
CN
China
Prior art keywords
target
code file
generating
webpage
file
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
CN202010747406.1A
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.)
China Mobile Communications Group Co Ltd
China Mobile Suzhou Software Technology Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Suzhou 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 China Mobile Communications Group Co Ltd, China Mobile Suzhou Software Technology Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202010747406.1A priority Critical patent/CN114063996A/en
Publication of CN114063996A publication Critical patent/CN114063996A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • 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
    • G06F8/31Programming languages or programming paradigms
    • G06F8/315Object-oriented languages
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • G06F8/44Encoding
    • G06F8/447Target code generation

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)
  • Human Computer Interaction (AREA)
  • Computing Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the application discloses a method and equipment for generating a webpage and a storage medium, wherein the method for generating the webpage comprises the following steps: acquiring target webpage parameters corresponding to the target task script; the target webpage parameters comprise a target source file, a markup language and a target application environment, and the target task script is generated according to the webpage parameters of the webpage to be generated; generating a first code file according to the target source file and the markup language; the first code file is a CSS code which enables a webpage to be generated to be suitable for different page layouts; generating a second code file based on the target application environment and the first code file; the second code file is a code which enables the webpage to be generated to be suitable for different application environments; and generating a target page corresponding to the target application environment according to the second code file. The method and the device meet the development requirements of webpage display with different layouts in multiple application scenes, and are high in webpage development efficiency and better in performance.

Description

Method and equipment for generating webpage and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and an apparatus for generating a web page, and a storage medium.
Background
Under the internet wave, various websites emerge like spring shoots after rain, and businesses of various companies also start to develop online, so that more customers are attracted by reasonably-arranged and beautiful web pages, and along with the rapid development of electronic technology, a large amount of development requirements for web page display, such as a desktop browser end, a 5 th generation hypertext Markup Language (H5), a WeChat applet, and the like, are generated.
However, the development of the existing web page is limited by the technical level of developers, has the defects of low efficiency and poor quality of web page development, and only supports the fixed-size web page generation mode of the desktop browser, which not only causes that the generated web page cannot adapt to various page layouts, but also cannot meet the development requirement of web page display in a multi-application scene.
Disclosure of Invention
The embodiment of the application provides a method and equipment for generating a webpage and a storage medium, and is mainly used for solving the problems that in the existing webpage development process, the generated webpage cannot support self-adaptive layout and cannot be suitable for multi-application scene display.
The technical scheme of the embodiment of the application is realized as follows:
in a first aspect, an embodiment of the present application provides a method for generating a web page, where the method includes:
acquiring target webpage parameters corresponding to the target task script; the target webpage parameters comprise a target source file, a markup language and a target application environment, and the target task script is generated according to the webpage parameters of the webpage to be generated;
generating a first code file according to the target source file and the markup language; the first code file is used for enabling the webpage to be generated to be suitable for different page layouts;
generating a second code file based on the target application environment and the first code file; the second code file is used for enabling the webpage to be generated to be suitable for different application environments;
and generating a target page corresponding to the target application environment according to the second code file.
In a second aspect, an embodiment of the present application provides an apparatus for generating a web page, where the apparatus includes an obtaining unit and a generating unit,
the acquisition unit is used for acquiring target webpage parameters corresponding to the target task script; the target webpage parameters comprise a target source file, a markup language and a target application environment, and the target task script is generated according to the webpage parameters of the webpage to be generated;
the generating unit is used for generating a first code file according to the target source file and the markup language; the first code file is used for enabling the webpage to be generated to be suitable for different page layouts; and generating a second code file based on the target application environment and the first code file; the second code file is used for enabling the webpage to be generated to be suitable for different application environments; and generating a target page corresponding to the target application environment according to the second code file.
In a third aspect, an embodiment of the present application provides an apparatus for generating a web page, where the apparatus includes a processor, and a memory storing instructions executable by the processor, and when the instructions are executed by the processor, the method for generating a web page as described above is implemented.
In a fourth aspect, the present application provides a computer-readable storage medium, on which a program is stored, for use in an apparatus for generating a web page, where the program, when executed by a processor, implements the method for generating a web page as described above.
The embodiment of the application provides a method and equipment for generating a webpage and a storage medium, wherein the equipment for generating the webpage acquires target webpage parameters corresponding to a target task script; the target webpage parameters comprise a target source file, a markup language and a target application environment, and the target task script is generated according to the webpage parameters of the webpage to be generated; generating a first code file according to the target source file and the markup language; the first code file is used for enabling a webpage to be generated to be suitable for different page layouts; generating a second code file based on the target application environment and the first code file; the second code file is used for enabling the webpage to be generated to be suitable for different application environments; and generating a target page corresponding to the target application environment according to the second code file. That is to say, in the embodiment of the present application, the device for generating a web page not only generates a source code file capable of adapting to page display in different layouts by executing a target compiling task corresponding to a target web page parameter, but also generates a target code file capable of performing the web page display in the target application environment by combining the source code file with the target application environment, so as to implement the adaptive layout of the web page and support multi-end page display, further meet the development requirements of the web page display in different layouts in a multi-application scenario, and achieve higher web page development efficiency and better performance.
Drawings
Fig. 1 is a schematic diagram of a composition structure of an apparatus for generating a web page according to an embodiment of the present application;
fig. 2 is a schematic flow chart illustrating an implementation of a method for generating a web page according to an embodiment of the present application;
FIG. 3 is a diagram illustrating an exemplary data structure of an HTML node according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a component of an apparatus for generating a web page according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a third component of the apparatus for generating a web page according to the embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It is to be understood that the specific embodiments described herein are illustrative of the relevant application and are not limiting of the application. It should be noted that, for the convenience of description, only the parts related to the related applications are shown in the drawings.
Before further detailed description of the embodiments of the present invention, terms and expressions mentioned in the embodiments of the present invention are explained, and the terms and expressions mentioned in the embodiments of the present invention are applied to the following explanations.
1) Hypertext Markup Language (HTML): is a widely used markup language for describing web documents, which marks parts of a web page to be displayed by markup symbols. The web page file is a text file, that is, the browser can be informed how to display the contents (such as how to process the words, how to arrange the pictures, how to display the pictures, etc.) by adding a marker in the text file.
2) Cascading Style Sheets (CSS): it is often used to design the style of the web page (e.g., if one wants the link word to be blue when it is not clicked, it is a style when the word becomes red and underlined when the mouse is moved over). By setting the CSS document of the cascading style sheet, the display attributes of all parts in the HTML webpage document can be uniformly controlled, so that developers can conveniently and effectively control the appearance of the webpage.
3) Scripting language JavaScript: a client-side scripting language that is object and event-driven based and has relative security. Meanwhile, the method is also a scripting language widely used for client Web development, and is often used for adding dynamic functions to an HTML webpage, such as responding to various operations of a user. Further, through JavaScript, you can reconstruct the entire HTML document, and add, remove, change, or rearrange items on the page.
4) Document Object Model (DOM): the possibility to access and modify the content and structure of a document in a platform and language independent way is a common way to represent and process an HTML, the DOM being in fact a document model described in an object-oriented way, defining the objects needed to represent and modify the document, the behavior and properties of these objects and the relationships between these objects. To change something on a page, JavaScript needs to get access to all elements in the HTML document, which, along with the methods and properties of adding, moving, changing, or removing HTML elements, is obtained through the DOM.
At present, the development of the existing webpage is limited by the technical level of developers, the defects of low efficiency and poor quality of webpage development exist, and only a fixed-size webpage generation mode of a desktop browser end is supported, so that the generated webpage cannot adapt to various page layouts, and the development requirement of webpage display in a multi-application scene cannot be met.
In order to solve the problems of the existing mechanism for generating a web page, the embodiments of the present application provide a method and an apparatus for generating a web page, and a storage medium, and specifically, an apparatus for generating a web page not only generates a source code file capable of adapting to page display of different layouts by executing a target compiling task corresponding to a target web page parameter, but also generates a target code file capable of performing the web page display in the target application environment by combining the source code file with a target application environment, thereby implementing adaptive layout of a web page, and supporting multi-end page display, further meeting the development requirements of the web page display of different layouts in a multi-application scenario, and having higher web page development efficiency and better performance.
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
An embodiment of the present application provides a method for generating a web page, which is applied to the apparatus 100 for generating a web page shown in fig. 1. Fig. 1 is a schematic structural diagram of a composition of an apparatus for generating a web page according to an embodiment of the present application, as shown in fig. 1, an apparatus 100 for generating a web page includes: the system comprises a data configuration module 101, a task control module 102, a design draft data conversion module 103, a data analysis and generation source code module 104, a source code compiling module 105 and a code downloading module 106. The data configuration module 101 configures the web page parameters corresponding to the web page to be generated, including: the method comprises the following steps that information such as the name of a webpage, a design draft source file, a supported CSS language, a supported JavaScript language, a supported application environment and the like is input into a database, and a corresponding compiling task script is automatically generated; the task control module 102 is mainly used for providing interfaces for starting, suspending, deleting and the like of a task process so as to control the corresponding task process in the compiling task script generated by the data configuration module 101; the design draft data conversion module 103 mainly traverses all element information corresponding to the design draft source file and further establishes a virtual DOM tree corresponding to the design draft source file in the process of executing a task process corresponding to a compiling task script; the data parsing and source code generating module 104 generates a source code file which can adapt to page display with different layouts through the virtual DOM tree, the supported CSS language and the supported JavaScript language included in the web page parameters; the source code compiling module 105 combines the source code file generated by the data analysis source code generating module 104 with the application environment supported in the web page parameters to generate an object code file capable of displaying the web page in the application environment; after the generated source code file and the target code file are uploaded to the Web server, the code downloading module 106 may download the source code file and the target code file through a downloading portal of the code downloading module 106, and view a webpage page through a preview portal of the code downloading module 106.
Fig. 2 is a schematic implementation flow diagram of a method for generating a web page according to an embodiment of the present application, and as shown in fig. 2, in an embodiment of the present application, a device for generating a web page may execute the method for generating a web page, where the method includes the following steps:
1001, acquiring target webpage parameters corresponding to a target task script; the target webpage parameters comprise a target source file, a markup language and a target application environment, and the target task script is generated according to the webpage parameters of the webpage to be generated.
In the embodiment of the application, the terminal can firstly acquire target webpage parameters corresponding to the target task script; the target webpage parameters comprise a target source file, a markup language and a target application environment. And the target task script is generated according to the webpage parameters of the webpage to be generated.
It should be noted that, in the embodiment of the present application, a device for generating a web page may obtain multiple sets of web page parameter information required for generating the web page, and enter the web page parameters into a database, specifically, information corresponding to each set of web page parameters is different, when a task script needs to be generated, a corresponding set of web page parameters may be obtained from the database, and a task script corresponding to the set of web page parameters is automatically generated, and accordingly, multiple task scripts may be generated based on the multiple sets of web page parameters, where each set of web page parameters corresponds to one task script.
Specifically, in the embodiment of the present application, each networking page parameter mainly includes information such as a design source file, a markup language, and an application environment, and optionally, the markup language may be a CSS language and a JavaScript language. Further, the web page parameters also include names of corresponding generated web pages, and the data configuration module 101 enters the web page parameters of the web page to be generated, the design script source file, the supported CSS language, the supported JavaScript language, the supported application environment, and the like into the database, and generates corresponding task scripts.
Optionally, in an embodiment of the present application, at least one initial task script may be different task scripts generated based on the same design script source file and markup language and different application environments, and according to a requirement of a developer, if a web page with the same content is to be displayed in different application environments, a plurality of task scripts corresponding to different application environments may be generated based on the same design script source file and different application environments, and further, according to the requirement of the developer, one of the task scripts is selected to be executed, so as to complete a compiling task.
Alternatively, the design document source file may be a web page design file provided by a web page designer and read locally by the web page generating device, or may be a web page design file read remotely from another location through a wired network or a wireless network. Meanwhile, the design draft source file may also be generated by an image processing tool, for example, the image processing tool may be PhotoShop, Sketch, or the like, and the design draft source file may be a PhotoShop dedicated format PSD file obtained by processing each material included in a webpage to be generated by using PhotoShop, or a Sketch dedicated format Sketch file obtained by processing each material included in a webpage by using Sketch.
It should be noted that, in the embodiment of the present application, the task control module 102 is configured to implement the determination of the target task script, and further start a compiling process corresponding to the target task script. Specifically, since different task scripts have different identification information, after receiving a start instruction, the task control module 102 obtains a task identification carried by the start instruction, and can determine a target task script corresponding to the task identification from at least one initial task script according to the task identification, and further start a compiling process corresponding to the target task script; the target task script is generated according to the webpage parameters of the webpage to be generated.
Specifically, in the embodiment of the present application, when a task script is executed, information of a compiled page task, a state of a compiled task process, and received information related to an operation instruction corresponding to all the task script are all displayed in a corresponding monitoring system list, and optionally, the monitoring system list function may be specifically implemented by a background program running management system integrated on a device that generates a web page, or may be specifically implemented by other auxiliary devices that have a function of viewing detailed process information of the executed task script and are independent of the device that generates the web page. After the user views the information and the state of the compiling process corresponding to the compiling task through the monitoring system list, the user may execute target operations, such as starting, suspending, deleting, and the like, so as to further execute the corresponding task script through the task control module 102.
Further, in the embodiment of the present application, the task control module 102 may also implement pausing and deleting of the compiling task process, and receive the start instruction, and determine the target task script from at least one initial task script according to a task identifier carried by the start instruction, and the task control module may also receive an operation instruction such as a pause instruction or a delete instruction corresponding to the target task script, and then delete the compiling task process corresponding to the target task script, or pause the compiling process corresponding to the target task script according to the pause instruction in executing the compiling task process corresponding to the target task script, specifically, when receiving the delete instruction corresponding to the target task script and executing the delete operation, the compiling task process corresponding to the target task script must be in an un-started or paused state, and deleting the target task script and the corresponding compiling task process.
It should be noted that, in the embodiment of the present application, after the target task script is determined from the at least one initial task script according to the start instruction, the target task script needs to be executed, and the task process corresponding to the target task script is started, specifically, in the process of executing the target task script, a target webpage parameter corresponding to the target task script, that is, one of the at least one group of webpage parameters, that is, information such as a design source file, a supported CSS language, a supported JavaScript language, and a supported application environment corresponding to the target task script needs to be determined first.
Further, after the target webpage parameters corresponding to the target task script are obtained, a code file corresponding to the page can be further generated based on the target parameters.
Step 1002, generating a first code file according to a target source file and a markup language; the first code file is used for enabling the webpage to be generated to be suitable for different page layouts.
In the embodiment of the application, after the target webpage parameters corresponding to the target task script are obtained, the next compiling task process in the target task script is continuously executed, that is, a first code file can be generated according to the target source file and the markup language in the target webpage parameters, wherein the first code file is used for adapting to page display of different layouts.
It should be noted that, in the embodiment of the present application, the design document conversion module 103 and the data parsing source code generation module 104 generate the first code file according to the target source file and the markup language, specifically, a virtual DOM tree corresponding to the target source file may be created by the design document conversion module 103, and then the data parsing source code generation module 104 combines the virtual DOM tree generated by the design document conversion module 103 with the markup language in the target webpage parameters to generate the first code file capable of adapting to page displays with different layouts.
Specifically, in the embodiment of the present application, the design conversion module 103 first parses the target source file, obtains initial data corresponding to the target source file, that is, all element information in the target source file, where the element information is not limited to a list, a button, a picture, a text, or a link, traverses all element information in the target source file, creates a virtual DOM node corresponding to each element information, and constructs a virtual DOM tree corresponding to all element information of the target source file based on a plurality of virtual DOM nodes.
Optionally, in an embodiment of the present application, in order to better maintain a webpage, a virtual DOM tree may be constructed based on JavaScript, and specifically, after a target source file is loaded into an HTML document, an HTML file corresponding to the target source file may be traversed, in the HTML file, each piece of element information of the target source file corresponds to one file tag, information of each text tag may be extracted, a virtual DOM node is created by a writing method of an object literal measure, that is, the piece of element information corresponding to each file tag is represented in a JavaScript object form, each virtual DOM node includes an attribute characteristic parameter corresponding to each piece of element information, and a plurality of virtual DOM nodes form a virtual DOM tree corresponding to the target source file.
Exemplarily, fig. 3 is a schematic diagram of a data structure of an exemplary HTML node provided in an embodiment of the present application, as shown in fig. 3, an HTML node of a current page includes two hundred or more attributes and methods, that is, all element information included in the page is a very large data structure, a virtual DOM node corresponding to each attribute and method can be generated by traversing all the attributes and methods included in an HTML node, each virtual DOM node is a JavaScript object, a plurality of virtual DOM nodes form a virtual DOM tree, the JavaScript object of the virtual DOM structure data corresponding to the HTML node of the current page is collected, and optionally, a JSON data file can be further generated and stored in a database.
Optionally, in an embodiment of the present application, the virtual DOM nodes include three types of DOM nodes, namely a document div, an image img, and a custom component. In order to improve the efficiency of generating web pages, technicians store element information corresponding to some elements, such as tables, buttons, and the like, in the design source file in advance into a database, that is, the elements are used as components, and assign corresponding component Identifiers (IDs) to each component, then read all data of all the components, associate the positions of the components and the IDs of the components, and write the components into the database, that is, establish a component library in advance, where the component library includes the IDs of the components and component codes corresponding to the components. When a webpage is generated, when a certain component needs to be referred to a corresponding position of the webpage, only the component ID corresponding to the position needs to be searched, and then the component data corresponding to the component ID is read out from the database and presented on the webpage. Therefore, the design transformation module 103 parses the target source file into nodes of three types, i.e., div, img, and custom component.
Specifically, in the embodiment of the present application, the data parsing source code generating module 104 constructs a target DOM tree, that is, a real DOM tree for rendering a web page, by traversing each virtual DOM node in the generated virtual DOM tree, where information corresponding to each DOM node in the real DOM tree corresponds to information corresponding to each virtual DOM node in the virtual DOM tree, and when traversing the virtual DOM tree, if a DOM node of the type of a custom component is encountered, it is only necessary to further obtain a corresponding component code from a pre-configured component library according to an ID corresponding to the component.
Further, in the embodiment of the present application, after the virtual DOM tree is generated, when a corresponding modification adjustment needs to be performed on a current webpage, a new virtual DOM tree is generated based on a design source file of the modified webpage, based on a specific algorithm, for example, a diff algorithm that compares contents of two files is used to compare new and old virtual DOM trees, a virtual DOM node of a webpage change is determined, then information corresponding to the changed DOM node is applied to a real DOM tree, and a new webpage is generated by rendering.
Further, the function code file may be generated based on the real DOM tree and the supported function language, optionally, the function language may be a JavaScript language, the information data corresponding to each div or img type DOM node in the real DOM tree may be a code fragment corresponding to each DOM node generated based on the JavaScript language, the DOM node of the component type only needs to introduce the corresponding component code from the component library, and the code fragment corresponding to each DOM node constitutes the function code file.
Further, in the embodiment of the present application, since the screens with different sizes enable the webpage display to be adaptively laid out according to the screens, the style attribute code file may be generated by presetting a layout policy and a style attribute language, where the style attribute language is mainly used for controlling the display effect of the webpage when the webpage is generated, for example: optionally, layout rules of different pages may be established by combining a font size of the root element (rem) unit with a viewport (viewport) unit, and the established adaptive layout rules may be stored as a style attribute code file, that is, a CSS code file, by using a configured style attribute language, for example, a CSS language. When a webpage is generated and layout design is carried out on a certain page, only a corresponding style attribute code file needs to be called.
Further, in the embodiment of the present application, the first code file is configured according to the real DOM tree, the generated function code file, and the style attribute code file, and specifically, the first code file is a common source code file that can support page displays with different layouts, that is, CSS codes that can enable a web page to be generated to support a self-adaptive layout, and enable the web page to be generated to be suitable for different page layouts. The universal source code file can be uploaded to a server, a developer can download the universal source code file, and further the source code file is correspondingly adjusted based on development requirements, so that secondary development is realized.
Further, in the embodiment of the present application, after the first code file is generated from the target source file and the markup language, it is necessary to further generate a code file adapted to the target application environment.
Step 1003, generating a second code file based on the target application environment and the first code file; and the second code file is used for enabling the webpage to be generated to be suitable for different application environments.
In an embodiment of the present application, after generating the first code file according to the target source file and the markup language, the source code compiling module 105 may further generate a second code file based on the target application environment and the first code file.
It should be noted that, in the embodiment of the present application, the target application environment may be any application environment with a web page display function, for example: a desktop browser end, a mobile phone end H5, a wechat applet, or the like, and the target application environment is not specifically limited in the embodiments of the present application.
It should be noted that, in the embodiment of the present application, the source code compiling module 105 may convert the first code file into a second code file corresponding to the target application environment through the compiling configuration information corresponding to the target application environment. Specifically, each application environment has a preset field corresponding to the application environment and different from other application environments, the preset field may be used to distinguish different application environments, the source code compiling module 105 may read the preset field corresponding to the target application environment, and analyzes the preset field, and further determines the compiling configuration information corresponding to the target application environment through the preset field, the source code compiling module 105 can convert the first code file, i.e. the source code file, into the second code file corresponding to the target application environment by running the compiling configuration information corresponding to the target application environment, that is, the second code file can make the web page to be generated suitable for different application environments, for example, the webpage can be rendered at multiple ends such as a desktop browser end, a mobile phone browser end H5 and a WeChat applet end.
Exemplarily, after obtaining the first code file, determining a target application environment, if the target application environment is determined to be a desktop browser, obtaining compiling configuration information corresponding to the desktop browser from a database, running the compiling configuration information corresponding to the desktop browser, and converting the first code file into the target code file corresponding to the application environment of the desktop browser, that is, further enabling a webpage to be displayed at a desktop browser end; if the target application environment is determined to be the WeChat applet, compiling configuration information corresponding to the WeChat applet is obtained from the database, the compiling configuration information corresponding to the WeChat applet is operated, and the first code file is converted into a target code file corresponding to the application environment of the WeChat applet, namely, the webpage can be displayed at the WeChat applet end.
Further, the source code compiling module 105 may generate second code files corresponding to different application environments by combining the first code file generated by the data parsing source code generating module 104 with different compiling configuration information corresponding to different application environments, that is, obtain a target code file that can be displayed on a webpage in different application environments.
Further, in an embodiment of the present application, after the source code compiling module 105 converts the first code file into the second code file by determining the compiling configuration information corresponding to the target application environment, the target page may be further generated based on the second code file.
And 1004, generating a target page corresponding to the target application environment according to the second code file.
In the embodiment of the present application, after the second code file is generated based on the target application environment and the first code file, the target page corresponding to the target application environment may be further generated according to the second code file.
It should be noted that, in the embodiment of the present application, the second code file may be generated corresponding to different application environments, and therefore, the target page may also be a web page displayed corresponding to different application environments, that is, a web page of the same content may be displayed in different application environments. For example, if the second code file is generated in an application environment corresponding to a desktop browser, the target page may be exposed at the desktop browser side; if the second code file is generated under the application environment corresponding to the mobile phone terminal H5, the corresponding target page can be displayed at the mobile phone terminal H5.
It should be noted that, in the embodiment of the present application, the content included in the target page corresponds to the element information included in the design source file, that is, the design source file is converted into a form of a web page that can be presented in different application environments.
Further, in the embodiment of the present application, after a target page corresponding to a target application environment is generated according to a second file, the first code file and the second code file are uploaded to the Web server, address information returned by the server may be received and stored, and the code file and the preview Web page may be downloaded by accessing the browser address entry. Specifically, after the first code file and the second code file are uploaded to the server, the code downloading module 106 provides an entry for downloading and previewing, and when the code file needs to be downloaded or a webpage needs to be previewed, the code downloading module 106 accesses the downloading or previewing entry to realize downloading of the code and rendering of the webpage.
The embodiment of the application provides a method for generating a webpage, which comprises the steps of obtaining target webpage parameters corresponding to a target task script; the target webpage parameters comprise a target source file, a markup language and a target application environment, and the target task script is generated according to the webpage parameters of the webpage to be generated; generating a first code file according to the target source file and the markup language; the first code file is used for enabling a webpage to be generated to be suitable for different page layouts; generating a second code file based on the target application environment and the first code file; the second code file is used for enabling the webpage to be generated to be suitable for different application environments; and generating a target page corresponding to the target application environment according to the second code file. That is to say, in the embodiment of the present application, the device for generating a web page not only generates a source code file capable of adapting to page display in different layouts by executing a target compiling task corresponding to a target web page parameter, but also generates a target code file capable of performing the web page display in the target application environment by combining the source code file with the target application environment, so as to implement the adaptive layout of the web page and support multi-end page display, further meet the development requirements of the web page display in different layouts in a multi-application scenario, and achieve higher web page development efficiency and better performance.
Based on the foregoing embodiment, in another embodiment of the present application, an apparatus for generating a web page executes a method for generating a web page, which specifically includes: first, the device for generating a web page may obtain multiple sets of web page parameter information required for generating a web page, such as: the method comprises the steps of inputting webpage parameter information into a database, acquiring a corresponding group of webpage parameters from the database when a task script needs to be generated, automatically generating a corresponding task script, starting a compiling task process according to a starting operation of a user in a server background according to a task script corresponding to a starting operation instruction, further executing the task script, and automatically changing a compiling task process state corresponding to the task script into an ongoing state. Similarly, if the user wants to pause or delete some task scripts and task processes corresponding to the scripts, the program may automatically delete the scripts, delete the processes, and modify the web page parameters configured in the database to be deleted according to the deletion and pause operations of the user. Specifically, when different task scripts and compiling task processes corresponding to the scripts are executed, or some parameters corresponding to the task scripts are adjusted, all updated information of compiling webpage tasks can be displayed by a program, the state of the corresponding compiling task processes and the corresponding operation information of a user can be displayed in a monitoring system list when the task scripts are executed, and the ongoing compiling task displays corresponding information and progress according to each compiling link for the user to check task details so as to control the process.
Further, according to the user start operation, executing the compiling task process corresponding to the target task script specifically includes: firstly, a target source file (such as vector drawing application Sketch) corresponding to a target task script which is designed by using an Interface Design (User Interface Design, UI) is utilized to compile and take a virtual DOM tree corresponding to the target source file, and a JavaScript Object Notation (JSON) data file is generated to perform a storage task. Specifically, the target source file is analyzed first, original data corresponding to the target source file, namely all element information included in the target source file, is obtained, the original data is traversed, the corresponding virtual DOM tree is generated through analysis, namely the DOM tree is packaged into a JavaScript object, the JavaScript object is analyzed into three DOM nodes of div, img and a custom component, each DOM node comprises various node attributes and style attributes, and a JSON data file is generated and stored according to the collected DOM structure data JavaScript object corresponding to the target source file.
And secondly, generating a corresponding first code file supporting layout self-adaption, namely a source code file, according to the virtual DOM tree data, the CSS language and the JavaScript language corresponding to the target source file. Specifically, the virtual DOM tree is traversed circularly first to generate a corresponding real DOM tree, information of each DOM node in the virtual DOM tree corresponds to information of each DOM node in the real DOM tree, in the process of traversing the virtual DOM, if a user-defined component is encountered, a corresponding component library is introduced, and then a configured functional language, such as JavaScript, is stored as a corresponding functional code file, and simultaneously a self-adaptive layout CSS code is generated in a rem + vw mode, and then a configured style attribute language, such as the CSS language, is stored as a corresponding style attribute code file, that is, a first code file, namely a source code file supporting the self-adaptive layout, is formed according to the real DOM tree, the functional code file and the style attribute code file.
And finally, automatically compiling to generate a compiling output according to the previously configured compiling output platform, namely the corresponding target application environment, namely generating a second code file, wherein the second code file can provide preview or download for a subsequent user. Specifically, each application environment has a preset field corresponding to the application environment and different from other application environments, the preset field can be used for distinguishing different application environments, the preset field can be analyzed, compiling configuration information corresponding to a target application environment is determined through the preset field, and a first code file, namely a source code file, is converted into a second code file, namely a target code file corresponding to the target application environment by running the compiling configuration information corresponding to the target application environment. Further, a download and preview portal may be provided for the generated source code and object code files corresponding to the target application environment. Specifically, the generated first code file and the second code file may be uploaded to a server, and a user may download an entry, such as a browser entry, to download a source code file and an object code file; the target page generated by the target code file may also be viewed based on a preview portal, such as a browser portal.
The embodiment of the application provides a method for generating a webpage, and a device for generating the webpage not only generates a source code file capable of adapting to page display of different layouts by executing a target compiling task corresponding to a target webpage parameter, but also generates a target code file capable of performing webpage display under a target application environment by combining the source code file with the target application environment, so that the self-adaptive layout of the webpage is realized, multi-end page display is supported, the development requirements of the webpage display of different layouts under a multi-application scene are further met, the webpage development efficiency is higher, and the performance is better.
Based on the foregoing embodiment, in another embodiment of the present application, fig. 4 is a schematic structural diagram of a composition of an apparatus for generating a web page provided by the present application, and as shown in fig. 4, the apparatus 100 for generating a web page provided by the embodiment of the present application may include an obtaining unit 107, a generating unit 108, an uploading unit 109, a receiving unit 110, and a deleting unit 111.
The acquiring unit 107 is configured to acquire a target web page parameter corresponding to the target task script; the target webpage parameters comprise a target source file, a markup language and a target application environment, and the target task script is generated according to the webpage parameters of the webpage to be generated;
the generating unit 108 is configured to generate a first code file according to the target source file and the markup language; the first code file is CSS codes of a cascading style sheet which enable the webpage to be generated to be suitable for different page layouts; generating a second code file based on the target application environment and the first code file; the second code file is a code which enables the webpage to be generated to be suitable for different application environments; and generating a target page corresponding to the target application environment according to the second code file.
Further, in an embodiment of the present application, the generating unit 108 is specifically configured to establish a virtual document object model DOM tree corresponding to the target source file; wherein the virtual DOM tree is used for representing the relationship among a plurality of element information in the target source file through a tree structure; and generating the first code file according to the virtual DOM tree and the markup language.
Further, in an embodiment of the present application, the generating unit 108 is further specifically configured to obtain initial data corresponding to the target source file; wherein the initial data comprises the plurality of element information corresponding to the target source file; traversing the element information to generate a plurality of virtual DOM nodes corresponding to the element information; wherein, one element information corresponds to one virtual DOM node; and constructing the virtual DOM tree based on the plurality of virtual DOM nodes.
Further, in an embodiment of the present application, the generating unit 108 is further specifically configured to traverse the plurality of virtual DOM nodes in the virtual DOM tree, and construct a target DOM tree; respectively generating a function code file and a style attribute code file based on the target DOM tree, the function language and the style attribute language; and generating the first code file according to the target DOM tree, the function code file and the style attribute code file.
Further, in an embodiment of the present application, the generating unit 108 is further specifically configured to generate the function code file based on the function language and the target DOM tree; generating the style attribute code file according to a preset layout strategy and the style attribute language; the preset layout strategy is used for establishing layout rules of different pages.
Further, in an embodiment of the present application, the generating unit 108 is further specifically configured to read a preset field corresponding to the target application environment; the preset field is used for distinguishing different application environments; determining compiling configuration information corresponding to the target application environment according to the preset field; and converting the first code file into the second code file by the compiling configuration information.
Further, in an embodiment of the present application, the uploading unit 109 is configured to, after generating a second code file based on the target application environment and the first code file, upload the first code file and the second code file to a server to implement browser-based code file downloading and web page rendering.
Further, in an embodiment of the present application, the receiving unit 110 is further configured to receive a start instruction, and receive a delete instruction corresponding to a target task script after determining the target task script from the at least one initial task script according to a task identifier carried by the start instruction.
Further, in an embodiment of the present application, the deleting unit 111 is configured to perform a deleting process according to the deleting instruction.
In an embodiment of the present application, further, fig. 5 is a schematic diagram of a composition structure of a device for generating a web page provided by the present application, as shown in fig. 5, the device 100 for generating a web page provided by the embodiment of the present application may further include a processor 112, a memory 113 storing executable instructions of the processor 112, and further, the device 100 may further include a communication interface 114, and a bus 115 for connecting the processor 112, the memory 113, and the communication interface 114.
In an embodiment of the present Application, the Processor 112 may be at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a ProgRAMmable Logic Device (PLD), a Field ProgRAMmable Gate Array (FPGA), a Central Processing Unit (CPU), a controller, a microcontroller, and a microprocessor. It is understood that the electronic devices for implementing the above processor functions may be other devices, and the embodiments of the present application are not limited in particular. The device 100 may further comprise a memory 113, which memory 113 may be connected to the processor 112, wherein the memory 113 is adapted to store executable program code comprising computer operating instructions, and the memory 113 may comprise a high speed RAM memory and may further comprise a non-volatile memory, such as at least two disk memories.
In the embodiment of the present application, the bus 115 is used to connect the communication interface 114, the processor 112, and the memory 113 and the intercommunication among these devices.
In an embodiment of the present application, the memory 113 is used for storing instructions and data.
Further, in an embodiment of the present application, the processor 112 is configured to obtain a target webpage parameter corresponding to a target task script; the target webpage parameters comprise a target source file, a markup language and a target application environment, and the target task script is generated according to the webpage parameters of the webpage to be generated; generating a first code file according to the target source file and the markup language; the first code file is used for enabling the webpage to be generated to be suitable for different page layouts; generating a second code file based on the target application environment and the first code file; the second code file is used for enabling the webpage to be generated to be suitable for different application environments; and generating a target page corresponding to the target application environment according to the second code file.
In practical applications, the Memory 113 may be a volatile Memory (volatile Memory), such as a Random-Access Memory (RAM); or a non-volatile Memory (non-volatile Memory), such as a Read-Only Memory (ROM), a flash Memory (flash Memory), a Hard Disk (Hard Disk Drive, HDD) or a Solid-State Drive (SSD); or a combination of the above types of memories and provides instructions and data to the processor 112.
In addition, each functional module in this embodiment may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware or a form of a software functional module.
Based on the understanding that the technical solution of the present embodiment essentially or a part contributing to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium, and include several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) to execute all or part of the steps of the method of the present embodiment. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The embodiment of the application provides equipment for generating a webpage, wherein the equipment acquires target webpage parameters corresponding to a target task script; the target webpage parameters comprise a target source file, a markup language and a target application environment, and the target task script is generated according to the webpage parameters of the webpage to be generated; generating a first code file according to the target source file and the markup language; the first code file is used for enabling a webpage to be generated to be suitable for different page layouts; generating a second code file based on the target application environment and the first code file; the second code file is used for enabling the webpage to be generated to be suitable for different application environments; and generating a target page corresponding to the target application environment according to the second code file. That is to say, in the embodiment of the present application, the device for generating a web page not only generates a source code file capable of adapting to page display in different layouts by executing a target compiling task corresponding to a target web page parameter, but also generates a target code file capable of performing the web page display in the target application environment by combining the source code file with the target application environment, so as to implement the adaptive layout of the web page and support multi-end page display, further meet the development requirements of the web page display in different layouts in a multi-application scenario, and achieve higher web page development efficiency and better performance.
An embodiment of the present application provides a computer-readable storage medium, on which a program is stored, which when executed by a processor implements the method for generating a web page as described above.
Specifically, the program instructions corresponding to a method for generating a web page in the present embodiment may be stored on a storage medium such as an optical disc, a hard disc, a usb disk, etc., and when the program instructions corresponding to a method for generating a web page in the storage medium are read or executed by an electronic device, the method includes the following steps:
acquiring target webpage parameters corresponding to the target task script; the target webpage parameters comprise a target source file, a markup language and a target application environment, and the target task script is generated according to the webpage parameters of the webpage to be generated;
generating a first code file according to the target source file and the markup language; the first code file is used for enabling the webpage to be generated to be suitable for different page layouts;
generating a second code file based on the target application environment and the first code file; the second code file is used for enabling the webpage to be generated to be suitable for different application environments;
and generating a target page corresponding to the target application environment according to the second code file.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of implementations of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart block or blocks and/or flowchart block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart block or blocks in the flowchart and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present application, and is not intended to limit the scope of the present application.

Claims (17)

1. A method of generating a web page, the method comprising:
acquiring target webpage parameters corresponding to the target task script; the target webpage parameters comprise a target source file, a markup language and a target application environment, and the target task script is generated according to the webpage parameters of the webpage to be generated;
generating a first code file according to the target source file and the markup language; the first code file is CSS codes of a cascading style sheet which enable the webpage to be generated to be suitable for different page layouts;
generating a second code file based on the target application environment and the first code file; the second code file is a code which enables the webpage to be generated to be suitable for different application environments;
and generating a target page corresponding to the target application environment according to the second code file.
2. The method of claim 1, wherein generating a first code file from the target source file and the markup language comprises:
establishing a DOM tree corresponding to the target source file; wherein the virtual DOM tree is used for representing the relationship among a plurality of element information in the target source file through a tree structure;
and generating the first code file according to the virtual DOM tree and the markup language.
3. The method of claim 2, wherein the building of the virtual DOM tree corresponding to the target source file comprises:
acquiring initial data corresponding to the target source file; wherein the initial data comprises the plurality of element information corresponding to the target source file;
traversing the element information to generate a plurality of virtual DOM nodes corresponding to the element information; wherein, one element information corresponds to one virtual DOM node;
and constructing the virtual DOM tree based on the plurality of virtual DOM nodes.
4. The method according to claim 3, wherein the markup language comprises a style property language and a functional language, and wherein generating the first code file according to the virtual DOM tree and the markup language comprises:
traversing the plurality of virtual DOM nodes in the virtual DOM tree to construct a target DOM tree;
respectively generating a function code file and a style attribute code file based on the target DOM tree, the function language and the style attribute language;
and generating the first code file according to the target DOM tree, the function code file and the style attribute code file.
5. The method according to claim 4, wherein said generating a function code file and a style property code file based on said target DOM tree, said function language, and said style property language, respectively, comprises:
generating the function code file based on the function language and the target DOM tree;
generating the style attribute code file according to a preset layout strategy and the style attribute language; the preset layout strategy is used for establishing layout rules of different pages.
6. The method of claim 1, wherein generating a second code file based on the target application environment and the first code file comprises:
reading a preset field corresponding to the target application environment; the preset field is used for distinguishing different application environments;
determining compiling configuration information corresponding to the target application environment according to the preset field;
and converting the first code file into the second code file through the compiling configuration information.
7. The method of claim 1, wherein after generating the second code file based on the target application environment and the first code file, the method further comprises:
and uploading the first code file and the second code file to a server so as to realize code file downloading and webpage rendering based on a browser.
8. An apparatus for generating a web page, the apparatus comprising an acquisition unit and a generation unit,
the acquisition unit is used for acquiring target webpage parameters corresponding to the target task script; the target webpage parameters comprise a target source file, a markup language and a target application environment, and the target task script is generated according to the webpage parameters of the webpage to be generated;
the generating unit is used for generating a first code file according to the target source file and the markup language; the first code file is a CSS code which enables the webpage to be generated to be suitable for different page layouts; and generating a second code file based on the target application environment and the first code file; the second code file is a code which enables the webpage to be generated to be suitable for different application environments; and generating a target page corresponding to the target application environment according to the second code file.
9. The apparatus of claim 8,
the generating unit is specifically configured to establish a virtual Document Object Model (DOM) tree corresponding to the target source file; wherein the virtual DOM tree is used for representing the relationship among a plurality of element information in the target source file through a tree structure; and generating the first code file according to the virtual DOM tree and the markup language.
10. The apparatus of claim 9,
the generating unit is further specifically configured to obtain initial data corresponding to the target source file; wherein the initial data comprises the plurality of element information corresponding to the target source file; traversing the element information to generate a plurality of virtual DOM nodes corresponding to the element information; wherein, one element information corresponds to one virtual DOM node; and constructing the virtual DOM tree based on the plurality of virtual DOM nodes.
11. The apparatus of claim 10, wherein the markup language comprises a style attribute language and a functional language,
the generating unit is further specifically configured to traverse the plurality of virtual DOM nodes in the virtual DOM tree, and construct a target DOM tree; respectively generating a function code file and a style attribute code file based on the target DOM tree, the function language and the style attribute language; and generating the first code file according to the target DOM tree, the function code file and the style attribute code file.
12. The apparatus of claim 11,
the generating unit is further specifically configured to generate the function code file based on the function language and the target DOM tree; generating the style attribute code file according to a preset layout strategy and the style attribute language; the preset layout strategy is used for establishing layout rules of different pages.
13. The apparatus of claim 8,
the generating unit is further specifically configured to read a preset field corresponding to the target application environment; the preset field is used for distinguishing different application environments; determining compiling configuration information corresponding to the target application environment according to the preset field; and converting the first code file into the second code file by the compiling configuration information.
14. The apparatus of claim 8, further comprising an upload unit,
the uploading unit is used for uploading the first code file and the second code file to a server after the second code file is generated based on the target application environment and the first code file, so that code file downloading and webpage rendering based on a browser are realized.
15. The apparatus of claim 8, further comprising a receiving unit and a deleting unit,
the receiving unit is further configured to receive a start instruction, and after determining a target task script from the at least one initial task script according to a task identifier carried by the start instruction, receive a delete instruction corresponding to the target task script;
and the deleting unit is used for deleting according to the deleting instruction.
16. An apparatus for generating a web page, the apparatus comprising a processor, a memory storing instructions executable by the processor, the instructions when executed by the processor implementing the method of any one of claims 1-7.
17. A computer-readable storage medium, on which a program is stored, for use in a device for generating a web page, wherein the program, when executed by a processor, implements the method of any one of claims 1-7.
CN202010747406.1A 2020-07-29 2020-07-29 Method and equipment for generating webpage and storage medium Pending CN114063996A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010747406.1A CN114063996A (en) 2020-07-29 2020-07-29 Method and equipment for generating webpage and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010747406.1A CN114063996A (en) 2020-07-29 2020-07-29 Method and equipment for generating webpage and storage medium

Publications (1)

Publication Number Publication Date
CN114063996A true CN114063996A (en) 2022-02-18

Family

ID=80226911

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010747406.1A Pending CN114063996A (en) 2020-07-29 2020-07-29 Method and equipment for generating webpage and storage medium

Country Status (1)

Country Link
CN (1) CN114063996A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116795405A (en) * 2023-08-25 2023-09-22 苏州盈天地资讯科技有限公司 Quick rendering method for front-end pages of thousand-person thousand-face scene, server and front-end equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116795405A (en) * 2023-08-25 2023-09-22 苏州盈天地资讯科技有限公司 Quick rendering method for front-end pages of thousand-person thousand-face scene, server and front-end equipment
CN116795405B (en) * 2023-08-25 2023-11-21 苏州盈天地资讯科技有限公司 Quick rendering method for front-end pages of thousand-person thousand-face scene, server and front-end equipment

Similar Documents

Publication Publication Date Title
US10936179B2 (en) Methods and systems for web content generation
CA2994327C (en) Methods and systems for wysiwyg web content generation
CN102915308B (en) A kind of method of page rendering and device
JP5947888B2 (en) Live browser tooling in an integrated development environment
CN112286513A (en) Visual design method and device based on component metadata
CN110688600A (en) Online editing method, device and equipment based on HTML (Hypertext markup language) page and storage medium
US11599584B2 (en) Method and system for processing information in social network system
CN113504908A (en) Business code generation method and device, electronic equipment and computer readable medium
CN113032708A (en) Code-free Web development system
CN111831815B (en) Control method and device for questionnaire display, storage medium and electronic equipment
CN111488148A (en) Webpage source code generation method and device
CN110968314A (en) Page generation method and device
CN113158619B (en) Document processing method and device, computer readable storage medium and computer equipment
CN114063996A (en) Method and equipment for generating webpage and storage medium
JP2015138541A (en) Web content generation system
CN111199568B (en) Vector diagram drawing method and device and computer readable storage medium
CN112559034A (en) Method and system for generating skeleton screen file
CN114741139A (en) sketch graphic file processing method and device, electronic equipment and storage medium
CN112486378A (en) Graph generation method, device, terminal and storage medium
JP5835747B2 (en) Programming information sharing apparatus and programming information sharing method
CN114935999A (en) Webpage copying method, device and equipment
CN115686529A (en) Code generation method and device, electronic equipment and readable storage medium
CN115544413A (en) Webpage establishing method and device, storage medium and electronic equipment
CA3224215A1 (en) Systems and methods for editing electronic documents
CN115994282A (en) Picture cutting method and device, electronic equipment and storage 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