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

Framework for unified management of toolkit and realization of lightweight MVC

A toolkit and lightweight technology, applied in the field of computer software programming, can solve problems such as increased learning costs, inappropriate functions, and heavyweights, etc., to achieve the effect of improving development efficiency

Active Publication Date: 2020-05-22
贠学文
View PDF6 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] When developing a project, many people work together to develop it. If a third-party toolkit is needed in the project, such as the json toolkit, some people may import Ali’s fastJson, and some people may import Google’s gson, which will improve code management. cause a lot of trouble
Moreover, these toolkits are very intrusive to the code. If you want to replace a toolkit with another toolkit that implements similar functions, you need to modify a lot of code. Open source frameworks such as Spring, SpringMvc, Hibernate, and Mybatis are too Heavyweight, the reasons for the heavyweight are as follows: (1) These frameworks provide many functions, but there are many functions that are not applicable or not used in work
The existence of these functions will bring about three problems: 1.1 The user's learning cost of the framework will increase
Due to the complexity of the background implementation logic, when encountering some problems in use, it will be difficult to locate the cause of these problems

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
  • Framework for unified management of toolkit and realization of lightweight MVC

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0020] Embodiment 1: according to as figure 1 A framework that provides unified management of toolkits and implements lightweight MVC is shown, including three major modules: PLUGIN module, SOA module and PRODUCT module;

[0021] The PLUGIN module is a class of toolkits that implement common functions, and an interface is abstracted, so that each toolkit can be used as its own server to implement this interface, and the interface is stored in a client. The user can use the reference in the client to call the methods provided in this interface. The PLUGIN module is mainly a function-oriented module; the SOA module is a framework that replaces spring, springMvc, Hibernate, and myBatis; The PRODUCT module is an upgrade of the PLUGIN module. The PRODUCT module is mainly business-oriented. In addition to the functions of the PLUGIN module, it can also receive requests submitted by users from the front end, and forward them directly through MVC routing. Corresponding server-side pa...

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 framework for unified management of toolkits and realization of a lightweight MVC. The framework comprises three modules: a PLUGIN module, an SOA module and a PRODUCT module.The PLUGIN module is mainly a function-oriented module; the SOA module is a framework which is used for replacing spring, spring Mvc, Hibernate and myBatis; the PRODUCT module is an upgrade of a PLUGIN module, the PRODUCT module is mainly used for services, the PLUGIN module and the PRODUCT module of the framework can effectively perform unified management on a third-party toolkit, and complete decoupling of service codes and the toolkit is realized. Compared with Spring, Hibernate, mybatis and the like, the SOA-MVC module provides lighter-weight operation, and the SOA-MVC module is simpler no matter from the learning cost of a user, the use of the user or background logic implementation, so that the development efficiency is improved to a certain extent.

Description

technical field [0001] The invention relates to the technical field of computer software programming, in particular to a framework for providing unified management of toolkits and realizing lightweight MVC. Background technique [0002] When developing a project, many people work together to develop it. If a third-party toolkit is needed in the project, such as the json toolkit, some people may import Ali’s fastJson, and some people may import Google’s gson, which will improve code management. causing a lot of trouble. Moreover, these toolkits are very intrusive to the code. If you want to replace a toolkit with another toolkit that implements similar functions, you need to modify a lot of code. Open source frameworks such as Spring, SpringMvc, Hibernate, and Mybatis are too Heavyweight, the reasons for the heavyweight are the following two points (1) These frameworks provide many functions, but there are many functions that are not applicable or not used in work. The exis...

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/20G06F8/41
CPCG06F8/24G06F8/41
Inventor 贠学文
Owner 贠学文
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