iPhone 中的 Rhodes 或 Titanium for Rails 应用程序?
你好,我想用 Ruby 开发一个 iphone 应用程序。 罗德或钛是最佳选择吗? 我需要集成 GPS 和谷歌地图
Hi i wanted to develop an iphone app with Ruby..
Is Rhodes or Titanium the best option?
i need to integrate GPS and google maps
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
Rhodes 是实际使用 Ruby 编写移动应用程序的唯一方法。使用 Titanium 或任何其他框架不可能做到这一点。 Rhodes(以及 PhoneGap)强调使用 HTML5 和样式库(如 jQuery Mobile 和 Sencha Touch)编写界面(但仍然构建本机应用程序而不是 Web 应用程序)。 Titanium 创建了自己的 UI 抽象,并且不允许使用此类样式库。我们相信使用 HTML5
Rhodes is the only way to actually write a mobile app in Ruby. It is not possible to do so with Titanium or any other framework. Rhodes (and PhoneGap for that matter) emphasize writing interfaces with HTML5 and styling libraries like jQuery Mobile and Sencha Touch (but still to build a native app NOT a web app). Titanium creates its own UI abstractions and does not allow use of such styling libraries. We believe that use of HTML5
如果您想用 Ruby 编写 iPhone 应用程序,据我所知,Rhodes 是您唯一的选择。我用 Titanium 制作了几个应用程序,您可以使用的唯一语言是 Javascript/Coffeescript(Coffeescript 编译为 JS)。正如有人已经指出的那样,Titanium 的 Ruby 支持仅适用于桌面。
至于 Rhodes 的功能,请查看 http://docs.rhomobile.com/rhodes/device-caps 。看起来他们支持地理位置和本地地图。
If you want to write the iPhone app in Ruby then Rhodes is as far as I know your only choice. I've made several apps with Titanium and the only language(s) you can use is Javascript/Coffeescript (Coffeescript compiles to JS). Titanium's Ruby support is only for desktop as someone has already pointed out.
As far as capabilities for Rhodes check out http://docs.rhomobile.com/rhodes/device-caps. Looks like they have support for Geolocation and Native maps.
Rhodes 似乎是仅 Ruby 的解决方案,而 Titanium 提供对 Ruby/Python/PHP 的支持。正因为如此,我才会选择罗德。除此之外,您应该可以访问所有框架的所有功能。
Rhodes seems to be a Ruby only solution, while Titanium offers support for Ruby/Python/PHP. Because of this, I would choose Rhodes. Other than that, you should have access to all of the features from all the frameworks.