Ruby on Rails Monday, August 25, 2014




2014-08-24 18:32 GMT+02:00 Colin Law <clanlaw@gmail.com>:
On 24 August 2014 17:08,  <andreo@benjamin.dk> wrote:
> Hey guys,
>
> I am about to develop my first mobile app with the same function of a
> website I have developed in rails. So I have a few questions:
>
> 1. My plan is to create an API to the website and build the app using that
> API to my website. In your experience is that a good solution?

Yes, but you should not need a separate API, you can use the same
routes but with .json to return a json value for the app.

Yea thats true and makes totally sense. Thanks 

>
> 2. Whats the best option, use a cross-platform framework like
> http://rhomobile.com/ ? something like rubymotion for iOS and try to find
> another framework for android? or actually just do it on the given SDK?

Don't know about cross platform support, I have only done android, using the SDK

>
> 3. Should I not even worry about developing a website and go straight ahead
> with the app leaving the API idea behind?

I thought you said you already have developed the website so I don't
understand the question.

  Well It's more like a question for the future. If I need a app to start with, is it a good practice to still do the website and use the common API or to just develop the app?
 

>
> 4. Any other suggestions?


There is an alternative that may be a quick route to getting something
working, which is to embed the website in an app.  It will not give as
good a user experience as an fully fledged app of course.

Colin

--
You received this message because you are subscribed to a topic in the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/rubyonrails-talk/WWwp-zNstCQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLstkbUuKrz94oj%3Dz%2BbC33fvRBaEdMXj930YcYT2h0WWqw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAA6P50ZaUjbbc9WwEcJUL1BiSbS%3D_9DZ_5AuHrkZswGVV1yWdQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment