摘要
面向对象是一种不同于面向过程的程序设计方法,广泛应用于不同的领域,具有高效、易于理解等特性。文章以某大学智慧校园论坛网站系统为例,进行面向对象方法与技术的研究,从需求分析到系统设计,运用面向对象的思想,使用三层架构的设计理念,并使用UML建模,绘制了用例图、活动图等对此系统进行深入研究。面向对象方法的封装性、继承性与多态性,极大提高了效率与理解程度,能更好地应用于智慧校园论坛系统。
Object-oriented is a different from process-oriented programming methods,which are widely used in different fields and have the characteristics of eficiency and easy to understand.This paper takes the website system of a university smart campus forum as an example to conduct research on object-oriented methods and technologies,from demand analysis to system design,using object-oriented thinking,the design concept of three-layer architecture,and UML modeling,drawing use case diagrams,activity diagrams and other in-depth research on this system.The encapsulation,inheritance and polymorphism of the object-oriented method greatly improve the efficiency and understanding,and can be better applied to the smart campus forum system.
作者
韩孟洁
HAN Mengjie(Shandong Vocational Animal Science and Veterinary College,Weifang 261061,China)
关键词
面向对象
UML建模
三层架构
复用
object-oriented
UML modeling
three layer architecture
reuse