← Back to Upcase

API centric app


(Charlieanna) #1

Hi All,
Right now the rails app we have build uses the conventional MVC of the rails structure and we use jquery here n there. We are just using browser for now but would like to build native apps for android, ios and also expose the APIs for other apps.

So what should we change now? Should we start using backbone/Angular for everything and ask the frontend framework to use the APIs exposed by the rails app? How tough is it do make the app only APIs centric and it this approach worth it if we want to build multiple clients later ( even native desktop clients).


(Arun Agrawal) #2

@charlieanna I would say start building API first and do not touch Rails views right now. Once you have API ready then you can decide if you want to switch to BackBone kind of app or not.

API is required when you want to do build other clients later. Changing Rails app views is totally up to requirement.