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

Plug-in-based building method and system for Web application, and server

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

Active Publication Date: 2017-10-24
BEIJING KNOWNSEC INFORMATION TECH
View PDF5 Cites 31 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-based building method and system for Web application, and server
  • Plug-in-based building method and system for Web application, and server
  • Plug-in-based building method and system for Web application, and server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] Hereinafter, exemplary embodiments of the present disclosure will be described in more detail 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 can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a 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 the basic configuration 102, the computing device 100 typically includes a system memory 106 and one or more processors 104. The memory bus 108 may be used for communication between the processor 104 and the system memory 106.

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

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 device of a Web application. Background technique [0002] In the field of software architecture, it has always been hoped to build a system consisting of plug-ins or components to replace the overall style. The overall style refers to a complete application as a development unit, and the internal 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. Brings trouble to release, maintenance and expansion. The plug-in style refers to the development of small services into a single application, each application can be independently developed, replaced and updated independently. When determining the boundary of the pl...

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): G06F9/44
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