2 ms·
Truly impressive. I'd also like to see the Rails team focus on Rails-as-API for those of us who have moved on from the asset pipeline (splitting the server side
by cpursley 12y ago
Truly impressive. I'd also like to see the Rails team focus on Rails-as-API for those of us who have moved on from the asset pipeline (splitting the server side from client side).
It would be nice to have a "API only" flag option when generating a new rails project. Something like: `rails new myapp -api`. This could keep Rails going for another 10 years.
I'm looking into using Napa, a Grape based API framework, for the purpose of Ruby server-side API apps: https://github.com/bellycard/napa https://github.com/bellycard/napa
(Napa is to Grape as Padrino is to Sinatra)
Related reading: http://www.divshot.com/blog/opinion/every-web-app-is-two-apps http://www.divshot.com/blog/opinion/every-web-app-is-two-app...
- steveklabnik 12y ago> It would be nice to have a "API only" flag option when generating a new rails project. This was rejected by core and turned into http://github.com/rails-api/ http://github.com/rails-api/ , which has had some maintenance issues, but is getting back on track. (see https://groups.google.com/d/msg/rails-api-core/8zu1xjIOTAM/1OXeQxq11ysJ https://groups.google.com/d/msg/rails-api-core/8zu1xjIOTAM/1... . This is about AMS, but that's only because updating rails-api itself should be easy, and I'm going to check it out as well)
- raitom 12y agoYou can check this : https://github.com/rails-api/rails-api https://github.com/rails-api/rails-api