BibTex RIS Cite

A SOFTWARE DESIGN PATTERN FOR CONTEXTUAL VALIDATION

Year 2017, Volume: 19 Issue: 57, 888 - 898, 01.09.2017

Abstract

Software design patterns provide readily available solutions for recurring software design problems. Composite design patterns, such as Model-View-Controller (MVC), provide solutions for large scale design problems by bringing existing design patterns together. In this work, a composite design pattern is developed for contextual validation problem. Contextual validation means validating all necessary conditions of all context objects defined by the context. In this work, development method for composite design patterns is followed by using single responsibility, open-closed, dependency inversion principles of object oriented design. The proposed contextual validation design pattern includes Visitor, Strategy, Decorator and Notification design patterns. Usage of the proposed contextual validation design pattern is discussed on two case studies

References

  • Tuglular, T., Belli, F., Linschulte, M. 2016. Input Contract Testing of Graphical User Interfaces, Int J Softw Eng Knowl Eng. World Scientific, Cilt. 26(2), s. 183–215. DOI: S0218194016500091 .
  • Fowler, M. 2005. Contextual Validation. com/bliki/ContextualValidation.ht ml (Erişim Tarihi: 15.10.2016).
  • Riehle, D. 1997. Composite Design Patterns. 12th ACM SIGPLAN Conference on Object-oriented Programming, Systems, Languages, and Applications New York, USA, s. 218–28.
  • Hericko, M., Beloglavec, S. 2005. A composite design identification technique, Informatica, Cilt. 29(4), s. 469–476. DOI: bilinmiyor. pattern
  • Shalloway, A., Trott, J.R. 2004. Design patterns explained: a new perspective on object-oriented design. 2nd edition, Addison- Wesley, Boston, USA, 480s.
  • Gamma, E., Helm, R., Johnson, R., Vlissides, J. 1994. Design patterns: Elements of reusable object- oriented software. Addison-Wesley Professional, Boston, USA, 395s.
  • Martin, R.C. 2003. Agile software development: principles, patterns, and practices. Pearson, USA, 529s.
  • Meyer, B. 1997. Object-oriented software construction. 2 edition, Prentice Hall, New York, USA, 1296s.
  • Evans, E. 2004. Domain-driven design: tackling complexity in the heart of software. Addison-Wesley Professional, Boston, USA, 560s.
  • Medic, J. 2016. Context Validation in Domain-Driven Design. https://www.toptal.com/scala/cont ext-validation-in-domain-driven- design (Erişim Tarihi: 15.10.2016). [11] Fowler, M. 2014. Exceptions Throwing Notification in Validations. http://martinfowler.com/articles/r eplaceThrowWithNotification.html (Erişim Tarihi: 15.10.2016). with
  • Fowler, M. 2004. Notification. http://martinfowler.com/eaaDev/N otification.html (Erişim Tarihi: 15.10.2016).
  • Meyer, B., Arnout, K. 2006. Componentization: the Visitor example, IEEE Computer, Cilt. 39(7), s. 23–30. DOI: 10.1109/MC.2006. 227.

BAĞLAMSAL DOĞRULAMA İÇİN BİR YAZILIM TASARIM ŞABLONU

Year 2017, Volume: 19 Issue: 57, 888 - 898, 01.09.2017

Abstract

Yazılım tasarım şablonları, tekrar eden yazılım tasarım
problemleri için hazır çözümler sunar. Model-Görünüm-Denetçi
(İng. MVC) gibi bileşik tasarım şablonları ise, var olan tasarım
şablonlarının biraraya getirilmesi ile daha büyük ölçekli
problemleri çözmek için geliştirilmektedir. Bu çalışmada
bağlamsal doğrulama problemi için bir bileşik tasarım şablonu
geliştirilmiştir. Bağlamsal doğrulama, bir işlem gerçekleştirilmeden
önce o işlem için gerekli tüm nesnelerin gerekli
koşulları sağladığının doğrulanması anlamına gelmektedir. Bileşik
tasarım şablonu geliştirme yöntemi ile ortaya konan bağlamsal
doğrulama tasarım şablonu; tek sorumluluk, açık-kapalı ve
bağımlılığı tersine çevirme nesne temelli tasarım ilkelerine göre
geliştirilmiştir. Geliştirilen bağlamsal doğrulama tasarım şablonu
bünyesinde Ziyaretçi, Strateji, Dekoratör ve Bildirim tasarım
şablonlarını barındırmaktadır. Ortaya konan bağlamsal
doğrulama tasarım şablonu, kullanım şekli itibariyle iki örnek
uygulama üzerinde tartışılmıştır.

References

  • Tuglular, T., Belli, F., Linschulte, M. 2016. Input Contract Testing of Graphical User Interfaces, Int J Softw Eng Knowl Eng. World Scientific, Cilt. 26(2), s. 183–215. DOI: S0218194016500091 .
  • Fowler, M. 2005. Contextual Validation. com/bliki/ContextualValidation.ht ml (Erişim Tarihi: 15.10.2016).
  • Riehle, D. 1997. Composite Design Patterns. 12th ACM SIGPLAN Conference on Object-oriented Programming, Systems, Languages, and Applications New York, USA, s. 218–28.
  • Hericko, M., Beloglavec, S. 2005. A composite design identification technique, Informatica, Cilt. 29(4), s. 469–476. DOI: bilinmiyor. pattern
  • Shalloway, A., Trott, J.R. 2004. Design patterns explained: a new perspective on object-oriented design. 2nd edition, Addison- Wesley, Boston, USA, 480s.
  • Gamma, E., Helm, R., Johnson, R., Vlissides, J. 1994. Design patterns: Elements of reusable object- oriented software. Addison-Wesley Professional, Boston, USA, 395s.
  • Martin, R.C. 2003. Agile software development: principles, patterns, and practices. Pearson, USA, 529s.
  • Meyer, B. 1997. Object-oriented software construction. 2 edition, Prentice Hall, New York, USA, 1296s.
  • Evans, E. 2004. Domain-driven design: tackling complexity in the heart of software. Addison-Wesley Professional, Boston, USA, 560s.
  • Medic, J. 2016. Context Validation in Domain-Driven Design. https://www.toptal.com/scala/cont ext-validation-in-domain-driven- design (Erişim Tarihi: 15.10.2016). [11] Fowler, M. 2014. Exceptions Throwing Notification in Validations. http://martinfowler.com/articles/r eplaceThrowWithNotification.html (Erişim Tarihi: 15.10.2016). with
  • Fowler, M. 2004. Notification. http://martinfowler.com/eaaDev/N otification.html (Erişim Tarihi: 15.10.2016).
  • Meyer, B., Arnout, K. 2006. Componentization: the Visitor example, IEEE Computer, Cilt. 39(7), s. 23–30. DOI: 10.1109/MC.2006. 227.
There are 12 citations in total.

Details

Other ID JA48AN68FZ
Journal Section Research Article
Authors

Tuğkan Tuğlular This is me

Publication Date September 1, 2017
Published in Issue Year 2017 Volume: 19 Issue: 57

Cite

APA Tuğlular, T. (2017). BAĞLAMSAL DOĞRULAMA İÇİN BİR YAZILIM TASARIM ŞABLONU. Dokuz Eylül Üniversitesi Mühendislik Fakültesi Fen Ve Mühendislik Dergisi, 19(57), 888-898.
AMA Tuğlular T. BAĞLAMSAL DOĞRULAMA İÇİN BİR YAZILIM TASARIM ŞABLONU. DEUFMD. September 2017;19(57):888-898.
Chicago Tuğlular, Tuğkan. “BAĞLAMSAL DOĞRULAMA İÇİN BİR YAZILIM TASARIM ŞABLONU”. Dokuz Eylül Üniversitesi Mühendislik Fakültesi Fen Ve Mühendislik Dergisi 19, no. 57 (September 2017): 888-98.
EndNote Tuğlular T (September 1, 2017) BAĞLAMSAL DOĞRULAMA İÇİN BİR YAZILIM TASARIM ŞABLONU. Dokuz Eylül Üniversitesi Mühendislik Fakültesi Fen ve Mühendislik Dergisi 19 57 888–898.
IEEE T. Tuğlular, “BAĞLAMSAL DOĞRULAMA İÇİN BİR YAZILIM TASARIM ŞABLONU”, DEUFMD, vol. 19, no. 57, pp. 888–898, 2017.
ISNAD Tuğlular, Tuğkan. “BAĞLAMSAL DOĞRULAMA İÇİN BİR YAZILIM TASARIM ŞABLONU”. Dokuz Eylül Üniversitesi Mühendislik Fakültesi Fen ve Mühendislik Dergisi 19/57 (September 2017), 888-898.
JAMA Tuğlular T. BAĞLAMSAL DOĞRULAMA İÇİN BİR YAZILIM TASARIM ŞABLONU. DEUFMD. 2017;19:888–898.
MLA Tuğlular, Tuğkan. “BAĞLAMSAL DOĞRULAMA İÇİN BİR YAZILIM TASARIM ŞABLONU”. Dokuz Eylül Üniversitesi Mühendislik Fakültesi Fen Ve Mühendislik Dergisi, vol. 19, no. 57, 2017, pp. 888-9.
Vancouver Tuğlular T. BAĞLAMSAL DOĞRULAMA İÇİN BİR YAZILIM TASARIM ŞABLONU. DEUFMD. 2017;19(57):888-9.

Dokuz Eylül Üniversitesi, Mühendislik Fakültesi Dekanlığı Tınaztepe Yerleşkesi, Adatepe Mah. Doğuş Cad. No: 207-I / 35390 Buca-İZMİR.