3 ms·
Interesting. I found I had the exact same experience as you did for my latest projects. In fact you helped solved a problem I have with JQuery Mobile (i.e. it l
by chewxy 14y ago
Interesting. I found I had the exact same experience as you did for my latest projects. In fact you helped solved a problem I have with JQuery Mobile (i.e. it laaaaaaaaaaaaaaa....gs)
Guess I'll be picking up XUIJS.
- napoleond 14y agoZepto is also worth checking out, especially if you're looking to reuse bits built with jQuery from a larger web app (API is almost identical).
- chewxy 14y agoYeah I've tried Zepto as a drop-in replacement for JQuery once ... a long time ago. The results were disastrous (everything broke!) but I guess I'll try it again
- napoleond 14y agoIt's still not a drop-in replacement, but it's close. You need to include more modules than just the core for eg. ajax or transition effects (the official modules are all available from http://zeptojs.com http://zeptojs.com and/or the github linked there). I maintain a pretty hefty Backbone based web app where we use Zepto for mobile/non-IE to save on file size, and serve the exact same code but with jQuery for IE. In about a thousand lines of code, there are only 3 or 4 edge cases where the code paths diverge for a line or two, and they're due to IE peculiarities rather than Zepto/jQuery conflicts.
- willmacdonald 14y agoYou should have a look at this page for a comparison of javascript frameworks on mobile devices: http://www.codefessions.com/2012/08/performance-of-jquery-compatible-mobile.html?spref=tw http://www.codefessions.com/2012/08/performance-of-jquery-co...