How to use Phonegap with Ruby on rails 3 - ruby-on-rails

i am making a mobile web app with ruby on rails 3.
how can i use phonegap at its best ? Any suggestions? The web app will be appearing native to the client. App consist of google maps api v3. Its the same MVC except V->html/erb with google map.

There are some posts you can take a look at:
PhoneGap and rails 3: How to interact with a rails 3 app
Rails 3 / PhoneGap: Converting a Rails app into an Phonegap iOS app?
Using Phonegap as a native container for a Rails 3 App

Related

Can I build an electron app from rails app?

I am working on a Rails project and I am trying to figure out if I can use Electron to create a desktop app or if there is another way to turn a Rails app into a desktop app.

Convert Angular2 app to ios

I have an angular 2 web application which uses webpack.
how can I generate an iOS application from this app?
You can use Ionic for this. Ionic is a framework that let's you deploy Angular Apps for Android, iOS, etc. Take a look here.

Can I use Ionic Framework to create a mobile optimized website (not just a mobile app)?

I have been doing research to figure out the best way to create a mobile optimized website using Rails variants. I see that Framework 7 does this nicely, but I can't figure out if I can also do this with Ionic Framework? Can I use ionic components to create a mobile website that runs in a plain browser like Safari?
As Ionic works with AngularJS and according that the development process uses a simple http server on the folder /www, you can easily develop a mobile website with Ionic.
You will not have to use Cordova/Ionic plugins. But you'll can use HTML5 API to get geolocation or webcam access, etc.
But it is not because you can that you have to. Give it a try and tell us if you think it was a good idea.

Mobile app framework for mobile and AngularJS for desktop?

Background: I've recently learned Ruby on Rails and have just learned to use JavaScript as well as JQuery. I've created some web apps using both.
Goal: To create a small e-commerce-like site using Rails backend but optimize for mobile. There will be a shopping cart but no built-in payment system.
I've seen these mobile app frameworks like ionic for mobile but am aware that ionic doesn't play nice with internet explorer for the desktop folks.
My idea is to use a mobile app framework like ionic or such for mobile and using a web framework like AngularJS for the desktop users for the same site. Or use a mobile app framework for mobile and no web framework for desktop?
I'm currently not advanced enough in my development skills to create adapters to use ionic or other mobile app frameworks to work friendly with desktop browsers. I'm looking for the more developer convenient route with style and with less configuration.
Please advise your recommendations and if you think that this setup can be done with minimal configuration with Rails as the backend.
Hybrid solutions will always be less good than native, in terms of performance, size and stability.
But Hybrid solutions are improving with time and ionic is a great solution, it avoids you to develop specific app for each platform.
To develop your hybrid app i warmly recommand you to use AngularJS, to me jQuery is not made to develop big application.

Backend for iOS app with Google app engine

How To Create A Web Backend for Your iOS Apps with Google app engine ?
All the tutorials on the internet refer to android or web sites.
I'm looking for something like this Google app engine tutorial for mobile app but refers to iOS.
Thanks

Resources