ruby on rails - Benefits of Sinatra for a web service like controller -
I am writing a simple Ruby Controller which just needs to answer as a webservice in a group of mobile clients.
Someone told me that I should see Sinatra, what is the point of using Sinatra? He mentioned that it would be "fast", but how can a cover on top of something fast?
I do not want to do anything more; It is so easy to write a simple controller and have fewer gems to maintain. Do I remember Sinatra's offer which is worth the extra trouble?
Thanks
Simple, useful Ruby Web application that you can create will be an application There is a lightweight DSL that sits on the top of the rack to see the controller more coded and more convenient, with more add-ons like ActiveRecord
or rack :: oh
, etc. Create more sophisticated applications
Rail 2 is a more feature rich framework in which the framework is already available in the framework. Vacancy facilities do not need to include some applications, some developers prefer things like Sinatra lower.
Although the distinction between Rail and Sinatra has become slightly blurred after the Reals 3. The new version only gives everything from the rack to the full rail in the stack, you can tailor it according to your needs.
Then take a look at Rail 3, start at least and get it to your needs.
Thus, Rajan De Ether is weak for some intermediate structures such as SinaRatra.
Comments
Post a Comment