在最新框架(Rhodes、PhoneGap、jQTouch)中开发跨平台移动应用程序
我们最近使用 Rhodes 框架开发了 iPhone、iPad、Android 应用程序,并且发现至少可以说这是很痛苦的。当我们接近完成阶段并在移动设备中测试该应用程序时,我们发现比 iPhone 模拟器中明显的错误更多,并且希望改变开发方向,因为似乎大多数甚至在 Rhodes 网站上展示的应用程序都存在超级错误,并且不像应有的那么顺利。
任何人都可以提供有关我们如何使用已开发的前端文件和准备好的 JSON 数据将其应用到另一个框架来生成应用程序的见解。我们已经了解了 jQTouch 框架的运行方式,并且可以轻松进行开发,但需要将其打包到应用程序中。
由于该项目的截止日期即将到来,快速开发是一个关键问题。请注意,我们的熟练程度是 Ruby、ROR3、JQuery、现代前端 (HTML5/CSS3)
We have recently developed an iPhone, iPad, Android application with the Rhodes framework and have found it to be painful to say the least. As we are approaching the finishing stages and now testing the app in mobile devices we find more bugs than were apparent in iPhone simulator and would like to change the development direction as it seems most of the Apps even showcased on the Rhodes site are super buggy and not as smooth as they should be.
Can anyone lend any insight on how we may take already developed front-end files with prepped JSON data to apply it to another framework to produce the application. We have learned how the jQTouch framework operates and feel comfortable developing but need to package this into an application.
Rapid development is a key concern as we are approaching a deadline on this project. Note our proficiencies are Ruby, ROR3, JQuery, Modern front-end (HTML5/CSS3)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我对 Rhodes 不熟悉,但看起来 Phonegap 可能是一个不错的解决方案。我不确定您的应用程序需要做什么,但您的技能(特别是 HTML/CSS 和 jQuery)会很好地转化。
Phonegap 允许您使用相同的代码创建适用于 iPhone/Android 的应用程序。设置文件时需要进行一些调整...但总体目的是您使用相同的代码(而不是必须创建两个单独的应用程序)。
对于使用 Phonegap 开发的 iPhone/Android 应用程序,您基本上是在处理文件夹内的文件(就像处理服务器上文件夹内的文件一样)。它是一组基本的文件类型 - 图像、javascript、css 等。您可以像构建浏览器一样进行构建。
jQTouch 在按钮、UI 和部分之间的动画/过渡方面提供了更多的外观和感觉。 Phonegap 或多或少地封装了所有代码,并允许您将其捆绑为 iPhone/Android 的应用程序。
此外,如果您需要访问特定于设备的功能,例如 GPS、相机等...Phonegap 有一个不错的库 您可以点击进入。再次强调 - iPhone/Android 的代码相同。
Jonathan Stark 的书可以快速参考评论(看看 Phonegap + jQTouch 是否适合您): 使用 HTML、CSS 和 JavaScript 构建 iPhone 应用程序。您可能还想参考他的章节中引用的示例文件,此处。
最后说明:jQtouch 适用于较小的手持设备。不确定它在 iPad 上的转换效果如何,仅供参考。我对 Sencha Touch 了解较少,但它是由同一个人制作的,可能是另一种方法更大的屏幕。
I'm not familiar with Rhodes, but it seems like Phonegap might be a good solution for you. I'm not sure what your app needs to do, but your skills (HTML/CSS and jQuery in particular) would translate well.
Phonegap lets you create an app for both iPhone/Android, while using the same code. There's some tweaking when setting up your files... but the overall intent is that you're working with the same code (as opposed to having to create two separate apps).
For both iPhone/Android apps developed with Phonegap, you're basically working with files within a folder (much like you would work with files inside a folder on a server). It's a basic group of file types - image, javascript, css, etc. You build like you would for a browser.
jQTouch provides more of a look and feel, in terms of the buttons, UI and animation/transition between sections. Phonegap more or less wraps up all the code, and lets you bundle it as an app for iPhone/Android.
Additionally, if you need to access device-specific functionality like GPS, camera, etc... Phonegap has a nice library you can tap into. Again - same code for both iPhone/Android.
A quick reference to review (to see if Phonegap + jQTouch is a good fit for you) is Jonathan Stark's book: Building iPhone Apps with HTML, CSS, and JavaScript. You may also want to refer to the example files referenced in his chapters, here.
Final note: jQtouch is meant for smaller handhelds. Not sure how well it translates over to iPad, but just an FYI. I know less about Sencha Touch, but it's made by the same folks and might be another approach for larger screens.