MVVM 再探:模型-视图-视图模型模式的设计变体研究
MVVM Revisited: Exploring Design Variants of the Model-View-ViewModel Pattern
AI总结:
本文通过多声部文献综述,系统梳理了MVVM模式的设计变体与权衡,识别出76个额外设计构造、16个额外优点和15个缺点,为企业应用开发提供实用指导。
摘要:
许多企业软件系统提供复杂的图形用户界面(GUI),这些界面需要稳健的架构模式以实现结构良好的软件设计。然而,流行的GUI架构模式如模型-视图-视图模型(MVVM)往往缺乏详细的实现指导,导致GUI开发者在没有全面了解设计变体和常被提及的权衡的情况下不当使用该模式。因此,本文对MVVM的设计方面和权衡进行了广泛的综述,超越了标准MVVM定义。我们进行了多声部文献综述(MLR),包括白色和灰色文献,以涵盖来自博客、已发表论文和其他未发表形式如书籍的基本知识。以标准MVVM定义作为基线,我们的研究识别出(1)76个额外的设计构造,归为29个设计方面,以及(2)16个额外的优点和15个额外的缺点。这些见解可以指导企业应用程序开发者实现实用的MVVM解决方案,并支持明智的设计决策。
英文摘要:
Many enterprise software systems provide complex Graphical User Interfaces (GUIs) that need robust architectural patterns for well-structured software design. However, popular GUI architectural patterns like Model-View-ViewModel (MVVM) often lack detailed implementation guidance, leading GUI developers to inappropriately use the pattern without a comprehensive overview of design variants and often-mentioned trade-offs. Therefore, this paper presents an extensive review of MVVM design aspects and trade-offs, extending beyond the standard MVVM definition. We conducted a multivocal literature review (MLR), including white and gray literature, to cover essential knowledge from blogs, published papers, and other unpublished formats like books. Using the standard MVVM definition as a baseline, our study identifies (1) 76 additional design constructs grouped into 29 design aspects and (2) 16 additional benefits and 15 additional drawbacks. These insights can guide enterprise application developers in implementing practical MVVM solutions and enable informed design decisions.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。