views:

45

answers:

1

I need to write web-service that will get files over http and convert them. This service in future might be included in rails application. I wonder what I need to use for that? Mount as Rack-middleware? Sinatra app? Write Rails-engine? Simple ruby script with networking? Anything else? Thanks

A: 

If you may eventually incorporate it in a rails app, then I would use rails to get the service up and running. The framework provided by rails makes creating web services very easy (sometimes with as little as a line or two of code).

ennuikiller