* Sinatra is simply a Ruby Gem that is build specifically for easy web development. Its syntax is generally build around blocks like one below. get '/' do @value = 'abc' erb :layout end -sinatra route derived its name from HTTP method like GET, POST, or PUT. - here, '/' means a route for the web application like www.yourapp.com/ , it just specify the last character '/' for brevity. - any instance variable like @value will be accessible inside the templating language , in this case, erb file. - The last line 'erb :layout' will ask Sinatra to execute the template :layout * There are two important variable in Sinatra, namely params and session - session is instructing Sinatra to build a cookie that holds important information/build states that will last between multiple HTTP request, since HTTP is a stateless communication (ie. it forgets after each HTTP request). - You can push any information any information into session bec...