Web page front-end development method and apparatus

A web front-end and page technology, applied in the Internet field, can solve the problems of low web front-end development efficiency, improve development efficiency, and facilitate code sharing and communication.

Active Publication Date: 2015-10-14
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF5 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The purpose of the embodiments of the present invention is to propose a web front-end

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
  • Web page front-end development method and apparatus
  • Web page front-end development method and apparatus
  • Web page front-end development method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0023] Embodiment one

[0024] figure 1 It is a schematic flowchart of a method for developing a webpage front-end provided by Embodiment 1 of the present invention. The method can be executed by a webpage front-end development device, wherein the device can be implemented by software and / or hardware. like figure 1 As shown, the method includes:

[0025] Step 101, establishing a project development directory.

[0026] Exemplarily, the device for executing the method of this embodiment can be regarded as a front-end development tool, which can be named JingDong Front End Tools (JDF). When starting to develop a project, you can use the jdf install init command to generate a standardized and compliant project development directory to start project development.

[0027] Step 102, compiling the static resources in the project development directory in real time.

[0028] Wherein, the static resource includes a module file, and the module file includes a template file, a JS file...

Example Embodiment

[0049] Embodiment two

[0050] image 3 It is a structural block diagram of a webpage front-end development device provided in Embodiment 2 of the present invention, and the device can develop a webpage front-end by executing a webpage front-end development method. like image 3 As shown, the device includes: a directory establishment module 301 , a static resource compilation module 302 , an optimization processing module 303 , an upload module 304 and a release module 305 .

[0051] Among them, the directory establishment module 301 is used to establish the project development directory; the static resource compilation module 302 is used to compile the static resources in the project development directory in real time; the optimization processing module 303 is used to optimize the compilation results and output them to Development page; upload module 304, for uploading the optimization result to the test server; publishing module 305, for publishing the optimization result...

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

An embodiment of the invention provides a web page front-end development method and apparatus. The method comprises the steps of: establishing a project development list; compiling static resources in the project development list in real time; performing optimization processing on a compilation result and outputting an optimization result to a development page; uploading the optimization result to a test server; and issuing the tested optimization result to a content distribution network server, wherein the static resources comprise module files, and the module files comprise template files, JS files and CSS files. With the adoption of the technical scheme, the same development tool can be locally used for performing a complete web front-end development process, commands in the tool can be used for separately performing each process step, and the purpose of integrating originally separated development processes is achieved; and moreover, the complex step for switching among different tools in the development process is removed, the process is simple and convenient, and code sharing and communication of developers are convenient, so that the development efficiency is improved.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of the Internet, in particular to a method and device for developing a front-end of a web page. Background technique [0002] With the increasing importance of front-end technology in web development, front-end developers account for an increasing proportion of projects, and code sharing and communication between developers is also becoming more and more important. However, web front-end development has a lot of content, and the tools used for development have single functions and uneven quality. In order to meet the different needs of each step in the entire development process, it is necessary to use a variety of development tools. For example, when compressing and merging static files, it is necessary to use different File Transfer Protocol (FTP) software to upload static files in the project. files to the test server and so on. The ability to cooperate between different tools ...

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
IPC IPC(8): G06F9/44G06F9/45
Inventor 刘威罗均波巫耀恒陈晓春王少星
Owner BEIJING JINGDONG SHANGKE 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