这样,您将创建一个视图和视图模型之间的强引用。
With this, you create a strong reference between View and ViewModel.
例如,你可以很容易编写自己的视图类来改变视图选择和渲染的方法,或者为模型换用另一个数据库平台(默认的Ruby的Sequel)。
For example, you can easily write your own view class to change the way views are selected or rendered, or use a different database platform for models (the default is Ruby Sequel).
绑定与传播——应用程序提供包括外部和动态配置、子系统状态视图和应用程序特定状态视图的信息模型。
Bind and propagate — an application provides an information model that includes external and dynamic configuration, views of subsystem state, and application-specific state.
应用推荐