Rails 3 / PhoneGap:将Rails应用程序转换为Phonegap iOS应用程序? [英] Rails 3 / PhoneGap: Converting a Rails app into an Phonegap iOS app?

查看:156
本文介绍了Rails 3 / PhoneGap:将Rails应用程序转换为Phonegap iOS应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个建立在Rails之上的网站。在本质上,我想为应用商店发布一个轻量级版本,我认为Phonegap是一个很好的解决方案,无论是写一个完整的iOS应用程序。



是最容易的方法来得到这样的东西吗?我是PhoneGap的新人,如果一个经验开发者可以阐明如何做的一些光。



我的rails 3应用程序使用devise进行验证,载波用于文件处理,亚马逊S3用于存储,以及Heroku主办。有人可以给我一些基本的洞察,如何所有这些组件包装和ablwe使用PhoneGap?

解决方案

新的Phonegap,但我正在探索相同的想法,而不是你,我发现这个有用的截屏:PhoneGap + Rails 3 API
http://vimeo.com/18763953



这个想法是,您制作了一个HTML5客户端应用程序,该应用程序调用Rails API





希望它有帮助!


I have a site built on top of Rails. In essence, I want to release a lightweight version of it for the appstore, and I think Phonegap is a good solution w/o writing a full iOS application.

What would be the easiest way to get something like this out of the door? I'm new to PhoneGap and would love if an experience dev could shed some light on how with is done. I feel it would also be a valuable resource for many other Rails devs.

My rails 3 app uses devise for authenication, carrierwave for file processing, amazon S3 for storage, and Heroku for hosting. Can someone give me some basic insight into how all these components are wrapped up and ablwe to be used with PhoneGap?

解决方案

I'm new to Phonegap too, but I'm exploring the same idea than you and I've found this useful screencast: "PhoneGap + Rails 3 API" http://vimeo.com/18763953

The idea is that you make an HTML5 client side app that makes calls to a Rails API on the server side.

Here is the code of the screencast demo:

Hope it helps!

这篇关于Rails 3 / PhoneGap:将Rails应用程序转换为Phonegap iOS应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆