Performance Tips for PhoneGap Apps | March 10th, 2011
Well you can really tell the PhoneGap community is starting to mature when a post like this comes out. Daniel Pfeiffer and the crew at Float must be really sharp guys and we’re stoked they’re using PhoneGap and sharing a bit of their knowlege. I don’t want to steal their thunder so here’s just outline of their
-Test on a device early
-Listen for ‘touchstart’ instead of ‘click’
-CSS Animations
-Optimize your JavaScript
-Try a different JavaScript library
-Concatenate and minify
-JSLint
-Update the OS
-Split up the work
-Disable the multi-tasking
Please let me know if you have any other tips to share with the rest of the PhoneGap community.
March 14th, 2011 at 9:43 am
Thomas Fuchas has posted some great articles on the subject:
http://mir.aculo.us/2010/06/04/making-an-ipad-html5-app-making-it-really-fast/
http://mir.aculo.us/2010/08/12/optimizing-images-for-hardware-acceleration-on-the-iphone-and-ipad/
http://mir.aculo.us/2010/08/17/when-does-javascript-trigger-reflows-and-rendering/
It would be great if there is a wiki on Nitobi to post these tips and best practices!