Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is the jQuery mobile the best UI framework to integrate with PhoneGap? Or should I use Ionic? [closed]

I wanna to use PhoneGap to starting an enterprise application, but don't know which of all the mobile UI frameworks is the best to integrate with the project?

i'm new to PhoneGap.

like image 533
Rasool Ghafari Avatar asked Jul 27 '15 19:07

Rasool Ghafari


1 Answers

If you want to choose between jQuery Mobile and Ionic Framework I would advise you to pick Ionic. This will, of course, depend on your knowledge and preferences.

  1. First jQuery Mobile is not "a buggy mess", @EpicPandaForce don't know what his talking about. If you don't believe me take a look at my jQuery Mobile support score here at SO: https://stackoverflow.com/tags/jquery-mobile/topusers. If anyone knows how jQuery Mobile works it's me. This does not mean jQuery Mobile is better; it simply has its place in this world and mobile ecosystem

  2. jQuery Mobile was not updated in last two years, even then it wasn't the fastest solution for mobile development. Version 1.5 will come out soon, and it will bring jQuery UI integration. jQuery Mobile possibilities will skyrocket.

  3. Ionic is under constant development, and I would agree it's production ready at this point. Though even now it lacks 3rd party support jQuery Mobile has.

  4. The Ionic is faster than jQuery Mobile though still not fully native like. You should consider that jQuery Mobile was not created as a fully hybrid mobile framework. It is merely a mobile desktop framework, never optimized for a pure mobile run.

  5. Though Ionic has an AngularJS backend, it's not as tight as jQuery/jQuery Mobile.

  6. Currently, Ionic has a much better community. It is not as large as jQuery Mobile community, but people are much more active and prepared to help.

  7. Ionic developers actively communicate with the community (Ionic Forum, even here at SO). jQuery Mobile developers can be only found at an IRC channel, and you may count yourself lucky if they respond.

  8. jQuery Mobile is easier to develop with, and Ionic is still missing some features jQuery Mobile has. For example various page (view) transitions, and you can easily create your own. Still, unless you're careful, your jQuery Mobile application can become a slow mess of code.

  9. jQuery Mobile can be tough if you don't carefully read framework documentation. For example, you should never use document ready with jQuery Mobile. A lot of people don't understand or know this. Just like Ionic has View events jQuery Mobile has page events (to be used instead of document ready).

  10. jQuery Mobile has a MUCH better theme(s) selection

  11. jQuery Mobile almost killed PhoneGap all together. Currently, jQuery Mobile 1.4 is fast/usable enough.

  12. Everything said Ionic is still better and faster than jQuery Mobile.

  13. Ionic is currently best available hybrid mobile framework. If you don't like this statement then consider it mostly used framework.

Conclusion

  • If you have a previous jQuery knowledge and you don't have time to learn AngularJS stick with jQuery Mobile.

  • In any other case choose Ionic.

like image 165
Gajotres Avatar answered Oct 09 '22 07:10

Gajotres