Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Plug-in construction method, system and server for web application

A web application, plug-in technology, applied in the field of Internet technology and software architecture, which can solve the problems of easy confusion between client and server functions, unsuitable business logic for middleware, and inability to support changeable business scenarios. The effect of clear and maintainable relationships, enhanced usability and compatibility

Active Publication Date: 2020-07-14
BEIJING KNOWNSEC INFORMATION TECH
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Nowadays, with the vigorous development of Internet technology, Web applications have been widely promoted and used. For Web applications, if the overall style is used for application construction, it will make it easier for the client-facing and server-facing functions to appear. Confusion, leading to deep coupling of modules, which is very unfavorable for later maintenance and updates, so plug-in style is usually used to build web applications
[0004] Among the existing plug-in construction methods of Web applications, the Node.js-based Web application back-end development framework represented by Express and Koa provides a solution to enhance Web applications with middleware, extracting various functions from the application itself It is added to the framework as middleware, but middleware is not suitable for implementing business logic, and the back-end development framework cannot provide front-end functions. For example, the user interface still needs to be implemented separately, which means that the development of business functions is still in the overall style mainly
On the other hand, for front-end functions, common user interfaces for display purposes such as sidebars and bulletin boards mostly limit the plug-ins included in the user interface and cannot support changeable business scenarios. There is no correlation between them, they cannot be interdependent or linked, and as a front-end technology, it does not involve the realization of the back-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
  • Plug-in construction method, system and server for web application
  • Plug-in construction method, system and server for web application
  • Plug-in construction method, system and server for web application

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0030] figure 1 is a block diagram of an example computing device 100 . In a basic configuration 102 , computing device 100 typically includes system memory 106 and one or more processors 104 . A memory bus 108 may be used for communication between the processor 104 and the system memory 106 .

[0031] Depending on the desired configuration, processor 104 may be any type of processing including, but not limited to, a microprocess...

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 discloses a plug-in-based building method and system for a Web application. The method comprises the steps of scanning a plug-in directory and installing a corresponding dependency library for each plug-in in the plug-in directory; initializing a Web server service, registering a generic component and creating a server application instance corresponding to a Web application, wherein the generic component comprises a static resource service; for each plug-in in the plug-ins, if plug-in codes of the plug-in include server codes, obtaining and analyzing the server registration code of the plug-in, thereby injecting the server execution code of the plug-in into the server application instance; initializing a Web client service and providing a client entry corresponding to the Web application; and for each plug-in in the plug-ins, if the plug-in codes of the plug-in include client codes, packaging the client codes and putting the client codes as static resources into a static resource directory, thereby providing the client codes for a client through a static resource service to finish the building of the Web application.

Description

technical field [0001] The present invention relates to the field of Internet technology and software architecture, in particular to a plug-in construction method, system, server and computing equipment for Web applications. Background technique [0002] In the field of software architecture, there has always been a desire to build systems composed of plug-ins or components to replace monolithic styles. The overall style refers to treating a complete application as a development unit, which is naturally divided into client, server, and database. However, with the expansion of business functions, the maintenance of the overall style becomes more difficult, and it is difficult to control the coupling depth between modules. Creates headaches for releases, maintenance, and scaling. The plug-in style refers to the development of small services into a single application form, and each application can be independently developed, replaced and updated independently. When determinin...

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/20
CPCG06F8/22
Inventor 赵凌风
Owner BEIJING KNOWNSEC INFORMATION TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products