brianegan / brianegan/new_flutter_template

MVC? MVP? MVVM? Naming is hard!

Open
#3 26 comments 0 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
138
Forks
21
PR merge metrics
No merged PRs in 30d

Description

Looking at the documentation and example projects provided by popular State Management libraries, most separate Data Logic from Widget Logic, with some kind of object that connects them together (example: [Bloc documentation](https://bloclibrary.dev/#/architecture)). Although there are implementation differences between libraries, most of the times the logic in these "glue" or "connector" or "business logic" objects is very similar to one another (think of the logic that's often contained in a Cubit, StateNotifier, or ChangeNotifier).

Therefore it might be nice to give a general name to the patterns the community is already using so we can discuss concepts as a community more easily. What name would you use to describe this general pattern?

Relates to: https://github.com/brianegan/new_flutter_template/issues/2

- MVC: Model View Controller
- MVP: Model View Presenter
- MVVM: Model View ViewModel
- None of the Above (please describe in comments!)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the documentation and example projects referenced in the issue, including the linked Bloc architecture documentation, then compare the roles of Cubit, StateNotifier, and ChangeNotifier. Read the related issue #2 for context. Done would require community agreement on a general name and its definition.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
mobile-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.