Saturday, October 15, 2011

First Impressions: Sencha Touch is faster than jQuery Mobile

Sencha Touch I have found to be a pretty sweet cross-browser HTML5 solution for building web apps. I was  looking for a good library to go along with PhoneGap.

At first I looked at jQuery Mobile 1.0rc1, but after checking out the examples on my phone, decided it's broken on Android. Specifically I have a Motorola Droid 1 running stock Android 2.2.2, and the examples ran quite choppily, with CSS page transition effects pretty much completely busted--I guess because they are relying on hardware accelerated CSS on newer phone models.

But even navigating the jQuery Mobile documentation site, which is naturally written with jQuery Mobile, showed some bugginess where the loading dialog would show off-center, the back button would flash the wrong page before finalizing the transition (a side effect of the broken CSS transitions, I guess), and just overall slowness. They even made some basic performance mistakes like binding to the "click" event instead of the "touchstart" event, adding some slowness--see this informative post from March 2011.

The Sencha Touch demos proved to be quite a lot snappier and look quite pretty. The button clicks are very responsive. I was impressed with the speed of the drag and drop, although there was a tiny bit of bugginess where the color might change differently depending if I drag quickly or slowly. In any case I'm pretty convinced  that Sencha Touch meets my needs for many use cases for current generation mobile devices. jQuery Mobile might serve me better in the future, when they speed up the library's performance or if I ever decide to cater to a small set of fast devices.

For some more opinions, check out this stackoverflow page: http://stackoverflow.com/questions/4066167/sencha-touch-or-jquery-mobile.

2 comments:

  1. How to play coin casino for real money
    The game is pretty straightforward and easy to 제왕카지노 learn. You need to be 제왕카지노 21 인카지노 years of age or older to play at a legal online casino. The

    ReplyDelete
  2. MGM casino launches its second ever poker tournament - Film
    MGM Entertainment, 꽁 머니 닷컴 which owns the Seminole Hard 프로토 승부 식 배당률 보기 Rock Hotel Casino & Spa, will host a 비윈티비 poker tournament 토토사이트 해킹하는법 넷마블 featuring five card studded 파워볼 밸런스 사이트 벳무브 poker players each

    ReplyDelete