appcelerator vs Phonegap vs 原生 XCode 上市速度

发布于 2025-01-07 15:44:14 字数 252 浏览 5 评论 0原文

Titanium 声称它执行相同应用程序的速度比原生 XCode 平均快 70%。

其他人在开发速度差异方面的经验是什么(本机 XCode 和 PhoneGap 或钛)?

假设像 Kik Messenger 或 Badoo 这样的应用程序......

通常,假设图形和后端都已就位,优秀的 XCode 开发人员可以在 4-5 周内完成。

经验丰富的 Titanium (HTML5) 人员需要怎样做才能实现这一目标? (大致)

Titanium claims it can do the same app on average 70% faster than native XCode.

What's been everyone else's experience in terms of difference in speed of development (between native XCode and PhoneGap or titanium) ?

Let's say an app like Kik Messenger or Badoo ....

Typically, a good XCode developer can do it in 4-5 weeks, assuming graphics and backend are in place.

What would it take for an experienced Titanium (HTML5) person to achieve this? (roughly)

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

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

发布评论

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

评论(5

傾旎 2025-01-14 15:44:14

上市时间取决于规范、流程和人员的质量,而不仅仅是底层技术或框架。

使用 Appcelerator Titanium 编写真实的应用程序并不那么容易,而且运行时性能比本机代码慢,因为它使用 javascript 引擎作为桥梁。尤其是大的TableView,速度就慢很多,而且感觉也不一样。但一旦清除了内存泄漏,这种感觉仍然比 HTML5 好得多。

如果您计划在其他设备上分发您的应用程序或者您确实不喜欢 Objective C,您应该对 Titanium 或 PhoneGap(现在称为 Cordova)感兴趣。

如果不喜欢,请将其与 Native Xcode 一起保留。

我想补充一点,Cordova 不会制作任何 UI,但可以让您使用 HTML5 代码中的 javascript 访问相机、加速计或 GPS。您可能会使用 Sencha Touch 或 jqueryMobile 与 Cordova。

Time to market depends on quality of specifications, process and people, much more than the underlying technology or framework.

Coding a real application with Appcelerator Titanium is not that easy, and runtime performances are SLOWER than native code because it's using a javascript engine as a bridge. Especially with a big TableView, it's much more slower, and the feeling is just not the same. But once you have purged the memory leaks, the feeling is nevertheless incredibly better than with HTML5.

You should be interested in Titanium or PhoneGap(now known as Cordova) if you plan to distribute your application on other devices or if you really don't like Objective C.

If not, keep it with the Native Xcode.

I would add that Cordova will not make any UI, but let you access camera, accelerometer or GPS with javascript inside HTML5 code. You would probably use Sencha Touch or jqueryMobile with Cordova.

欲拥i 2025-01-14 15:44:14

根据我的经验,如果应用程序不是简单的模板应用程序,那么最好建议您为每个平台创建一个本机应用程序。

正如 Rob 所说,试图克服最小公分母情况并克服跨平台“解决方案”的限制通常意味着编码比一开始就需要更长的时间。

您甚至可能会遇到导致您放弃并从头开始作为本机应用程序的问题。因此,如果您决定采用 PhoneGap 或 Titanium 路线,请确保在开始之前进行充分的研究,并且您不会遇到它们未涵盖的未来需求。

In my experience, if the app is not a simple template app then you would be better advised to create a native app for each platform.

As Rob says, trying to overcome the lowest-common denominator situation and overcoming limitations in cross-platform "solutions" usually means it takes longer to code than doing it natively in the first place.

You might even hit a problem which causes you to abandon ship and start from scratch as native apps. So if you decide to go a PhoneGap or Titanium route then make sure you research fully before starting and that you won't have future requirements not covered by them.

如痴如狂 2025-01-14 15:44:14

如果您是一名 iOS 开发人员并且仅针对 iOS 设备进行开发,那么最好使用 XCode 进行编码。如果您更喜欢 Javascript 并为 Android 和 iOS 进行开发,那么您应该使用 Titanium 或 Phonegap。在 Titanium 和 Phonegap 之间,我发现使用 Titanium 编码更容易(而且速度也更快)。但我不确定使用钛有多少价值。 http://usingimho. wordpress.com/2011/06/14/why-you-should-stay-away-from-appcelerators-titanium/

If you are an iOS developer and you are developing it only for iOS device, then it is better to code using XCode. If you are more into Javascript and developing for both android and iOS then you should use Titanium or Phonegap. Between Titanium and Phonegap, I found it easier to code using Titanium(and yes fast as well). But I am not sure how much worth is using Titanium. http://usingimho.wordpress.com/2011/06/14/why-you-should-stay-away-from-appcelerators-titanium/

我ぃ本無心為│何有愛 2025-01-14 15:44:14

实际上,我现在正在对所有主要的跨平台移动开发套件进行相当深入的调查。我首先在 IOS 中从头开始制作一个示例应用程序,该应用程序使用一些简单的设备功能,然后将其重新实现为 Adroid 应用程序。这两件事大约需要一天的时间才能完成(机器人可能需要多花半天的时间)。由于我以前从未编写过 Android 应用程序,因此我认为在比较我正在测试的各种其他框架之间的开发时间方面,这是一个很好的基准。

当我完成后,我将在几周内通过博客文章更新此评论,但目前我发现这些跨平台工具包大大更难使用和获取即使对于最简单的应用程序,也需要更多的时间。尽管如此,仍然需要为 UI 编写相当多的自定义每个设备代码,并且设备服务功能之间存在基本的特殊差异,因此您并没有真正获得真正的“单一代码库”的价值你可能一直在期待。

我认为这些的主要价值可能与开发时间或代码重用无关,而只是作为非应用程序开发人员创建简单原型的一种方式,这些原型稍后可以移交给“真正的”移动设备之后,开发人员将其构建为真正的本机应用程序......在我看来,并不是那么有用,但随着我进一步深入研究,我的想法可能会改变。

I'm actually performing a fairly intensive survey of all the major cross-platform mobile development kits right now. I started by making a sample application from scratch in IOS that uses a few simple device features, and then reimplemented that as an Adroid app. Both of those took about a day to complete (the android took maybe half a day longer). Since I've never written an android app before, I think that's a good baseline in terms of comparing development time between the various other frameworks I'm testing out.

I'll update this comment in a few weeks with a blog post when I'm done, but for the moment I've been finding that these cross-platform kits are vastly more difficult to use and take a lot more time, even for the simplest applications. and despite this, there's still quite a bit of custom per-device code that has to be written for UI and fundamental idiosyncratic differences between how device services function, so you don't really get the value of a true "single code base" that you may have been expecting.

I think the main value in these may turn out not to be anything related to development time or code reuse, but instead only as a way for non-app-developers to create simple prototypes that can later be handed over to the "real" mobile developers to be built out into true native apps afterwards... Not really all that useful in my opinion, but maybe my thoughts will change as I delve into this further.

七七 2025-01-14 15:44:14

Appcelerator 不是 HTML5,它是用 JavaScript 的高级语言构建的本机应用程序。它抽象了常见元素的复杂性并提供了巨大的价值,让我离线了解更多信息。我经营我们的加州业务。

Appcelerator is not HTML5, it is a native app built in a higher level language of JavaScript. It abstracts the complexity of common elements away and provides huge value, ping me offline to know more. I run our California business.

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