middleware recommendations for API apps

45 views
Skip to first unread message

ericgj

unread,
May 2, 2012, 2:59:11 PM5/2/12
to sinatrarb
I don't have a particular project motivating this question at the
moment, but I wondered if anyone has compiled a list of useful
middleware for "API-only" apps similar to the list that Yehuda Katz
put together in his argument for using Rails for such apps:

https://github.com/rails/rails/blob/efd557a60cd976ac17be9e238111a551599caeb5/railties/guides/source/api_app.textile

It would be helpful even to have a list, in one place, of which of
Yehuda's are covered by the basic Sinatra stack and where one can find
the rest.

I could start such a list if there isn't one already.

Eric

Ed Drain

unread,
May 2, 2012, 3:16:50 PM5/2/12
to sina...@googlegroups.com
Not sure of the app style you mean, but if you need to authenticate users on one or more services, OmniAuth is brilliant.



--
You received this message because you are subscribed to the Google Groups "sinatrarb" group.
To post to this group, send email to sina...@googlegroups.com.
To unsubscribe from this group, send email to sinatrarb+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/sinatrarb?hl=en.


Jason Rogers

unread,
May 3, 2012, 8:55:36 AM5/3/12
to sina...@googlegroups.com
I almost always include sinatra-respond_to.

--
Jason Rogers
Reply all
Reply to author
Forward
0 new messages