Enhancing Web Application Efficiency: Exploring Modern Design Patterns within the MVC Framework
Ankit Kumar, Saroj Kumar Pandey, Sunny Prakash, Kamred Udham Singh, Teekam Singh, Gaurav Kumar
Abstract
The growing demand for web applications across various sectors has led to challenges in developing efficient and high-performance online apps. The traditional approach to web app development may struggle to meet the performance requirements of modern online applications. To address this, the Model-View-Controller (MVC) framework has become an essential tool for creating interactive online apps. While the MVC framework has limitations, several new design patterns have emerged from its architecture that offers improvements. This paper explores some of the thoroughly researched design patterns of the MVC framework. The Composite View pattern merges several views to facilitate the development of complex user interfaces, while the Intercepting Filter design pattern filters and processes requests before they reach the controller, enhancing security and speed. The Service Layer design pattern creates an abstraction layer between the data access layer and the controller to increase scalability and maintainability. Employing MVC-based design patterns can help developers enhance the functionality and efficiency of web apps, ensuring they meet the expectations of modern consumers.