NativeScript / docs

The NativeScript Docs!
https://docs.nativescript.org/
13 stars 25 forks source link

docs: data binding #6

Closed Ombuweb closed 1 year ago

cla-bot[bot] commented 1 year ago

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign the CLA at https://www.nativescript.org/cla. CLA has not been signed by users: @Ombuweb. After signing the CLA, you can ask me to recheck this PR by posting @cla-bot check as a comment to the PR.

rigor789 commented 1 year ago

@cla-bot check

cla-bot[bot] commented 1 year ago

The cla-bot has been summoned, and re-checked this pull request!

CatchABus commented 1 year ago

@Ombuweb I think we should stick with the term of view model instead of data model.

The term ViewModel originates from the MVVM design pattern. In the MVVM design pattern, it is the viewmodel that contains all the logic to handle the request/events generated by the view. We can say that a viewmodel in MVVM pattern is like a controller in MVC pattern.