Journal of Computer and Communications

Volume 6, Issue 3 (March 2018)

ISSN Print: 2327-5219   ISSN Online: 2327-5227

Google-based Impact Factor: 1.12  Citations  

A Lightweight MVC Framework Based on Code Decoupling Principle

HTML  XML Download Download as PDF (Size: 1060KB)  PP. 118-127  
DOI: 10.4236/jcc.2018.63009    2,008 Downloads   4,302 Views  Citations

ABSTRACT

This paper analyzed the problems in the existing framework, and achieved a reasonable framework based on reflection and aspect-oriented programming combined with annotations to map the request parameters, and inversion of the control of the various components. The proposed framework reduced the volume of the application context, and achieved the purpose that dependencies between the various components are controlled by the framework. Based on the problems existing in the known framework, the lightweight MVC framework was implemented and the proposed framework was tested by JMeter test tool. The test results showed that the framework proposed in this paper can respond to requests faster, improve access throughput and enhance application performance and user experience. The framework proposed in this paper combined the functions of MVC and IOC to minimize the volume of external dependencies in the development and greatly improved the efficiency of Web applications development.

Share and Cite:

Sun, G. , Wang, Y. , Li, M. and Liu, Z. (2018) A Lightweight MVC Framework Based on Code Decoupling Principle. Journal of Computer and Communications, 6, 118-127. doi: 10.4236/jcc.2018.63009.

Copyright © 2024 by authors and Scientific Research Publishing Inc.

Creative Commons License

This work and the related PDF file are licensed under a Creative Commons Attribution 4.0 International License.