Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
260 views
in Technique[技术] by (71.8m points)

How do MVVM architecture and Reso Coder's clean architecture differ from each other for Flutter?

I am confused to understand differences between "MVVM architecture" and "Reso Coder's clean architecture". I have seen clean architecture versions in different GitHub repos. But I cannot decide which is the best to organize your app architecture. Here is what I mean.

Reso Coder's clean architecture

Reso Coder's clean architecure

He divided application into three main parts.

There can be different approaches of course. In GitHub, some projects have similar architecture with Reso Coder and others have similar with MVVM.

So, what are the differences and similarities between these two architectures?

question from:https://stackoverflow.com/questions/65905684/how-do-mvvm-architecture-and-reso-coders-clean-architecture-differ-from-each-ot

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

Clean Architecture and MVVM are in the same concept but the level of their implementations are quite different.

Clean Architecture is talking about some rules to architect your software in the highest level of abstraction.

But MVVM is just an architectural pattern, which can be implemented in a part of the software (close to the view).

In general, any software that wants to be scalable should have an architecture (not necessary for small software) but MVVM could be used to any scale of software.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...