Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I want to start a new project and im not sure, if im using the best setup/approach. The project is kind of a list directory without high computing power needed. I planned to build an website with Rails Api and AngularJs (+Bootstrap) for normal devices and mobile and use the same api for apps too. Therefore i planned to use the IonicFramework (+PhoneGap). Is this a common approach or are there any best practices i should consider? greez NoBody

share|improve this question
add comment

2 Answers

up vote 0 down vote accepted

This is the standard way to develop web/desktop apps and mobile apps. You are approaching this correctly. Use core AngularJS + Bootstrap for web/desktop app and Ionic Framework for mobile. Sharing the backend Rails API makes sense. Typically the Rails API would be designed with REST principles in mind which makes it easier to consume (probably using Restangular) via web/desktop app and mobile app. If you follow standard AngularJS conventions to create a separation of concerns (controllers, services, and views) then you will be able to share quite a bit of JavaScript code between the web/desktop app and mobile app and easily override functionality to customize for devices, if necessary.

share|improve this answer
add comment

I am currently on the same page. I am wondering if anyone has good references/tutorials for how to start and setup everything in a proper way.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.