The Application of Code Reuse Technology Based on the MVC Framework

The code reuse technology based on the MVC framework is studied while implementing a project named "The comprehensive service system of fishing vessel inspection." Based on the concept of MVC, common reuse methods used in the project is illustrated from seven aspects, i.e. the inheritance reuse of master page in the View, layout code reuse in the web page design, login reuse in the Controller, server side program code reuse, the abstraction of reusable modules, control validation reuse in the Model, and the business logic code reuse. The implementation of these technologies in the project suggests that the combination of code reuse and the MVC framework may improve the efficiency of the development and provide good support for the maintainability of code.