Re:Rails is not your application
by mnutt on Sunday October 23, 2011 @04:01AM
(#3145544)
I would only reach for service-oriented architecture after the application is very mature and it is apparent which parts will benefit by moving to their own services.
[ Parent
| on HN ]
I find rails in particular to be very easy to just "api all the things" right off the bat. Add in some nice authentication / authorization with something like devise and CanCan and you will be saved from the headache of bolting an api onto your app as an afterthought.
or the moment you have more than one application running. (which for many products is day #1)