An Efficient Design Pattern Framework for Automatic Code Generation based on XML

코드 자동 생성을 위한 XML 기반의 효율적인 디자인패턴 구조

  • 김운용 (광운대학교 대학원 컴퓨터과학과) ;
  • 김영철 (홍익대학교 전산S/W학과) ;
  • 주복규 (홍익대학교 전자전기컴퓨터공학부) ;
  • 최영근 (광운대학교 컴퓨터과학과)
  • Published : 2001.10.01

Abstract

Design Patterns are design knowledge for solving issues related to extensibility and maintainability which are independent from problems concerned by application, but despite vast interest in design pattern, the specification and application of patterns is generally assumed to rely on manual implementation. As a result, we need to spend a lot of time to develop software program not only because of being difficult to analyze and apply to a consistent pattern, but also because of happening the frequent programing faults. In this paper, we propose a notation using XML for describing design pattern and a framework using design pattern. We will also suggest a source code generation support system, and show a example of the application through this notation and the application framework. We may construct more stable system and be generated a compact source code to a user based on the application of structured documentations with XML.

디자인패턴은 어플리케이션 개발 시에 고려된 문제들로부터 독립적이며 확장성과 유지보수성에 대한 문제를 해결하기 위한 디자인 지식이며 현재 광범위하게 이용되고있는 분야이다. 그러나 이러한 광범위한 디자인패턴의 활용에도 불구하고 디자인 패턴에 명세와 활용은 주로 개발자의 수작업에 의존하고 있다. 그 결과 일관된 형태의 분석과 활용이 어렵고 오류 발생 빈도를 높일 뿐 아니라 프로그램 개발에 많은 시간을 필요로 한다. 따라서 이러한 문제를 해결하기 위해 본 논문에서는 디자인 패턴을 구조화하기 위해 XML을 사용한 표현방법, 이를 이용한 디자인 패턴 활용시스템 구조를 제시한다. 또한 이러한 표기법과 활용구조를 통해 소스코드 자동생성 지원 시스템을 제시하고 적용 예를 보이고자한다. XML을 이용한 구조화된 문서활용은 소스코드 생성시 사용자들에게 더 작은 코드를 작성하게 만들고, 더 안정된 시스템을 구축할 수 있게 한다.

Keywords

References

  1. A. Eden, J. Gil and A. Yehudai. Automating the Application of design patterns, Report on Object Analysis and Design ROAD. pp.44-46, May, 1997
  2. A. Eden, J. Gil and A. Yehudai. Precise specification and automatic application of design patterns. In Automated Software Engineering, 1997
  3. C. Marcos, M. Compos, and A. Pirotte, Reifying Design Patterns as Metalevel Constructs, Electronic Journal of Sadio, 2(1) pp.17-19, 1999
  4. E. Gamma, R. Helm, R. Johnson, and J. Vlissides. Design Patterns - Elements of Reusable Object-Oriented Software. Addison-Wesley Publishing Company, Reading, Massachusetts, 1995
  5. F. Buschman, R. Meunier, H. Rohnert, P. Sornrnerlad, and Stal Michael. Pattern-Objected Software Architecture-A System of Patterns. John Wiley&Sons, 1996
  6. J. Coplien and D. Schmidt, editors. Pattern Languages of Program Design Addison-Wesley, 1996
  7. N. Klarlund and J. Koistinen, 'Formal Design Constraints,' Proceedings of OOPSLA. 1996
  8. P. Pal, 'Law-Governed Support for Realizing Design Patterns,' Proceedings of TOOLS USA 17, 1995
  9. S. Yacoub, Xue, H. and Ammar, H. H., Automating the development of pattern-oriented designs for application specific software systems, Application-Specific Systems and Software Engineering Technology, 2000. Proceedings, 3rd IEEE Symposium on, pp.163-170, 2000 https://doi.org/10.1109/ASSET.2000.888071
  10. W. Tichy, Essential Software Design Patterns. University of Karsruhe. http://wwwipd.ira.uka.de/~tichy/patterns/overview.html, 1997