Working with Content & Configuration

Sinatra 1.4.6
  • 15 Videos | 1h 15m 39s
  • Earns a Badge
Likes 2 Likes 2
Sinatra is a web application framework written in Ruby. Learn how to work with attachments, content streaming, and various aspects of application configuration to support sessions, cookies, caching, and error handling.

WHAT YOU WILL LEARN

  • configure Sinatra to send attachments to a client
    configure content streaming including finite streaming in a Sinatra application
    configure finite streaming in a Sinatra application
    Use the not_found and error blocks to handle errors in Sinatra
    describe application/class scope, request/instance scope, delegation scope, and associated bindings in Sinatra applications
    use the configure block to apply configuration in Sinatra
    use set: or enable:key or the settings object to apply settings at class or top level in Sinatra
    use the headers method in Sinatra to set HTTP headers in response objects to provide information to servers and clients
  • access information via the request object in Sinatra
    set cache headers, cache control, and content expiration in Sinatra with the headers, cache_control, and expires helpers
    define and generate ETags (entity tags) including weak ETags
    enable and destroy sessions using the configure block and session.clear in Sinatra
    set cookies in Sinatra
    manage Sinatra dependencies with Bundler
    develop and configure a basic application in Sinatra

IN THIS COURSE

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion of this course, which can be shared on any social network or business platform

Digital badges are yours to keep, forever.

YOU MIGHT ALSO LIKE