jQuery mobile 是与 PhoneGap 集成的最佳 UI 框架吗?或者我应该使用 Ionic 吗? [英] Is the jQuery mobile the best UI framework to integrate with PhoneGap? Or should I use Ionic?

查看:22
本文介绍了jQuery mobile 是与 PhoneGap 集成的最佳 UI 框架吗?或者我应该使用 Ionic 吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用 PhoneGap 来启动企业应用程序,但不知道在所有移动 UI 框架中哪个最适合与项目集成?

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?

我是 PhoneGap 的新手.

i'm new to PhoneGap.

推荐答案

如果您想在 jQuery Mobile 和 Ionic Framework 之间进行选择,我建议您选择 Ionic.当然,这取决于您的知识和偏好.

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. 第一个 jQuery Mobile 不是一团糟",@EpicPandaForce 不知道他在说什么.如果您不相信我,请在 SO 上查看我的 jQuery Mobile 支持分数:https://stackoverflow.com/标签/jquery-mobile/topusers.如果有人知道 jQuery Mobile 是如何工作的,那就是我.这并不意味着 jQuery Mobile 更好;它只是在这个世界和移动生态系统中占有一席之地

  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

jQuery Mobile 在过去两年没有更新,即使那时它也不是移动开发最快的解决方案.1.5 版本即将推出,它将带来 jQuery UI 集成.jQuery Mobile 的可能性将猛增.

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.

Ionic 正在不断开发中,我同意它此时已准备好投入生产.虽然现在它仍然缺乏 jQuery Mobile 的 3rd 方支持.

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.

Ionic 比 jQuery Mobile 快,但仍然不像完全原生的那样.您应该考虑到 jQuery Mobile 并不是作为一个完全混合的移动框架创建的.它只是一个移动桌面框架,从未针对纯移动运行进行优化.

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.

虽然 Ionic 有一个 AngularJS 后端,但它不像 jQuery/jQuery Mobile 那样紧凑.

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

目前,Ionic 拥有更好的社区.它不像 jQuery Mobile 社区那么大,但人们更加活跃并愿意提供帮助.

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.

Ionic 开发人员积极与社区沟通(Ionic 论坛,甚至在 SO).jQuery Mobile 开发人员只能在 IRC 频道中找到,如果他们做出回应,您可能会很幸运.

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.

jQuery Mobile 更易于开发,而且 Ionic 仍然缺少 jQuery Mobile 的一些功能.例如各种页面(视图)转换,您可以轻松创建自己的.尽管如此,除非您小心谨慎,否则您的 jQuery Mobile 应用程序可能会变成一堆缓慢的代码.

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.

如果您不仔细阅读框架文档,jQuery Mobile 可能会很困难.例如,您永远不应该在 jQuery Mobile 中使用 document ready.很多人不理解或不知道这一点.就像 Ionic 有查看事件,jQuery Mobile 有页面事件(用来代替文档就绪).

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).

jQuery Mobile 有更好的主题选择

jQuery Mobile has a MUCH better theme(s) selection

jQuery Mobile 差点把 PhoneGap 一起干掉.目前,jQuery Mobile 1.4 足够快/可用.

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

一切都表明 Ionic 仍然比 jQuery Mobile 更好更快.

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

Ionic 是目前最好的混合移动框架.如果你不喜欢这个说法,那么就考虑它最常用的框架.

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

结论

  • 如果您以前有过 jQuery 知识并且没有时间学习 AngularJS,请继续使用 jQuery Mobile.

    Conclusion

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

      在任何其他情况下,请选择 Ionic.

      In any other case choose Ionic.

      这篇关于jQuery mobile 是与 PhoneGap 集成的最佳 UI 框架吗?或者我应该使用 Ionic 吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆