Code template generation method and device, electronic equipment and storage medium

A technology for generating devices and templates, applied in the Internet field, can solve the problems of different content styles of newly created files, cumbersome new creation process, difficult maintenance, etc., and achieve the effect of avoiding different content styles and difficulties in later maintenance.

Inactive Publication Date: 2019-04-05
BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, when creating these files, it is necessary to manually create them step by step. The creation process is very cumbersome and time-consuming, and because of the different habits of programmers, the styles of the content of the newly created files are different, and the code style is not uniform. It will make later maintenance very difficult

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Code template generation method and device, electronic equipment and storage medium
  • Code template generation method and device, electronic equipment and storage medium
  • Code template generation method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present invention. Rather, they are merely examples of apparatuses and methods consistent with aspects of the invention as recited in the appended claims.

[0045] figure 1 It is a flow chart of a method for generating a code template shown in the embodiment of the present application.

[0046] Such as figure 1 As shown, the method for generating a code template shown in this embodiment is used in a webpage development terminal, and specifically includes the following steps.

[0047] S1. Receive a page name according to the user's name input requ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention provides a code template generation method and device, electronic equipment and a storage medium, and the method and device specifically comprise the steps: respondingto a page name input request, and receiving an input page name; Copying the required page content from the template library according to the page name; And filling a preset information slot with the page information in response to an information input request of the user. Through the operation, the support file of the corresponding new page can be automatically generated, so that the problems of different content styles and non-uniform code styles caused by human factors when the corresponding file is manually established can be avoided, and the problem of difficulty in later maintenance is also avoided.

Description

technical field [0001] The present disclosure relates to the technical field of the Internet, and in particular to a code template generation method, device, electronic equipment, and storage medium. Background technique [0002] For a certain entity's website, when a new page needs to be created according to business requirements, it is often necessary to create multiple supporting files corresponding to the page, such as router.js for the server-side router, jade file for the front-end template, Page logic JavaScript, style css files, etc., and the mutual reference paths and corresponding description information of these files must be configured one by one. [0003] At present, when creating these files, it is necessary to manually create them step by step. The new process is very cumbersome and time-consuming, and because of the different habits of programmers, the styles of the content of the newly created files are different, and the code style is not uniform. It will ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/30
CPCG06F8/30
Inventor 张剑波
Owner BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products