What is Sinatra?

devquora
devquora

Posted On: Feb 22, 2018

 

    1 Answer Written

  •  devquora
    Answered by Prachi

    Sinatra is a web application library which is domain-specific written in Ruby, one of the most famous programming languages for a web application. It is a free and open-source library that acts as an alternative to other application frameworks which include Ruby on Rails, Merb, Nitro as well as Camping. It fully depends on the Rack webserver interface.

Related Questions

Please Login or Register to leave a response.

Related Questions

Sinatra Framework Interview Questions

How to use sessions in Sinatra?

By default, Sessions are disabled in Sinatra.You need to enable them and then use the session hash from routes and view..

Sinatra Framework Interview Questions

How do you flash a session message in Sinatra ?

Rack:: Flash is used to flash a message in Sinatra.Example Usage :require 'sinatra/base' require 'rack-flash'class My..

Sinatra Framework Interview Questions

How do I get the “route” for the current page?

The request object probably has what you’re looking for:get '/hello-world' do request.path_info # => '/hello-w..