DocumentCode
2295249
Title
Improved Visitor Pattern Base on Normal Form
Author
Xiao-Peng, Zheng ; Yuan-Wei, Bi
Author_Institution
Sch. of Comput. Sci. & Technol., Yantai Univ., Yantai, China
Volume
3
fYear
2010
fDate
6-7 March 2010
Firstpage
434
Lastpage
437
Abstract
Design patterns are widely used in object-oriented programming and software engineering to enhance the software reuse and decrease class Coupling. And Visitor pattern is the import pattern in GoF´s design patterns, which is a way of separating an algorithm from an object structure upon which it operates. But original visitor pattern violates interface segregation principle and dependency inversion principle. So when concrete visitable class change, there are large quantity of objects need to recompile. Some improved visitor patterns were put forward, but they had matter at running efficient or commonality. So normal form theory is used in this paper to analyze original visitor pattern, further more design an improved visitor pattern to solve problems which were mentioned former.
Keywords
object-oriented programming; software engineering; GoF design patterns; improved visitor pattern; interface segregation; normal form; object-oriented programming; software engineering; software reuse; Computer science; Computer science education; Concrete; Educational programs; Educational technology; Electronics packaging; Object oriented programming; Pattern analysis; Software design; Software engineering; DIP; normal form; quantity of recomilation; visitor pattern;
fLanguage
English
Publisher
ieee
Conference_Titel
Education Technology and Computer Science (ETCS), 2010 Second International Workshop on
Conference_Location
Wuhan
Print_ISBN
978-1-4244-6388-6
Electronic_ISBN
978-1-4244-6389-3
Type
conf
DOI
10.1109/ETCS.2010.284
Filename
5459572
Link To Document