| The internal logic and data relations of teaching business management information system(TMIS) are complex. In the development process, on the one hand, along with the thoroughly understanding of the application, the improvement of the original design is needed, on the other hand,the system must increase or revise original code along with the demand change, so refactoring was extremely important. Therefore, this paper propose a plan using the theory,the method as frame, meta- pattern, AOP in TMIS,enhances the system's stability and the extension.In the system development process using the restructuring theory, we inducting, analysising and summarying the restructuring method, using inherited and combination method, template method, data bank technology and so on, realizing an teaching plan approval frame. This frame is a kind of software ingredient with multiplying. Based on above, we proposed a refactoring plan using object-oriented programming and aspect-oriented programming for the different function module, further reduceing the code quantity, enhanceing the flexibility, optimizing system performance.To develop the access control module, we proposed a plan based on RBAC and the AOP, through connecting user and the access control based on role, we realize precise definition of access control strategy. To the problem of crosscut, it's hard to resolve using object-oriented programming. Based on AOP, we give a new mean to the method of refactoring, seal many kinds of methods in a module, which will build a Black-Box frame.We have realized a approval platform based on refactoring. The system has been applied in teaching management office of FJUT, and has confirmed its model is rational and feasible, it also has created the advantageous technology for the school teaching works, has served for the information construction of the university. |