Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Switching from Jquery Mobile to AppFramework

I've built a project using Jquery Mobile. JQM seems perfect for fast prototyping but the end result on an iphone 3GS/IOS 5.1 is far from fluid. I've tried a lot of hacks/tricks to make it faster and got rid of transitions but still, I cannot get a satisfying result.

I've been looking around. What I need is a lightweight solution with a decent UI (JQM is perfect for what I need in that domain).

trigger.io and AppFramework seem to be the 2 solutions which are available (maybe I'm missing some others).

I'd like to give AppFramework a go but I'd like to have feedback from people who have made the change.

Thank you.

like image 976
Alain Zelink Avatar asked May 11 '13 09:05

Alain Zelink


People also ask

Is jQuery Mobile outdated?

The team announced that the cross-platform jQuery Mobile project under its umbrella will be fully deprecated as of October 7, 2021. New technologies for mobile app development have evolved since this project was launched in 2010, so we're encouraging developers to plan for this jQuery Mobile transition.

Is jQuery and jQuery Mobile the same?

jQuery and jQueryUI are both designed to be added to your website if you want to add a particular feature, jQuery or jQueryUI might be able to help. However, jQuery Mobile is a full framework which is built on jQuery and jQuery UI foundation.

Does jQuery ui work on mobile?

jQuery Mobile is a HTML5-based user interface system designed to make responsive web sites and apps that are accessible on all smartphone, tablet and desktop devices.


1 Answers

Intro

A larger version of this answer can also be found HERE.

jQuery Mobile was never intended to be used only as an HTML5/CSS3 hybrid mobile app framework. On a similar track like its older brother jQuery and jQuery UI it was intended to be used as a robust, responsive solution in the ever growing mobile web application market. What it took from its older brother was an all around browser support. Run it on every possible major platform and it should work just the same.

That same broad browser support also brought another problem and that is platform optimization. Because jQM can't favor specific platforms also means it is not optimized to use most in any of it.

Let us also talk about Phonegap a bit. While great app packaging system it becomes a hell hole when used with a larger jQuery Mobile application. It's like two great parents made a deformed bastard child or to large pluses gave as an even bigger minus.

Solutions

Like always in human history another groups of developers came to fill this evident hole. And here came jqMobi (now AppFramework), jqTouch, Zepto, Sencha Touch, Trigger.io and others.

Good vs ...

Before going any further than jQuery Mobile one thing must be understood, whatever you gain in speed (and trust me you will get it), you will lose in community support. While every earlier mentioned framework has a sizable developer community behind them, all of them combined can't even come close to jQM.

With this said, let us delve into specifics. From my experience currently two best solutions as HTML5/CSS3 Android and iOS hybrid app frameworks are AppFramework and Sencha Touch. First, let me say, they are fast, faster than jQuery Mobile will ever be (if jQ developers stay on this course). UI support is similar if not even better in the case of Sencha Touch, not to mention UI is more native looking that it is the case with jQuery Mobile. Listviews are faster, scrolling is better, transitions do not stutter.

... bad

Before someone asks why do people then choose to use, jQuery Mobile instead? The obvious reason would be community support and to some extent, this is the truth. But there are some other pressing matters here. While jQMoby advertise it self as a truer jQuery alternative to jQuery Mobile it is a big lie. While still a great an excellent framework they are using this saying as a marketing trick. They have indeed cloned (redone them) a lot of jQuery features but this is only a partial job, and veteran jQuery developers are going to find them self in a problem. They will not be able to make fully the most of their previous knowledge thus spending more time trying to find how to do something that was supposed to work than working on an app.

On the other hand Sencha Touch doesn't suffer from this problem because it has a different, almost alien syntax. Like with jqMoby you will need a lot of time to get into its syntax. But have no fear, the result will be satisfactory in the end.

One other thing, unlike jQuery Mobile and Phonegap, AppFramework and Sencha Touch has their native app packaging system. In my humble opinion, this system is better than Phonegap because they are made to work with their js frameworks. Only thing Phonegap have over them is a HUGE plugin development community.

Links

jQuery vs Zepto vs jQMobi - which one is the fastest?

In this case jQuery is like jQuery Mobile because test here relays on an underlying framework functionality which jQM takes from jQ.

Good ranting on jQuery Mobile vs. Sencha Touch

Title says it all.

AppFramework forum

Only good jqMoby support site

Sencha Touch forum

Only good Sencha Touch support site

Conclusion

AppFramework is probably the best choice for you. It has a similar design as jQuery Mobile so the syntax is not going to be a problem.

like image 146
Gajotres Avatar answered Sep 23 '22 15:09

Gajotres