skip to main content
10.1145/3417473.3417478acmotherconferencesArticle/Chapter ViewAbstractPublication PagesitccConference Proceedingsconference-collections
research-article

Integrating Flyweight Design Pattern and MVC in Development of Web Application

Published:18 September 2020Publication History

ABSTRACT

This paper demonstrates how Flyweight design pattern and MVC architectural pattern can be integrated in web development. The Flyweight design pattern was applied in the backend controller which retrieves data stored in a database and then forwards it to the view page. The web application was developed based on MVC architectural pattern by using JavaServer Pages as a frontend development language, Java Servlet as a backend controller and MySQL as a database engine management system. According to an automated test done by JMeter, the throughput of the backend controller with Flyweight design pattern was more than the common controller. The result means that the Flyweight pattern supports more requests in the same period of time.

References

  1. Preeti Gahlyan and Shailendra Narayan Sign. 2018. Analysis of catalogue of GoF software design patterns. In Proceedings of the International Conference on Cloud Computing, Data Science & Engineering.Google ScholarGoogle ScholarCross RefCross Ref
  2. Andreas Karavokyris and Efthimios Alpis. 2018. Software Measures for Common Design Pattern Using Visual Studio Code Metrics. In Proceedings of the International Conference on Information, Intelligence, Systems and Applications.Google ScholarGoogle ScholarCross RefCross Ref
  3. K. Srikala. Flexible and Extensible Design Patterns of Software. Indian Journal of Engineering and Sciences, 2019.Google ScholarGoogle Scholar
  4. Carmine Gravino and Michele Risi. 2017. How the use of design patterns affects the quality of software systems: a preliminary investigation. In Proceedings of 43rd Euromicro Conference on Software Engineering and Advanced Applications.Google ScholarGoogle ScholarCross RefCross Ref
  5. Jonathan W. Lartigue and Richard Chapman. 2018. Comprehension and Application of Design Patterns by @@ R@Novice Software Engineers. In Proceedings of the Annual ACM Southeast Conference (ACMSE) Article No. 24.Google ScholarGoogle Scholar
  6. Sanchez D., Mendez O., Florez H. 2018. An Approach of a Framework to Create Web Applications. Lecture Notes in Computer Science, vol. 10963. Springer, Cham.Google ScholarGoogle Scholar
  7. Haake, Susanne & Müller, Wolfgang & Wolf, Marc. 2020. A Memorial Design Pattern Catalogue for Commemorative Digital Culture. In book: Digital Cultural Heritage, pp. 15--37 10.1007/978-3-030-15200-0_2.Google ScholarGoogle Scholar
  8. Hanu Gautam, Rahul Johari and Riya Bhatia 2020. SCiJP: Solving Computing Issues by Java Design Pattern. In Proceedings of the International Conference on Innovative Computing and Communications, Advances in Intelligent Systems and Computing.Google ScholarGoogle ScholarCross RefCross Ref
  9. Abdul Majeed and Ibtisam Rauf. 2018. MVC Architecture: A Detailed Insight to the Modern Web Applications Development. Peer Review Journal of Solar & Photoenergy Systems Volume 1 Issue 1 September.Google ScholarGoogle Scholar
  10. Dragos Dobrean and Laura Diosan. 2019. Model View Controller in iOS mobile applications development. In Proceedings of the 31st International Conference on Software Engineering and Knowledge Engineering.Google ScholarGoogle ScholarCross RefCross Ref
  11. Ram Naresh Thakur, U. S. Pandey. 2019. A Study Focused on Web Application Development using MVC Design Pattern. International Research Journal of Engineering and Technology (IRJET), Volume: 06 Issue: 08.Google ScholarGoogle Scholar
  12. Trubnikov I.V., Minakova O.V., Kuripta O.V. 2019. Framework for Building Data Flow Diagramm Based Applications. In Proceedings of the International Multi-Conference on Industrial Engineering and Modern Technologies (FarEastCon).Google ScholarGoogle ScholarCross RefCross Ref
  13. Damian A. Tamburri, Marcello M. Bersani, Raffaela Mirandola, and Giorgio Pea. 2018. DevOps Service Observability By-Design: Experimenting with Model-View-Controller. In Proceedings of European Conference, ESOCC, Como, Italy, September 12-14.Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. Mariam Aljamea, and Mohammad Alkandari. 2018. MMVMi: A Validation Model for MVC and MVVM Design Patterns in iOS Applications. IAENG International Journal of Computer Science, 45:3.Google ScholarGoogle Scholar
  15. Peng Zhang, et.al. 2017. Design of Blockchain-Based Apps Using Familiar Software Patterns with a Healthcare Focus. In Proceedings of the 24th Conference on Pattern Languages of Programs Article, No. 19.Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. Wasana Ngaogate. 2019. GoF Design Patterns in a Smart City System. Journal of Software vol. 14, no. 5, pp. 220--226, 2019.Google ScholarGoogle ScholarCross RefCross Ref
  17. Daniel Feitosa, et.al. 2019. What can violations of good practices tell about the relationship between GoF patterns and run-time quality attributes. Information and Software Technology 105 1--16.Google ScholarGoogle Scholar
  18. Muhammad Noman Riaz 2018. Impact of Software Design Patterns on the Quality of Software: A Comparative Study. In Proceedings of the International Conference on Computing, Mathematics and Engineering Technologies -iCoMET.Google ScholarGoogle Scholar
  19. Bruno L. Sousa, et.al. 2017. Evaluating Co-Occurrence of GOF Design Patterns with God Class and Long Method Bad Smells. In Proceedings of the XIII Brazilian Symposium on Information Systems, Lavras, Minas Gerais, June 5-8.Google ScholarGoogle ScholarCross RefCross Ref
  20. Foutse Khomh, Yann-Gaël Guéhéneuc 2018. Design Patterns Impact on Software Quality: Where Are the Theories? In Proceedings f the IEEE 25th International Conference on Software Analysis, Evolution and Reengineering (SANER).Google ScholarGoogle ScholarCross RefCross Ref
  21. Vardhan A., Chaturvedi A. 2017. Ontology-Driven Shopping Cart and Its Comparative Analysis. Communications in Computer and Information Science, vol 750. Springer, Singapore.Google ScholarGoogle Scholar
  22. Feitosa D., Avgeriou P., Ampatzoglou A., Nakagawa E.Y. 2017. The Evolution of Design Pattern Grime: An Industrial Case Study. In Proceedings of the Product-Focused Software Process Improvement PROFES. Lecture Notes in Computer Science, vol 10611 Springer.Google ScholarGoogle Scholar
  23. Apostolos Ampatzoglou, et.al. 2015. The Effect of GoF Design Patterns on Stability: A Case Study. IEEE Transactions on Software Engineering Volume: 41, Issue: 8.Google ScholarGoogle Scholar
  24. Sofia Charalampidou, et.al. 2017. A theoretical model for capturing the impact of design patterns on quality: the decorator case study. In Proceedings of the Symposium on Applied Computing SAC 17 Pages 1231--1238.Google ScholarGoogle ScholarDigital LibraryDigital Library
  25. Erich Gamma, Richard, Helm, Ralph Johnson, and John Vlissides. 1994. Design Patterns: Elements of Reusable Object-Oriented Software. Addison-Wesley.Google ScholarGoogle ScholarDigital LibraryDigital Library
  26. Muhammad Ehsan Rana, et.al. 2019. The Impact of Flyweight and Proxy Design Patterns on Software Efficiency: An Empirical Evaluation. International Journal of Advanced Computer Science and Applications, Vol.10, No.7.Google ScholarGoogle Scholar
  27. Shahid Hussain, Jacky Keung, Arif Ali Khan. 2017. Software design patterns classification and selection using text categorization approach. Applied Soft Computing, Pages 225--244.Google ScholarGoogle Scholar
  28. Irfan Sljivo, Garazi Juez Uriagereka, Stefano Puri, and Barbara Gallin. 2020. Guiding Assurance of Architectural Design Patterns for Critical Applications. Journal of Systems Architecture, March.Google ScholarGoogle Scholar

Index Terms

  1. Integrating Flyweight Design Pattern and MVC in Development of Web Application

    Recommendations

    Comments

    Login options

    Check if you have access through your login credentials or your institution to get full access on this article.

    Sign in
    • Published in

      cover image ACM Other conferences
      ITCC '20: Proceedings of the 2020 2nd International Conference on Information Technology and Computer Communications
      August 2020
      64 pages
      ISBN:9781450375399
      DOI:10.1145/3417473

      Copyright © 2020 ACM

      Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      • Published: 18 September 2020

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • research-article
      • Research
      • Refereed limited

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader