Creating a Native iOS App for an Existing Rails App - mobile

Okay, so I'm running a Rails 3.1 app hosted on engine yard. I'd like to create a native iOS app which will run off the same database as the web app.
However, where the web app supports full CRUD, I only want to be able to do two things with the app:
Fetch data from the database [eg: MP3 Names]
Play the MP3s within the app.
Any suggestions of frameworks from anyone? :) It'd be much appreciated.

If you intend on building out the app more, I'd take a look at RestKit. It has some great stuff included to help cache data on the iphone and synch between iOS and the Rails app.
If you aren't planning on things getting more complicated than what you have described above, you may be better off using something a little more lightweight check out RestClient or LRResty

Related

Best mobile development language for OMR?

I want to make app like zipgrade for my school project. This app works with server but i want to make it works locally. I found some apps about OMR written by python. I found a framework kivy for making android app but this framework has bad frontend contents. I want to make it with good frontend. Which language is best for making app like i said? My first priority for this project, it needs to work locally. Thanks for advices.

What languages should I be good at to make an electron app?

I dived into this new subject Electron few months back. I'm a PHP developer, but after going through many articles on web I'm learning nodejs, express through online resources.
Could anyone here suggest me, what exactly I need to focus on. I'm really interested in making a Electron app with routing, CRUD, sessions etc.
Please suggest, your help will save me a lot of time
Electron itself uses HTML, CSS, and JavaScript for the interface, with Node.JS for powering the background app stuff like opening windows, and keeping the app alive. For online interactivity, it can use any proper web server you want, be it PHP powered, an NGINX static site, or Express as you mentioned, or even use none at all - being a purely offline app.

Migrate React web app to Electron

We are considering development of a web app using ReactJS (probably, we will use npm's create-react-app feature). Also, we are thinking if it will be possible in future to easily transform the web app to a desktop application using Electron. Since we have no experience with both technologies, we like to ask about this combination, whether it is a good option, and if it is possible to turn a React web app into a desktop Electron-powered app.
I was googling any working tutorial how to build an app using both technologies but no one worked for me.
So, to sum up, is it good choice to start developing a web app with React when we would like to have the opportunity to transform it into a desktop application built with Electron? If not, are there any better technologies?
You should look into how exactly your solutions are built, instead of focusing on the technology itself. If your team builds your backend with this in mind, you can create APIs that your clients(React Web App, Electron Desktop App) can connect to.
To answer the question: No, it is not a good choice to begin development of your web app project without considering future implications of your design. Focus your time on how your backend talks to your front end.
Moreover, ReactJS is only a front end library, you can use it with Electron, Check out some GitHub Hug Repos like: Re-Electron , React-Electron-Starter, Electron-React

Can i create an app with react similar to angular 2?

I've been thinking of creating an hybrid app. I worked with ionic before, but i don't have any clue about react.
What i exactly needed is 'code once run anywhere' approach. The angular 2 is doing great in that i can write code for web app, android , apple devices and even windows.
I want to know whether i can do this in React. Can I create an app with react which runs on both web and mobile app as platform independent.
Thanks in advance!
Angular 2 and React are great frameworks/library(for react) which can run almost anywhere. In fact lets first determine what we mean with anywhere.
Angular 2 can server that app on web and if you are using a responsive format can serve mobile devices as well really fast. On devices you can serve it with ionic but the catch here is that this will be served with webviews which is actually a small placement inside the app to show html content. This rendering is rubbish if you want to serve native experience to the user. If not, then great ! Also you can have windows phones as well.
React on the other hand is easy to go in to code fast. I recommend using redux (which might take a while to get used to). Also with responsive design can serve many web devices really fast. Now on the smartphones the experience is native. Yes exactly native ! So if you plan the application correctly and split the logic right you can serve from the same app both application web + mobile. For windows phones now there is a limitation.
For desktops you can use electron as well and have it all!
I guess for me you must consider what your target is (time, devices, experience) and then decide.
Have fun!

What is Ratchet for

I ran into http://maker.github.com/ratchet
As I see this is for prototyping and not actual production frontend for mobile.
Sorry for the stupid question, but is ratchet for a production website or just for pretending to have a mobile app?
Why would it be only for prototyping? There are lots of scenarios where you would want a web app that mimicks a native one in production, without ever planning to build a native version.
For starters, production time is much lower when you can use html/javascript instead of Objective C, you can develop on any platform, skip the hassle of App Store approval and most functionality for non-timecritical apps is available as a web app. If you decide on going "real app" later you can wrap your web app in Phonegap and release it through the app store.

Resources