3 Mobile App Development Problems and Ways to Solve Them
2011-11-09 10:30 无名365 阅读(156) 评论(0) 编辑 收藏 举报http://www.infoq.com/presentations/3-Mobile-App-Development-Problems
Mobile means: Design for failure
• The network is unreliable
• Your app can crash any time
Out of memory
User force kills you
You might just crash yourself
Cloud Data Expectation
1.The App should let the user know that the data they're seeing is old
2.The App should be able to show whatever data has already been seen or looked at recently
3.The App should be trying to update the displayed data in the backgroud
4.The user can tell the App to try harder
Implications on App Architecture
• Need to cache cloud data
HTTP level
Entity level
• Need to be able to do updates in the background - presenting old data first then refreshing with new data
• Need to prioritize (schedule) network requests or make them cancelable if the user can jump around quickly in the UI