Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7401199
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T04:24:13+00:00 2026-05-29T04:24:13+00:00

I am having a browser-oriented web app build on Rails (3.1). I want to

  • 0

I am having a browser-oriented web app build on Rails (3.1). I want to make some features of the web app available on mobile devices, too.

Besides…

1.) Building native apps for each vendor of devices and interacting with my rails web app using JSON/XML, …

I am thinking about reusing as much as business logic already implemented in my rails app by reusing controllers/models and add some new views targeted to mobile devices (in terms of screen size and the like…).

With this approach, I see two alternatives:

2.) Let the end user access the part of the rails app targeted to mobile devices in the mobile browser.

3.) Set up a native mobile app wrapper, e.g. using PhoneGap, and refer to the same part of the rails app used for 2.).

The advantage of 3.) is that I can reuse business logic of my rails web app and having a “phantom” native app for mobile devices at the same time. (I used the term “phantom” because besides the wrapper, it’s not really native, this approach actually just mimics a native app.)

Question 1: Are there any other alternatives besides 1.) to 3.) ?

Regarding 3.)

Question 2: Does Apple accept this kind of apps (which fetch large portions remotely) to be uploaded to the app store?

-> I would be surprised if it is so, because it would allow one to change large parts of the app without the notice of Apple.

Question 3: From an architectural/technical point of view, is it recommended to remotely fetch prerenderd html/js to be executed in a “phantom” native mobile app build on top of e.g. PhoneGap?

-> Wouldn’t it be better to set up an independent client app within the native mobile app (maybe using backbone.js), keeping all html, css, js locally within the mobile app, and communicate with the backend using JSON/XML or whatever?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T04:24:14+00:00Added an answer on May 29, 2026 at 4:24 am

    I think this is a good question and I’ve recently come across similar difficulties. I’ve ended up using (Q3) vaadin with touchkit. Fine if you’re doing free but a bit expensive if you’re doing commercial (although then you can probably afford it). I realise this doesn’t relate to rails but still, I’m assuming the main point of the question was should I build native apps which use web services / middleware or go for pure web apps.

    RE (Q2), during my trawl of this current technology, I did read a few articles suggesting that apple are not allowing the web app style. As in, app which simply masks browser window loading remote web app. Essentially, I think where apple are concerned, you’d need to have the functionality tied down to what they agreed to. This doesn’t really affect web apps though as you can surely just access them directly from the browser.

    RE (Q1), the only alternatives I can see would be different middleware (e.g. MQ, SOAP etc).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm writing a web app, and I'm having a serious problem with too much
I'm having some issues understanding how to reference new browser windows after opening them.
I'm trying to do some browser automation, but I'm having some problems. Basically, what
I am having some Internet Explorer 7 (and 8 beta) browser-specific problems with a
I'm having trouble after ant compilation for specific browser.If i build for all browsers
Let's say I want my app to display a file browser. Are there any
Hi guys I am having some cross browser issues with my style sheets namely
What methods does jQuery mobile use to update the URL without having the browser
I'm having a Flex4/Actionscript application developed for access in a web browser. I need
I'm having a problem with cookies. If the browser has cookies disabled, the cookie

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.