你可以用原生 iPhone 开发做什么而不能使用phoneGap?

发布于 2024-12-09 12:46:53 字数 55 浏览 0 评论 0原文

我试图了解phonegap到底有多强大。我还可以使用phoneGap 创建iPad 应用程序吗?

I am trying to understand how powerful is really phonegap. Can I also create iPad apps using phoneGap?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

指尖上得阳光 2024-12-16 12:46:53

有很多事情可以通过本机开发完成,而通过 PhoneGap 无法完成。需要几卷才能进行全面比较。

也就是说,有些事情您可以使用 PhoneGap 完成,而使用 Native Development 则无法完成。其中最重要的是使用单一代码库支持多个平台。

本机开发和跨平台工具(PhoneGap、Adobe AIR、Titanium)都占有一席之地。有时您可能需要本机开发的功能和精度(密集图形等),有时您可能需要 PhoneGap 的功能和跨平台功能。

我之前曾说过,我是一名孤独的开发人员,需要为多个平台开发应用程序。我没有时间尝试维护适用于 iOS、Android 和 Blackberry 的应用程序。 PhoneGap 和其他选择非常适合我的情况。我不是在编写游戏或其他图形密集型游戏。我没有做任何处理器密集型的事情,也不需要通过套接字直接与硬件对话。我正在编写企业应用程序来支持各种平台上的最终用户,而 PhoneGap 和 Adob​​e AIR 正是我所需要的。

而且,当 PhoneGap 或 AIR 无法满足我开箱即用的需求时,在许多情况下,我可以用本机代码编写自定义插件或扩展来连接到我的应用程序。当然,我必须为每个平台单独编写插件/扩展,但这比为每个平台编写整个应用程序要容易得多。

最终,这取决于您需要做什么。如果您无法通过跨平台工具完成您需要完成的任务,那么就不要使用它。如果您只关心支持一种平台(并且确定您永远不需要支持其他平台),那么原生可能适合您(并不是说您不能使用 PhoneGap 只为一种平台进行开发)。如果您是精英迷,那么 Native 可能也适合您。也有可能你的时间多于理智。无论您的原因是什么,请使用满足您需求的产品。

对我来说,我无法想象我需要为我的工作编写的任何应用程序都需要我在不使用跨平台工具之一的情况下编写本机应用程序。所以对我来说,一直是 PhoneGap 和/或 Adob​​e AIR。

哦,是的,您可以使用 PhoneGap 编写 iPad 应用程序。

There are a lot of things that you can do with native development that you cannot do with PhoneGap. It would take a few volumes to do a full comparison.

That said, there are also things you can do with PhoneGap that you can't do with Native Development. The most important of which is supporting multiple platforms with a single code base.

Both native development and cross-platform tools (PhoneGap, Adobe AIR, Titanium) have their place. There may be times that you need the power and precision of native development (intense graphics, etc), and there may be times when you need the power and cross-platform features of PhoneGap.

I've said on here before, I am a lone developer with a need to develop applications for multiple platforms. I do not have the time to try to maintain an App for iOS, Android, and Blackberry. PhoneGap and the other choices are ideal for my situation. I am not writing games or other graphically intense games. I am not doing anything processor intensive nor do I need to talk directly to hardware through sockets. I am writing enterprise applications to support my end users on a wide variety of platforms and PhoneGap and Adobe AIR are exactly what I need.

And, on the occasion that either PhoneGap or AIR cannot do what I need out-of-the-box, in many cases I could write a custom plugin or extension in native code to hook into my app. Of course, I would have to write the plugin/extension separately for each platform, but that is leaps-and-bounds easier than having to write the whole application for each platform.

Ultimately, it depends on what you need to do. If you cannot accomplish what you need to accomplish with a cross-platform tool, then don't use it. If you only care about supporting one platform (and are sure you will never need to support others), then maybe native is for you (not that you can't use PhoneGap to develop for just one platform). If you are an elitist fanboy then native might also be for you. It's also possible you have more time than sense. Whatever your reason, use what meets your needs.

For me, I cannot imagine any application I would need to write for my work that would require me to write a native application without using one of the cross-platform tools. So for me it is PhoneGap and/or Adobe AIR all the way.

Oh, and Yes, you can write iPad applications with PhoneGap.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文