iOS XCode 原生与 PhoneGap 的开发速度对比
我的目标是做一个像Badoo这样的应用程序:
http://itunes.apple.com/us/app/meet-new-people-chat-socialize/id351331194?mt=8
基本上它涉及与人聊天和 GPS 地理位置。
问题是 - 我有两个选择:
A. 在 iOS 的原生 XCode 中开发
或者
B. 在 HTML5 + PhoneGap 中开发
, 一个可行的产品出来了吗?
性能、速度和 UI 对此都很重要,所以显然原生是理想的...但是 PhoneGap 能节省多少时间来完成它呢?
非常感谢!
I'm aiming to do an app like Badoo:
http://itunes.apple.com/us/app/meet-new-people-chat-socialize/id351331194?mt=8
Basically it involves chatting with people and GPS geo-location.
Question is - I have two options:
A. Have this developed in native XCode for iOS
OR
B. Have this developed in HTML5 + PhoneGap
Assuming either route is with an experienced developer, how much time does B save over route A in terms of getting a viable product out?
Performance, speed, and UI are all important for this, so obviously native is ideal... but how much time would PhoneGap save in getting it out?
Thanks so much!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
在 PhoneGap 中开发此功能,因为您可以针对多个平台。而且phonegap还支持地理位置功能。所以这是与phonegap的双赢。
如果您打算针对一个平台,请执行 Xcode 路线。如果您打算同时针对 android 和 ios,那么请使用 Phonegap。
Have this developed in PhoneGap, as you can target multiple platforms. And also phonegap also supports geo location functionality. so its a win win with phonegap.
if you are going to target ONE platform, do the Xcode route. if you are going to target android and ios together, then please Phonegap.
即使您要部署到多个平台,我也是本机开发的粉丝。
然而,主要的一点是,如果您具备 html/css/javascript 技能并且可能想要支持多个平台,那么请务必选择 PhoneGap。
如果你有 iOS 开发技能,那么就转向原生,并重新考虑如果你想稍后支持其他平台该怎么做。
IMO,一旦您用一种语言开发了应用程序,那么在 Android、PhoneGap 或其他语言中开发另一个版本所需的工作量就会大大减少。如果您很了解目标平台,那么它就是按数字绘制的。
I'm a fan of native development even if you are deploying to multiple platforms.
However, the main point is if you have skills in html/css/javascript and potentially want to support multiple platforms then by all means go with PhoneGap.
If you have skills in iOS development then go native and reconsider what to do if you want to support other platforms later.
IMO, once you've developed an application in one language, then the amount of effort required to do another version in Android, PhoneGap, or whatever is greatly reduced. If you know the target platform well it is painting by numbers.
如果您正在为 iPhone/iPad(仅 IOS)进行构建,那么 xcode 将是您最好的朋友,在这种情况下,在 xcode 中开发会快得多,因为像这样的文档和网站(stack over flow)有很多代码片段周围,它会让你的生活更轻松。更不用说故事板在制作用户界面方面也非常出色。如果您采用 xcode 路线,它仍然会花费与 PhoneGap 大致相同的时间。
然而,如果你想为 iPhone 和 Android 制作相同的应用程序,那么 PhoneGap 将为你节省 50% 的项目时间,而这仅适用于当你谈论 Android 和 iPhone 的同一个应用程序时。
出于好奇,你的技能在哪里位于? ios 还是 html/css?
If you are building for iPhone/iPad (JUST IOS), then xcode will be your best friend and it will be much faster to develop in xcode in that case, as documentation and sites like this one (stack over flow) have many code snippets around and it will make your life easier. And not to mention that storyboards are also excellent in making your User interface. If you take the xcode route, it will still take you roughly the same amount of time as phonegap.
HOWEVER, if you want to make the SAME app for iphone and android, then phonegap will save you 50% project time, and this only applies when you are talking about one app for both android and iphone
Just out of curiosity, where do your skills lie in? ios or html/css?