MVVM Demonstration Using C# WPF
-
Published:2023-01-14
Issue:
Volume:
Page:1-14
-
ISSN:2581-7000
-
Container-title:International Journal of Applied Engineering and Management Letters
-
language:en
-
Short-container-title:IJAEML
Author:
Chakraborty Sudip1, Aithal P. S.2
Affiliation:
1. D.Sc. Researcher, Institute of Computer Science and Information sciences, Srinivas University, Mangalore-575 001, India 2. Vice Chancellor, Srinivas University, Mangalore, India
Abstract
Purpose: Nowadays, MVVM (Model-View View-Model) is the proven architecture for distributed software development. It encourages the development of the software components by the different independent teams and easy integration at the final stage. The individual researcher prefers direct coding or tightly coupled software modules. The Model is rapid and efficient but might create maintainability issues later. So from day one, we should introduce the best design model. In this scenario, the MVVM model is the major player. Here, we present how to implement MVVM into our project through a simple task. We will design the user interface, which is part of the UX design team, and then add functionality, which is the programming part. Finally, we will do integration and execution. The code used in this project is available to download from GitHub.
Design/Methodology/Approach: We are creating a C# WPF project inside the visual studio community edition. Then we segregate our activity into two parts. In the first part, we make a Model for our project. After that, we design the user interface. The user interface interacts with the user to display the data and receive inputs from the user. It is the presentation or view layer. After completing it, we add the required view model interaction logic. Finally, we integrate all components and run the project.
Findings/Result: Through the research, we realize the importance of the MVVM concept. It is a good software architecture; the researcher who has gone through the documents will find out how to implement the MVVM into their project. Some essential procedures are presented concisely so they can be adopted quickly. This architecture is independent of any language. So once we grab it, it can be implemented in our project, whatever the language we use.
Originality/Value: Several documents on MVVM design using WPF are available worldwide. Most of the documents are elaborative and descriptive. It is tricky to extract the required information from long-duration content as fast-track space. Here we demonstrate practically. Using the documents as a reference, the researcher can easily integrate the MVVM concept into their project.
Paper Type: Experimental-based Research.
Publisher
Srinivas University
Reference10 articles.
1. Pan, H. H., Jiang, J. J., Chen, L., Sun, H. T., & Tan, H. Q. (2011). A scalable graphical user interfaces architecture for CNC application based-On WPF and MVVM. In Advanced Materials Research (Vol. 317, pp. 1931-1935). Trans Tech Publications Ltd. 2. Sorensen, E., & Mikailesc, M. (2010). Model-view-ViewModel (MVVM) design pattern using Windows Presentation Foundation (WPF) technology. MegaByte Journal, 9(4), 1-19. 3. Grossu, I. V., Opritescu, M., Savencu, O., Miron, A. I., Verga, M., & Verga, N. (2022). A new version of Hyper-Fractal Analysis: Net WPF module for RGB 3D reconstruction of medical three-channel images. Computer Physics Communications, 276, 108335. 4. Sulistyarini, D. D., Isman, R. K., & Maulana, H. (2018). Build and Design of Voyage Account Applications Using C#, WPF, and SQL Server 2012 (Case Study Company X). INKOM Journal, 11(1), 25-32. 5. Troelsen, A., & Japikse, P. (2017). WPF Notifications, Validations, Commands, and MVVM. In Pro C# 7 (pp. 1137-1176). Apress, Berkeley, CA.
Cited by
11 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Go Green: ReUse LED Tube Light and Make it WhatsApp Enabled Using ESP Module, Twilio, and ThingESP;International Journal of Case Studies in Business, IT, and Education;2024-05-17 2. WhatsApp Based Notification on Low Battery Water Level Using ESP Module and TextMeBOT;International Journal of Case Studies in Business, IT, and Education;2024-03-19 3. Autonomous Fever Monitoring System For Child Using Arduino, ESP8266, WordPress, C# And Alexa;International Journal of Case Studies in Business, IT, and Education;2024-02-26 4. Let Us Build a MQTT Pub-Sub Client In C# For IoT Research;International Journal of Management, Technology, and Social Sciences;2024-02-02 5. Communication Channels Review For ESP Module Using Arduino IDE And NodeMCU;International Journal of Applied Engineering and Management Letters;2024-01-25
|
|