Reputation: 1934
I want to build an app that use in the backend Ruby on Rails. However my problem comes in the lack of information i found on it. My goals is not just to create a website but an application that interacts with it, like my android facebook app when pressing menu I get button like logout and so on.
I am wondering if their exists tutorial on how to build an application but using rails or should i scrap my entire website and do it in php. I am looking for guide and tutorial. Thanks in advance
Upvotes: 0
Views: 1031
Reputation: 464
From what I understand of your problem, you want to use the robustness of Ruby
to develop a native app (not just another app that mirrors a website).
The best thing I know of for this is RubyMotion
. The bummer is the cost ($200
). But then you would get to accomplish your task.
Upvotes: 0
Reputation: 1808
A little unclear from your original question, but if you are looking to create a mobile app using Ruby (and a structure similar to Ruby on Rails) then you may be interested in Rhomobile. It is a cross-platform mobile application framework that uses Ruby for its backend code, and follows a structure similar to (older) Ruby on Rails versions.
Upvotes: 3
Reputation: 887365
You can build an app on any platform and make it interact with your Rails-based server using HTTP requests (like AJAX).
You can send information back and forth using JSON or XML; you would probably need to make a new set of actions for the app to use.
There is no reason to use PHP. ever.
Upvotes: 3