POLA DESAIN MODEL-VIEW-VIEW MODEL UNTUK PENGEMBANGAN APLIKASI CALORIE COUNTER YANG EFISIEN

##plugins.themes.academic_pro.article.main##

Mohammad Fajar
Daniel Alexander Hijaya
Hasniati

Abstract

This study aims to design an efficient calorie counter application using Model-View-ViewModel (MVVM). The use of the Model-View-ViewModel design pattern is based on efforts to facilitate the process of reusing source code (Reusability). The design process uses flutter as an application framework. This research can be used as a reference regarding the Model-View-ViewModel, as well as providing new knowledge for researchers regarding the combination of the Model-View-ViewModel design pattern with the flutter framework on the android platform. Data collection in this study was carried out through literature studies and evaluation of the system design. The application was developed using the Dart programming language, while the evaluation of the implementation of MVVM design pattern is measured by using CK metrics. The evaluation shows that the MVVM calorie counter application can be run on Bluestacks Android Emulator successfully. The reusability degree of the application is better than the non-MVVM calorie counter apps, where the WMC parameter decreased by 4.5 points, and the DIT parameter by 0.3 points, while the CBO parameter decreased by 0.4 points, and the LCOM parameter by 31.2 points. The results indicate that the MVVM calorie counter application is easier to maintain.

##plugins.themes.academic_pro.article.details##

How to Cite
Fajar, M., Hijaya, D. A., & Hasniati. (2025). POLA DESAIN MODEL-VIEW-VIEW MODEL UNTUK PENGEMBANGAN APLIKASI CALORIE COUNTER YANG EFISIEN. JTRISTE, 12(1), 64-75. https://doi.org/10.55645/jtriste.v12i1.573

References

[1] J. Sligo, R. Gauld, V. Roberts, and L. Villa, “A literature review for large-scale health information system project planning, implementation and evaluation,” Int J Med Inform, vol. 97, pp. 86–97, 2017, doi: https://doi.org/10.1016/j.ijmedinf.2016.09.007.
[2] R. T. Sutton, D. Pincock, D. C. Baumgart, D. C. Sadowski, R. N. Fedorak, and K. I. Kroeker, “An overview of clinical decision support systems: benefits, risks, and strategies for success,” NPJ Digit Med, vol. 3, no. 1, p. 17, 2020, doi: 10.1038/s41746-020-0221-y.
[3] Y. Yuhefizar, A. Nasution, R. Putra, E. Asri, and D. Satria, “Alat Monitoring Detak Jantung Untuk Pasien Beresiko Berbasis IoT Memanfaatkan Aplikasi OpenSID berbasis Web,” Jurnal RESTI (Rekayasa Sistem dan Teknologi Informasi), vol. 3, no. 2, pp. 265–270, Aug. 2019, doi: 10.29207/resti.v3i2.974.
[4] M. A. Akkaş, R. SOKULLU, and H. Ertürk Çetin, “Healthcare and patient monitoring using IoT,” Internet of Things, vol. 11, p. 100173, 2020, doi: https://doi.org/10.1016/j.iot.2020.100173.
[5] Y. Muhammad, M. Tahir, M. Hayat, and K. T. Chong, “Early and accurate detection and diagnosis of heart disease using intelligent computational model,” Sci Rep, vol. 10, no. 1, p. 19747, 2020, doi: 10.1038/s41598-020-76635-9.
[6] A. Singh, H. Mahapatra, A. K. Biswal, M. Mahapatra, D. Singh, and M. Samantaray, “Heart Disease Detection Using Machine Learning Models,” Procedia Comput Sci, vol. 235, pp. 937–947, 2024, doi: https://doi.org/10.1016/j.procs.2024.04.089.
[7] P. Jones, V. Ratten, and T. Hayduk, “Sport, fitness, and lifestyle entrepreneurship,” International Entrepreneurship and Management Journal, vol. 16, no. 3, pp. 783–793, 2020, doi: 10.1007/s11365-020-00666-x.
[8] S. Angosto, J. García-Fernández, and M. Grimaldi-Puyana, “A systematic review of intention to use fitness apps (2020–2023),” Humanit Soc Sci Commun, vol. 10, no. 1, p. 512, 2023, doi: 10.1057/s41599-023-02011-3.
[9] P. Banerjee, V. V. R. Mendu, D. Korrapati, and S. R. M. Gavaravarapu, “Calorie counting smart phone apps: Effectiveness in nutritional awareness, lifestyle modification and weight management among young Indian adults,” Health Informatics J, vol. 26, no. 2, pp. 816–828, Jun. 2020, doi: 10.1177/1460458219852531.
[10] I. Khaghani-Far, S. Nikitina, M. Báez, E. A. Taran, and F. Casati, “Fitness Applications for Home-Based Training,” IEEE Pervasive Comput, vol. 15, no. 4, pp. 56–65, 2016, doi: 10.1109/MPRV.2016.76.
[11] A. Adewumi, G. Olatunde, S. Misra, R. Maskeliūnas, and R. Damaševičius, “Developing a Calorie Counter Fitness App for Smartphones,” in Information Technology Science, T. Antipova and Á. Rocha, Eds., Cham: Springer International Publishing, 2018, pp. 23–33.
[12] M. Zhou et al., “Personalizing Mobile Fitness Apps using Reinforcement Learning HHS Public Access,” in CEUR workshop proceedings, A. Said and T. Komatsu, Eds., Tokyo, Mar. 2018. Accessed: Dec. 14, 2024. [Online]. Available: http://ceur-ws.org/Vol-2068/humanize7.pdf
[13] N. A. A. N. Muhammad, C. P. Lee, K. M. Lim, and S. F. A. Razak, “Malaysian food recognition and calorie counter application,” in 2017 IEEE 15th Student Conference on Research and Development (SCOReD), 2017, pp. 445–450. doi: 10.1109/SCORED.2017.8305442.
[14] E. M. Sahly and O. M. Sallabi, “Design pattern selection: A solution strategy method,” in 2012 International Conference on Computer Systems and Industrial Informatics, 2012, pp. 1–6. doi: 10.1109/ICCSII.2012.6454337.
[15] B. Maqbool and S. Herold, “Challenges in Developing Software for the Swedish Healthcare Sector.” [Online]. Available: https://drive.google.com/file/d/
[16] B. Mehboob, C. Y. Chong, S. P. Lee, and J. M.-Y. Lim, “Reusability affecting factors and software metrics for reusability: A systematic literature review,” Softw Pract Exp, vol. 51, pp. 1416–1458, 2021, [Online]. Available: https://api.semanticscholar.org/CorpusID:233478223
[17] M. Burgin, H. K. Lee, and N. Debnath, “Software technological roles, usability, and reusability,” in Proceedings of the 2004 IEEE International Conference on Information Reuse and Integration, 2004. IRI 2004., 2004, pp. 210–214. doi: 10.1109/IRI.2004.1431462.
[18] F. E. Shahbudin, “Design Patterns for Developing High Efficiency Mobile Application,” J Inf Technol Softw Eng, vol. 03, no. 03, 2013, doi: 10.4172/2165-7866.1000122.
[19] L. A. T. Nguyen, T. S. Huynh, D. T. Tran, and Q. H. Vu, “Design and Implementation of Web Application Based on MVC Laravel Architecture,” European Journal of Electrical Engineering and Computer Science, vol. 6, no. 4, pp. 23–29, Aug. 2022, doi: 10.24018/ejece.2022.6.4.448.
[20] W. Sun, H. Chen, and W. Yu, “The Exploration and Practice of MVVM Pattern on Android Platform,” in Proceedings of the 2016 4th International Conference on Machinery, Materials and Information Technology Applications, Atlantis Press, Jan. 2017. doi: 10.2991/icmmita-16.2016.205.
[21] M. Mihailescu and E. Sorensen, “Model-View-ViewModel (MVVM) Design Pattern using Windows Presentation Foundation (WPF) Technology,” Megabyte Journal, Oct. 2010.
[22] J. Patrzyk, B. Patrzyk, K. Rycerz, and M. Bubak, “Towards A Novel Environment For Simulation Of Quantum Computing,” Computer Science, vol. 16, p. 103, Jan. 2015, doi: 10.7494/csci.2015.16.1.103.
[23] S. R. Chidamber and C. Kemerer, “Kemerer, C.F.: A metric suite for object oriented design. IEEE Trans. Softw. Eng. 20(6), 476-493,” Software Engineering, IEEE Transactions on, vol. 20, pp. 476–493, Jul. 1994, doi: 10.1109/32.295895.
[24] L. H. Rosenberg and L. E. Hyatt, “Software Quality Metrics for Object-Oriented Environments,” 2002. [Online]. Available: https://api.semanticscholar.org/CorpusID:59779685