Ruby on Rails
Wednesday, November 27, 2013
You probably already know about "ActiveModel::Serializer"s
These guys are with us since at least Rails 3, we have a local app that is just an API for a JS framework too, we use just normal controllers and serializers and we're pretty well served.
Give it a try =)
On Wed, Nov 27, 2013 at 12:37 PM, dj <djangst@gmail.com> wrote:
If I want to tailor Rails 4 for an API-only application, what should I do to maximize performance?--
This is to be fronted by a js framework, and left open for other API usage.
I'm aware of rails-api and other API gems, but in this case specifically need to stay on the main path with Rails 4.
I've spent a lot of time reading up on this, and haven't found much dealing with Rails 4 specifically (that doesn't recommend other gems, which aren't an option here). I remember reading about how to do this with Rails 2 or 3, but am wondering what the current recommendations are for version 4. This would include things like removing unnecessary dependencies.
Thanks!
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/3f3f67da-5094-4b5a-8951-fd660dac7d06%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Miguel Grazziotin
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAPQaG4AfdEWtcNJ8B9fZtZKVpPuKoJ_CkfgEyecU65Drx%3DofJw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment