MVC Tips

本文探讨了代码清晰性和易于扩展性的价值,通过将组件划分为业务信息、视觉表现及控制映射三部分来提高组件的设计质量。适用于屏幕显示与内部系统表示不同的场景,支持组件在使用过程中的行为变化及复用。

1. It's for clearer code and more easily extensiblity.

2. Three parts: one represents the business information, one the visual representation and one the control mapping between the view and business information.

3. Applicability by characteristics:

The internal representation for the system may be completely different from the representation on a screen.

On the same component, different sources may invoke different behavior.

Behavior or representation changes as the component is used.

Reuse, reuse

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值