The 10 Best MVC Tips Ever
来源:互联网 发布:linux 修改用户权限 编辑:程序博客网 时间:2024/04/29 18:56
#1. Learn MVC for iPhone OS
Common conventions
Built up from other design patterns
#2. Use MVC to Divide Work
Implement a big idea
Make manageable pieces
#3. Don’t Fight the Framework
Color inside the lines
Make the framework work for you
#4. Don’t Abuse Views
Views don’t own data
Data display and event capture
#5. Plan for iPhone and iPad
Divide code into modules
Higher-level design than MV
#6. Strive for Loose Coupling
Goal is flexibility
Minimizing mutual dependencies
#7. Choose the Right Data Model
iPhone OS gives you many options
Finding the right fit
#8. Decompose Controller Work
The right number of controllers
Special iPhone OS controllers
#9. Take Charge of Your Object Graph
Ownership
Lifecycle
#10. Coordinate State Changes
Updating model after user actions
Updating views after model changes
0 0
- The 10 Best MVC Tips Ever
- The 46 Best-ever Freeware Utilities
- The 46 Best-ever Freeware Utilities-some
- Oracle Buys Sun: The Best Deal Ever
- 50 of the Best Ever MooTools Plugins and Tutorials
- How to Motivate Employees? The Best Answer Ever
- lightoj 1304 The Best Contest Site Ever (二分匹配)
- The best article about SVM ever (Chinese version)
- The 7 Best ‘Air Jordan’ Shoes Ever Made
- The 7 Best ‘Air Jordan’ Shoes Ever Made
- The Ten Best Vocabulary Learning Tips
- [Z] The Ten Best Vocabulary Learning Tips
- Tips for the best development tools
- Best Training Ever
- [Repaste] “The Best Programming Advice I Ever Got” with Rob Pike
- What is the best(funniest) comment in source code you have ever encountered?
- What is the best comment in source code you have ever encountered? [closed]
- Light OJ 1304 The Best Contest Site Ever 行列匹配变形
- storm的并发
- @Transactional spring 配置事务 注意事项
- 【Unix/Linux】【命令】【网络操作工具】文件传输工具 —— curl命令【UNDONE】
- 解决在WINDOWS XP,win7系统上无法安装SQL server服务器版的问题
- UVA - 729 The Hamming Distance Problem
- The 10 Best MVC Tips Ever
- Android——利用Achartengine制作趋势图(含双Y轴,浮窗)
- Poj 2288 Islands and Bridges 状态压缩
- Android下的权限管理
- Qt环境下利用OpenCV采集摄像头图像并保存
- ONVIF+BOA文档
- PowerShell学习入门 - 3(Get-Date的直接使用)
- Redis使用TCMalloc提高内存分配性能
- 竞赛中常用的C++写法