Performance and UX Considerations For Successful PhoneGap Apps
http://www.tricedesigns.com/2013/03/11/performance-ux-considerations-for-successful-phonegap-apps/
Performance & UX Considerations For Successful PhoneGap Apps (many tips also apply to mobile web pages/apps)
(
6 comments
| 22 points
| on HN
)
I wrote a PhoneGap app [2] and this fact was among my considerations when designing it.
The performance points are spot on with my experiences, especially avoiding any height and width manipulations. Most of the height transitions in my app are actually translations on the Y axis, preventing reflows. Rather than completely rely on the browser's native layout capabilities, it can pay off tremendously to do some of those calculations and translations manually.
[1] - http://cheeaun.github.com/hackerweb
[2] - http://chaincalapp.com
Also I think local data and avoiding network round trips is key to reliable consistent high performance. This is why we built Couchbase Lite for mobile. https://github.com/couchbase/couchbase-lite-ios
"So wait, you are telling me, I can build native mobile apps with just css and js"
-"Yes, all you need to do is learn these 1000 quirks and edge cases for performance, and learn/memorise our API"