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

  • Home
  • SEARCH
  • 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 6006541
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T01:33:14+00:00 2026-05-23T01:33:14+00:00

I’m still implementing basic functionality in my app so I’m asking this now in

  • 0

I’m still implementing basic functionality in my app so I’m asking this now in case I need to re-think my design. My user interface in a “real browser” is a bunch of links which load data through AJAX. It also supports “normal non-AJAX” interaction. My controllers look somewhat like this:

if request.xhr?
  render article
else
  redirect_to article

This works very well so far and I have no problems. The problem is how I should add support for mobile apps. In the example above render article renders the file show.js.erb which looks like this:

$content.content("<%= escape_javascript(render "feeds/show") %>");

Obviously this won’t do in a mobile application where I won’t be working with a browser. I am thinkg of using phonegap to develop my app. I should note that I have zero experience with it.

So what I’m looking for is advice as how I should prepare support for a mobile application, any help is gladly appreciated. How should I be doing communication and are there anything special I should consider from hereon when I continue developing the backend?

  • 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-23T01:33:15+00:00Added an answer on May 23, 2026 at 1:33 am

    There is an article about this. It’s been written a few years back and uses IUI and Rails 2. The conventions in this article still prove quite valid in later versions of Rails.

    However, the concepts of what is needed to get you started is explained therein. It speaks of using an app called iPhoney, which helps in the debugging stages.

    Second, the article explains how one would be able to configure Rails iPhone mime type and how to detect iPhone user agents, among other setups as well.

    If you haven’t already. I would suggest looking at jQuery Mobile. Which may suit your requirements as well.

    A more up-to-date article can be found here.

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

Sidebar

Related Questions

I'm using v2.0 of ClassTextile.php, with the following call: $testimonial_text = $textile->TextileRestricted($_POST['testimonial']); ... and

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.