Enhancing MVC architecture pattern description using its System of Systems model
Article No.: 8, Pages 1 - 11
Abstract
When novice engineers (fresh or recent graduates with little industry experience) join a SaaS (Software-as-a-Service) product company, they are tasked with comprehending the product, especially its behavior and dynamics. We believe that they can comprehend more effectively if they know and understand the architecture patterns used in the product.
Are the current architecture pattern descriptions of high quality? Do they fit the needs of novice engineers?
We evaluated the pattern descriptions of Model-View-Controller (MVC) (a popular and important architecture pattern for cloud systems) from a quality and fitment perspective and found gaps. To address these gaps, we have built a System of Systems (SoS) model of MVC that uses a transition systems vocabulary and a set-theoretic notation. In the paper, we show that this SoS model provides a rich set of information about the behavior and dynamics of the MVC components and their interactions. The model bridges the gaps in the MVC pattern description.
One of the contributions of the paper is to provide criteria to evaluate the pattern descriptions for quality and fitment for novice engineers. The paper proposes that we augment the benchmark pattern description of MVC with an SoS model. The paper also demonstrates a general approach to building SoS models for architecture patterns and recommends creating a catalog of SoS models for SaaS architecture patterns. We believe such a catalog will significantly help novice engineers in comprehension and other software engineering activities.
References
[1]
[n. d.]. Java SE Application Design With MVC. https://www.oracle.com/technical-resources/articles/javase/mvc.html
[2]
Kevin MacG. Adams, Patrick T. Hester, Joseph M. Bradley, Thomas J. Meyers, and Charles B. Keating. 2014. Systems Theory as the Foundation for Understanding Systems: SYSTEMS THEORY AS THE FOUNDATION FOR UNDERSTANDING SYSTEMS. Systems Engineering 17, 1 (March 2014), 112–123. https://doi.org/10.1002/sys.21255
[3]
ardalis. 2022. Overview of ASP.NET Core MVC. https://learn.microsoft.com/en-us/aspnet/core/mvc/overview?view=aspnetcore-7.0
[4]
Paris Avgeriou and Uwe Zdun. 2005. Architectural Patterns Revisited - A Pattern Language., Vol. 81. 431–470.
[5]
Felix Bachmann, Len Bass, Paul Clements, David Garlan, and James Ivers. 2002. Documenting Software Architecture: Documenting Behavior:. Technical Report. Defense Technical Information Center, Fort Belvoir, VA. https://doi.org/10.21236/ADA399792
[6]
Len Bass, Paul Clements, and Rick Kazman. 2003. Software Architecture in Practice. Addison-Wesley Professional.
[7]
Calin Belta, Boyan Yordanov, and Ebru Aydin Gol. 2017. Formal Methods for Discrete-Time Dynamical Systems. Studies in Systems, Decision and Control, Vol. 89. Springer International Publishing, Cham. https://doi.org/10.1007/978-3-319-50763-7
[8]
Egon Börger. 2010. The Abstract State Machines Method for High-Level System Design and Analysis. In Formal Methods: State of the Art and New Directions, Paul Boca, Jonathan P. Bowen, and Jawed Siddiqi (Eds.). Springer London, London, 79–116. https://doi.org/10.1007/978-1-84882-736-3_3
[9]
Ruven Brooks. 1978. Using a behavioral theory of program comprehension in software engineering. In Proceedings of the 3rd international conference on Software engineering. 196–201.
[10]
Ruven Brooks. 1983. Towards a theory of the comprehension of computer programs. International journal of man-machine studies 18, 6 (1983), 543–554.
[11]
Frank Buschmann, Regine Meunier, Hans Rohnert, Peter Sommerlad, and Michael Stal. 1996. Pattern-Oriented Software Architecture - Volume 1: A System of Patterns. Wiley Publishing.
[12]
Frank Buschmann, Regine Meunier, Hans Rohnert, Peter Sommerlad, and Michael Stal. 1996. Pattern-Oriented Software Architecture, Volume 1: A System of Patterns. Wiley, Chichester, UK. https://www.safaribooksonline.com/library/view/pattern-oriented-software-architecture/9781118725269/
[13]
Venkatesh Choppella, Kasturi Viswanath, and Mrityunjay Kumar. 2021. Algodynamics: Algorithms as systems. In 2021 IEEE Frontiers in Education Conference (FIE). IEEE, 1–9.
[14]
Paul Clements, Felix Bachmann, Len Bass, David Garlan, James Ivers, Reed Little, Robert Nord, and Judith Stafford. 2002. A Practical Method for Documenting Software Architectures. (Sept. 2002).
[15]
Edsger W Dijkstra. 2006. Ewd472: Guarded commands, non-determinacy and formal. derivation of programs.
[16]
Christoph Fehling, Frank Leymann, Ralph Mietzner, and Walter Schupeck. 2011. A Collection of Patterns for Cloud Types, Cloud Service Models, and Cloud-Based Application Architectures. Institute of Architecture of Application Systems (2011).
[17]
Martin Fowler. 2012. Patterns of Enterprise Application Architecture: Pattern Enterpr Applica Arch. Addison-Wesley.
[18]
Erich Gamma, Richard Helm, Ralph Johnson, and John Vlissides. 1993. Design Patterns: Abstraction and Reuse of Object-Oriented Design. In ECOOP’93—Object-Oriented Programming: 7th European Conference Kaiserslautern, Germany, July 26–30, 1993 Proceedings 7. Springer, 406–431.
[19]
Yuri Gurevich. 2000. Sequential Abstract-State Machines Capture Sequential Algorithms. ACM Transactions on Computational Logic 1, 1 (July 2000), 77–111. https://doi.org/10.1145/343369.343384
[20]
David Harel. 1987. Statecharts: A Visual Formalism for Complex Systems. Science of Computer Programming 8, 3 (June 1987), 231–274. https://doi.org/10.1016/0167-6423(87)90035-9
[21]
Cindy E. Hmelo-Silver and Roger Azevedo. 2006. Understanding Complex Systems: Some Core Challenges. Journal of the Learning Sciences 15, 1 (Jan. 2006), 53–61. https://doi.org/10.1207/s15327809jls1501_7
[22]
Cindy E. Hmelo-Silver, Surabhi Marathe, and Lei Liu. 2007. Fish Swim, Rocks Sit, and Lungs Breathe: Expert-Novice Understanding of Complex Systems. Journal of the Learning Sciences 16, 3 (June 2007), 307–331. https://doi.org/10.1080/10508400701413401
[23]
Cindy E. Hmelo-Silver and Merav Green Pfeffer. 2004. Comparing expert and novice understanding of a complex system from the perspective of structures, behaviors, and functions. Cognitive Science 28, 1 (Jan. 2004), 127–138. https://doi.org/10.1207/s15516709cog2801_7
[24]
Charles Antony Richard Hoare 1985. Communicating sequential processes. Vol. 178. Prentice-hall Englewood Cliffs.
[25]
Jon Holt and Simon Perry. 2008. SysML for Systems Engineering. Vol. 7. IET.
[26]
Ahmad Waqas Kamal and Paris Avgeriou. 2007. An Evaluation of ADLs on Modeling Patterns for Software Architecture. In EPRINTS-BOOK-TITLE. University of Groningen, Johann Bernoulli Institute for Mathematics and....
[27]
Glenn E Krasner. 1988. A cookbook for using model-view-controller user interface paradigmin smalltalk-80. J. Object Oriented Programming 1, 3 (1988), 26–49.
[28]
Mrityunjay Kumar and Venkatesh Choppella. 2023. Evaluating the difficulty for novice engineers in learning and using Transition Systems for modeling software systems. In Proceedings of the 16th Annual ACM India Compute Conference. 19–24.
[29]
Mrityunjay Kumar and Venkatesh Choppella. 2023. A modeling language for novice engineers to design well at SaaS product companies. In Proceedings of the 16th Innovations in Software Engineering Conference. 1–5.
[30]
Stanley Letovsky. 1987. Cognitive processes in program comprehension. Journal of Systems and Software 7, 4 (Dec. 1987), 325–339. https://doi.org/10.1016/0164-1212(87)90032-X
[31]
Nancy Lynch. 2003. Input/Output automata: Basic, timed, hybrid, probabilistic, dynamic,.... In CONCUR 2003-Concurrency Theory: 14th International Conference, Marseille, France, September 3-5, 2003. Proceedings 14. Springer, 191–192.
[32]
Nancy A Lynch. 1996. Distributed algorithms. Elsevier.
[33]
Ian MacColl and David Carrington. 1999. Specifying interactive systems in Object-Z and CSP. In IFM’99: Proceedings of the 1st International Conference on Integrated Formal Methods, York, 28-29 June 1999. Springer, 335–352.
[34]
Ivano Malavolta, Patricia Lago, Henry Muccini, Patrizio Pelliccione, and Antony Tang. 2013. What Industry Needs from Architectural Languages: A Survey. IEEE Transactions on Software Engineering 39, 6 (June 2013), 869–891. https://doi.org/10.1109/TSE.2012.74
[35]
Donella H Meadows. 2008. Thinking in systems: A primer. chelsea green publishing.
[36]
Robin Milner. 1980. A calculus of communicating systems. Springer.
[37]
Claus Pahl, Pooyan Jamshidi, and Olaf Zimmermann. 2018. Architectural Principles for Cloud Software. ACM Transactions on Internet Technology (TOIT) 18, 2 (2018), 1–23.
[38]
Dewayne E. Perry and Alexander L. Wolf. 1992. Foundations for the Study of Software Architecture. ACM SIGSOFT Software Engineering Notes 17, 4 (Oct. 1992), 40–52. https://doi.org/10.1145/141874.141884
[39]
Mary Shaw and David Garlan. 2005. Formulations and formalisms in software architecture. Computer Science Today: Recent Trends and Developments (2005), 307–323.
[40]
Graeme Smith. 2012. The Object-Z specification language. Vol. 1. Springer Science & Business Media.
[41]
J Michael Spivey and Jean-Raymond Abrial. 1992. The Z notation. Vol. 29. Prentice Hall Hemel Hempstead.
[42]
Paulo Tabuada. 2009. Verification and control of hybrid systems: a symbolic approach. Springer Science & Business Media.
[43]
Davide Taibi, Valentina Lenarduzzi, and Claus Pahl. 2018. Architectural Patterns for Microservices: A Systematic Mapping Study. In CLOSER 2018: Proceedings of the 8th International Conference on Cloud Computing and Services Science; Funchal, Madeira, Portugal, 19-21 March 2018. SciTePress.
[44]
Johan Van Benthem and Jan Bergstra. 1994. Logic of Transition Systems. Journal of Logic, Language and Information 3, 4 (Dec. 1994), 247–283. https://doi.org/10.1007/BF01160018
[45]
Tim Weilkiens. 2011. Systems Engineering with SysML/UML: Modeling, Analysis, Design. Elsevier.
[46]
Dharmendra K Yadav and Rushikesh K Joshi. 2010. Capturing interactions in architectural patterns. In 2010 IEEE 2nd International Advance Computing Conference (IACC). IEEE, 443–448.
[47]
Bernard P Zeigler, Tag Gon Kim, and Herbert Praehofer. 2000. Theory of modeling and simulation. Academic press.
Index Terms
- Enhancing MVC architecture pattern description using its System of Systems model
Recommendations
Modeling Model-View-Controller (MVC) Architecture Pattern as System of Systems (SoS) to Aid Comprehension and Reasoning
CompEd 2023: Proceedings of the ACM Conference on Global Computing Education Vol 2As software systems become increasingly complex, it is important that students develop software-is-system mindset. Our research aims to help engineers comprehend architecture patterns better using systems approach. We postulate that such an understanding ...
Comments
Information & Contributors
Information
Published In
February 2024
144 pages
ISBN:9798400717673
DOI:10.1145/3641399
Copyright © 2024 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 the author(s) 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: 22 February 2024
Check for updates
Author Tags
Qualifiers
- Research-article
- Research
- Refereed limited
Conference
ISEC 2024
ISEC 2024: 17th Innovations in Software Engineering Conference
February 22 - 24, 2024
Bangalore, India
Acceptance Rates
Overall Acceptance Rate 76 of 315 submissions, 24%
Contributors
Other Metrics
Bibliometrics & Citations
Bibliometrics
Article Metrics
- 0Total Citations
- 54Total Downloads
- Downloads (Last 12 months)54
- Downloads (Last 6 weeks)13
Reflects downloads up to 23 Dec 2024
Other Metrics
Citations
View Options
Login options
Check if you have access through your login credentials or your institution to get full access on this article.
Sign inFull Access
View options
View or Download as a PDF file.
PDFeReader
View online with eReader.
eReaderHTML Format
View this article in HTML Format.
HTML Format