This Insights was contributed by DeVante Pickering, a UNCW senior and lead back-end developer for Uni-SPIRE.
The Microsoft model-view-controller (MVC) framework is a software architectural pattern that mitigates the process of designing and implementing code when building a web or mobile application. MVC decomposes the application into three parts for producing efficient, reusable code and creating the opportunity for parallel development.
Here at Uni-SPIRE, we made the switch to MVC in September 2016 and haven’t looked back.
The model is the main component of the framework. The model handles the retrieval, manipulation and insertion of the application data, independent of the user interface. For example, if you have a Car table that exists on the database, the Car model would contain the functions to access, manipulate or store data that relates to a car.
In the view, we implement the application’s user interface, usually created from the model data. To continue with the car example, the view associated with Car would allow you to display information based on the current state of the car model. The view is also where all the application’s styling elements (Bootstrap, JavaScript, JQuery, etc.) exist.
The final component of the MVC framework is the controller. The controller handles user interaction and serves as a middleman between the models and views. The controller takes in user input, decides which model(s) need to handle a data request or insert, and selects the appropriate view to display the data to the user.
What makes the MVC framework extremely beneficial to an agile environment is it allows for parallel development. This means that one developer can work on the view, while a second works on the controller logic and a third can work on the business logic in the model. This decomposition allows for back-end and front-end developers to develop their respective code simultaneously without one needing to wait for the other to finish. In an environment where tasks need to be completed quickly and efficiently, while also maintaining a relatively small team size, this is extremely valuable.
If your company has a relatively small staff of front- and back-end developers, the MVC framework might be something that you should think about adopting to help keep you on schedule and on budget.
Diane Durance, MPA, is director of UNC Wilmington's Center for Innovation and Entrepreneurship (CIE). The CIE is a resource for the start-up and early-stage business community to help diversify the local economy with innovative solutions. For more information, visit www.uncw.edu/cie.
DeVante Pickering, a UNCW senior graduating in May, is the lead backend developer for Uni-SPIRE. Uni-SPIRE aims to impact PK-12 teachers’ understanding of effective instruction in English language arts, mathematics, science, history and integrated curriculum by producing quality research-based assessments, data analyses, professional development and curricular materials that lead to an increase in student achievement, not only on standardized assessments but for college and career readiness.
S.C. Developer Buys Site For 3,600 Homes In Brunswick County
Staff Reports
-
Jan 10, 2025
|
|
Endowment Announces New VP, Other Hires And Promotions
Staff Reports
-
Jan 9, 2025
|
|
Oyster Bar, Apartments, Offices Among Real Estate Award Finalists
Staff Reports
-
Jan 10, 2025
|
|
A First For U.S.? Startup Manufacturer Places Bet On MgO Panels
Cece Nunn
-
Jan 9, 2025
|
|
Contract Agreement Averts Potential Port Strike
Emma Dill
-
Jan 9, 2025
|
The potential changes include updates to the county’s stormwater manual and ordinances related to development requirements. Adjustments to t...
This company's new CEO is looking to bring Clean Eatz to consumers in “nontraditional locations.” This means, in addition to the brick-and-m...
The study was commissioned by Novant and conducted by FTI Consulting’s Center for Healthcare Economics and Policy....
The 2024 WilmingtonBiz: Book on Business is an annual publication showcasing the Wilmington region as a center of business.