System for unifying front-end JavaScript coding specifications

A standardized and coding technology, applied in the field of computer networks, which can solve the problems of an increase in the number of front-end projects, a decrease in execution power, and a lack of automatic adaptation and compatibility mechanisms.

Pending Publication Date: 2020-09-04
BEIJING INST OF COMP TECH & APPL
View PDF0 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Existing JavaScript coding standards cannot provide unified support for these different scenarios and frameworks
[0004] (2) Enrichment of business will lead to an increase in the number of front-end projects. Since each project faces the needs of development, deployment, operation and maintenance, and upgrades, this directly leads to an increase in project management complexity and maintenance costs
Most of the existing coding standard solutions are installed and configured independently, and the reusability is insufficient, and there is also a lack of automatic adaptation and compatibility mechanisms during the project update iteration process
[0005] (3) When the number of development teams increases and the organizational structure becomes complex, the differences in coding styles between individuals and teams begin to become more pronounced. At the management level of unified coding standards, it is faced with weakened program publicity, reduced execution, and difficult execution efficiency. Statistical and Analytical Risks

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
  • System for unifying front-end JavaScript coding specifications
  • System for unifying front-end JavaScript coding specifications
  • System for unifying front-end JavaScript coding specifications

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] In order to make the purpose, content, and advantages of the present invention clearer, the specific implementation manners of the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments.

[0024] figure 1 Shown is a system architecture diagram of a unified front-end JavaScript coding standard in the present invention, as figure 1 As shown, the architecture of the present invention includes: a multi-compatible coding specification module, an integration and deployment detection module, an automation engineering configuration module, and a visual statistical analysis module.

[0025] Such as figure 1 As shown, the multi-compatible coding specification module proposes and introduces a plug-in, flexible configuration, and easy-to-extend code detection tool——UJLint (UnifiedJavaScript Lint) by referring to various JavaScript coding standards in the open source community to adapt to multiple scenarios and mult...

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 invention relates to a system for unifying front-end JavaScript coding specifications, which comprises a multi-compatible coding specification module for analyzing a source code by an analyzer through UJLint to generate an abstract syntax tree, and outputting whether the code conforms to the specification or not through mode matching of each plug-in; the integration and deployment detection module is used for blocking unpredictable code errors and standard omission possibly occurring in each link by executing code detection in each stage of a software life cycle; the automatic engineeringconfiguration module is used for carrying out installation and configuration work of the multi-compatible coding specification module and the integration and deployment detection module in an automatic mode; and the visual statistical analysis module is used for collecting detection results of the UJLint in each life cycle of the software code, carrying out visual display on result data, taking the result data as a positive feedback, and feeding back the positive feedback to the UJLint in an iterative manner, so as to improve the execution quality of the UJLint.

Description

technical field [0001] The invention belongs to the technical field of computer networks, and in particular relates to a system for unifying front-end JavaScript coding standards. Background technique [0002] In recent years, as the internal IT resources and businesses of enterprises have gradually become richer, front-end applications have begun to show a trend of scale and complexity. In order to ensure software quality, reduce development costs, and improve business efficiency, more and more front-end development teams have started Introduce the JavaScript coding standard, which can control the writing style and syntax format of the front-end code, which is conducive to improving the maintainability of the project. At present, there are several relatively mature JavaScript coding standard detection tools in the front-end community. With their easy installation and flexible configuration, they can fully meet the needs of individual developers or small development teams. ...

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/316
Inventor 周炼赤刘思佳郭旭东周益周
Owner BEIJING INST OF COMP TECH & APPL
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