Working with Content & Configuration

Sinatra 1.4.6    |    Beginner
  • 15 videos | 1h 11m 9s
  • Earns a Badge
Rating 5.0 of 2 users Rating 5.0 of 2 users (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

  • 3m 1s
    In this video, you will learn how to configure Sinatra to send attachments to a client. FREE ACCESS
  • 4m 39s
    In this video, find out how to configure content streaming, including finite streaming, in a Sinatra application. FREE ACCESS
  • Locked
    3.  Using Finite Streaming
    2m 26s
    In this video, find out how to configure streaming with a finite duration in a Sinatra application. FREE ACCESS
  • Locked
    4.  Handling Errors
    5m 47s
    In this video, learn how to use the not_found and error blocks to handle errors in Sinatra. FREE ACCESS
  • Locked
    5.  Scopes and Bindings
    6m 13s
    Upon completion of this video, you will be able to describe application scope, class scope, request scope, instance scope, delegation scope, and associated bindings in Sinatra applications. FREE ACCESS
  • Locked
    6.  Configuration in Sinatra
    3m 7s
    In this video, find out how to use the configure block to apply configuration in Sinatra. FREE ACCESS
  • Locked
    7.  Working with Settings
    7m 2s
    In this video, you will learn how to use the set: or enable:key or the settings object to apply settings at class or top level in Sinatra. FREE ACCESS
  • Locked
    8.  HTTP Headers
    4m 28s
    During this video, you will learn how to use the headers method in Sinatra to set HTTP headers in response objects. This will provide information to servers and clients. FREE ACCESS
  • Locked
    9.  The request Object
    3m 9s
    During this video, you will learn how to access information from the request object in Sinatra. FREE ACCESS
  • Locked
    10.  Caching
    3m 42s
    In this video, you will set cache headers, cache control, and content expiration in Sinatra using the headers, cache_control, and expires helpers. FREE ACCESS
  • Locked
    11.  Etags
    5m 20s
    In this video, find out how to define and generate entity tags (ETags), including weak ETags. FREE ACCESS
  • Locked
    12.  Working with Sessions
    4m 46s
    In this video, find out how to enable and destroy sessions using the configure block and session.clear in Sinatra. FREE ACCESS
  • Locked
    13.  Working with Cookies
    4m 59s
    In this video, learn how to set cookies in Sinatra. FREE ACCESS
  • Locked
    14.  Using Bundler
    5m 47s
    Learn how to manage Sinatra dependencies using Bundler. FREE ACCESS
  • Locked
    15.  Exercise: Configuring a Basic Sinatra Application
    6m 44s
    During this video, you will learn how to develop and configure a basic application using Sinatra. FREE ACCESS

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

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

Digital badges are yours to keep, forever.

YOU MIGHT ALSO LIKE