Warning: Parameter 1 to wp_default_scripts() expected to be a reference, value given in /homepages/17/d294589954/htdocs/gzlname_c/wp-includes/plugin.php on line 546

Warning: Parameter 1 to wp_default_styles() expected to be a reference, value given in /homepages/17/d294589954/htdocs/gzlname_c/wp-includes/plugin.php on line 546

最棒的图解MVC

KiAnG自CS193P的笔记:

mvc_super

  • 控制器是螺丝,控制两头
  • 数据控件是硬盘,储存数据
  • 视图控件是界面,就是界面… …
  • 控制器接收视图的特定行为(target-action)和 代理通告(delegate)
  • 控制器视图接收数据的通知 和 KVO(键值观察)

Leave a Reply