• Home

Testing jQueryMobile cross-platform

Nov 30 2011

Early on in the project we decided to go for “mobile first” approach. We firmly believe that the easiest and right way to do it is through a Web App.

Recently (~1 year) many mobile web dev platforms have emerged. jQueryMobile, Lungojs, Sencha Touch, jqTouch, iUI are the most prominent ones. We tried them all when we first started and all of them are “ok”. But we cannot settle for that :) We eliminated some of them due to visual and technology concerns and ended up selecting the fastest (back then) and most supported with a large community (even in the alpha/beta stages): jQueryMobile

The structure of it simply fantastic. You can create UI elements and pages really fast. We decided to build a complete UI with it and let JS with API calls handle all the data transactions with our back-end (built on Django/Python — will follow up with a different post on that).

After 2 months of part-time development we finally had something on test more widely on different platforms. Basic pages with basic functionality in jQueryMobile communicating with basic API calls with the back-end. All the testing while developing in early stages happened on Android 3.1 (Galaxy Tab), and we have to admit that it felt kinda slow (both in Firefox Mobile and in Native Browser). Transitions are jumpy and control elements not as snappy as you would expect on a native app. Then one day we got an iPad 2 in our hands and tested it also there. Huge difference. It is like jQueryMobile is made for this thing! Smooth transitions, responsive controls nice loadings :) This is kinda weird as on jqm website about platform support, both platforms are rated A+. We are going to follow up on this with jQueryMobile team to figure out what is happening. In the meantime, disabling transitions and effects seems like a viable solution to get something close-to-smooth in Android.

We would love to hear any feedback about Mobile Web Frameworks (jQueryMobile in specific) and speed on those platforms. It is understood that we are living on edge here (always on nightly builds on all frameworks), but hey it would not be fun if it wasn’t for bleeding edge!

/we back to testing

Giorgos & Pierros

cc-by-sa photo by Brian Lai

4 responses so far

  1. Thomas
    on 30 Nov 2011 at 12:39 pm

    Hi,

    I used jQM on several projects.

    If it’s not done, you should update your jQuery Mobile to the lastest version. There was a lot of work done concerning performance.

    Now, you should be aware that iOS has a better support for Web standards. On Android, CSS transitions/animations are not hardware accelerated for instance. This may change with latest hardware + Ice Cream Sandwich, but it means that the mast majority of actual android phones will not render jQuery Mobile site fast.

    Like they say on the platform support page: “The visual fidelity of the experience is highly dependent on the CSS rendering capabilities of the device and platform so not all A grade experience will be pixel-perfect but that’s the nature of the web.”. It’s not just about pixel-perfect UI, it’s also about smooth animations.

  2. Thanos
    on 30 Nov 2011 at 4:49 pm

    On my low-end android phone, jquery mobile is really slow. And I’m not just talking about the page transitions.

    While devices of that kind of performance have a big market share, I would be much more interested in less javascript heavy or fancy effects heavy mobile frameworks.

  3. admin
    on 30 Nov 2011 at 8:05 pm

    Which model do you test on Thanos?

    With JQM we can at least have some control on which features get activated, thus we are probably going to disable transitions and other stuff on specific devices and/or platforms

  4. Thanos
    on 14 Dec 2011 at 4:27 pm

    I’ve got a ZTE Blade running cyanogenmod 7. I guess, it’s time for me to upgrade to something more powerful…

Leave a Reply

  • Latest Posts

    • Testing jQueryMobile cross-platform
    • Last month in Verese
    • Video intro to Verese
    • The future of financial transactions on the web – An intro
  • Feed on

    • Posts RSS
    • Comments RSS
  • Search

  • Categories

    • Uncategorized (4)
  • Monthly

    • November 2011 (2)
    • September 2011 (2)
  • Pages

Site Admin | Theme by NiyazVerese Copyright © 2013 All Rights Reserved