onevcat / OneV-s-Den-Comments

0 stars 0 forks source link

2017/07/state-based-viewcontroller/ #32

Open utterances-bot opened 2 years ago

utterances-bot commented 2 years ago

单向数据流动的函数式 View Controller | OneV's Den

View Controller 向来是 MVC (Model-View-View Controller) 中最让人头疼的一环,MVC 架构本身并不复杂,但开发者很容易将大量代码扔到用于协调 View 和 Model 的 Controller 中。你不能说这是一种错误,因为 View Controller 所承担的本来就是胶水代码和业务逻辑的部分。但是,持续这样做必定将导致 Model View Controller 变成

https://onevcat.com/2017/07/state-based-viewcontroller/

dubiao commented 2 years ago

读过TCA那篇后回来的。