John Bachir
John Bachir

Reputation: 22721

Which ruby frameworks are appropriate for internal services?

I'm making a web service that will only be used internally by other parts of my system. It will never have html rendering, and it will never be a publicly available API.

The two main candidates are sinatra and grape. Are there any others I should consider?

Upvotes: 1

Views: 178

Answers (2)

Frank
Frank

Reputation: 3143

I have used both Grape and Sinatra for these types of services and both are fine. I prefer Grape because:

  • Automatic serialization is convenient (JSON by default)
  • For RESTful services, 'resource' allows you to logically group resources

If you have an existing Rails application you can mount Sinatra/Grape/WhateverRackBasedMiddleware you decide to use for your service.

Upvotes: 0

cvshepherd
cvshepherd

Reputation: 3997

Theese could also be good candidates:

http://reneerb.com/

http://cramp.in/

Upvotes: 1

Related Questions