Unlock instant, AI-driven research and patent intelligence for your innovation.

Typescript-based web application development method and system

An application development system and application development technology, applied in the direction of instrumentation, software design, calculation, etc., can solve problems such as omissions, increase the difficulty of web applications, affect the overall development efficiency of web applications, etc., and achieve the effect of reducing difficulty and improving development efficiency

Active Publication Date: 2022-04-05
ZHENGZHOU XINDA JIEAN INFORMATION TECH
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the traditional web application development process, due to the weak type property of the JavaScript language itself, when the application needs to request data from the server, it needs to check the request type, parameter type, request path and other information one by one according to the interface document provided by the server. If the server interface changes or the parameter type changes, the application needs to respond to the modification request, and the application may request the same interface in different places. In this case, the application will have more modification points or omissions, and such problems It cannot be discovered in time during the web application development process, and will only be discovered during execution, which will increase the difficulty for developers to modify web applications and affect the overall development efficiency of web applications

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
  • Typescript-based web application development method and system
  • Typescript-based web application development method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] In order to understand the above-mentioned purpose, features and advantages of the present invention more clearly, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that, in the case of no conflict, the embodiments of the present application and the features in the embodiments can be combined with each other.

[0034] In the following description, many specific details are set forth in order to fully understand the present invention. However, the present invention can also be implemented in other ways different from those described here. Therefore, the protection scope of the present invention is not limited by the specific details disclosed below. EXAMPLE LIMITATIONS.

[0035] figure 1 A flow chart of a TypeScript-based web application development method of the present invention is shown.

[0036] Such as figure 1 As shown, the first aspect of the present inventi...

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 present invention proposes a web application development method and system based on TypeScript. The method includes: constructing a web application development environment on a terminal device, and installing a TypeScript module in the web application development environment; defining a type interface through the TypeScript module file, the type interface file is formed by the mutual agreement between the terminal device and the server; reference the predefined type interface file to constrain the request parameters, and generate the request interface file; implement the request interface based on the request interface file, and combine the predefined The type interface file generates a request class file; the request class file is introduced by each functional module to call the request interface, so as to request the server to access web application data. Based on the characteristics of TypeScript, the present invention can discover the hidden dangers of files in advance during compilation; the present invention also provides web applications to call through predefined type interfaces, request interfaces, and request classes, thereby reducing the difficulty for developers to develop web applications and improving development efficiency.

Description

technical field [0001] The present invention relates to the technical field of web application development, in particular to a TypeScript-based web application development method and system. Background technique [0002] With the continuous development of front-end technology, JavaScript is almost everywhere from mobile to server and machine learning. Such a broad application field naturally has higher requirements for the security, robustness and maintainability of the language. [0003] In the traditional web application development process, due to the weak type property of the JavaScript language itself, when the application needs to request data from the server, it needs to check the request type, parameter type, request path and other information one by one according to the interface document provided by the server. If the server interface changes or the parameter type changes, the application needs to respond to the modification request, and the application may request...

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 Patents(China)
IPC IPC(8): G06F8/20G06F8/38
CPCG06F8/24G06F8/38
Inventor 吴京周吉祥周小欠樊建东张永强
Owner ZHENGZHOU XINDA JIEAN INFORMATION TECH