Working with Content & Configuration
Sinatra 1.4.6
| Beginner
- 15 Videos | 1h 11m 9s
- Earns a Badge
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 clientconfigure content streaming including finite streaming in a Sinatra applicationconfigure finite streaming in a Sinatra applicationUse the not_found and error blocks to handle errors in Sinatradescribe application/class scope, request/instance scope, delegation scope, and associated bindings in Sinatra applicationsuse the configure block to apply configuration in Sinatrause set: or enable:key or the settings object to apply settings at class or top level in Sinatrause 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 Sinatraset cache headers, cache control, and content expiration in Sinatra with the headers, cache_control, and expires helpersdefine and generate ETags (entity tags) including weak ETagsenable and destroy sessions using the configure block and session.clear in Sinatraset cookies in Sinatramanage Sinatra dependencies with Bundlerdevelop and configure a basic application in Sinatra
IN THIS COURSE
-
1.Sending Attachments3m 1sUP NEXT
-
2.Configuring Content Streaming4m 39s
-
3.Using Finite Streaming2m 26s
-
4.Handling Errors5m 47s
-
5.Scopes and Bindings6m 13s
-
6.Configuration in Sinatra3m 7s
-
7.Working with Settings7m 2s
-
8.HTTP Headers4m 28s
-
9.The request Object3m 9s
-
10.Caching3m 42s
-
11.Etags5m 20s
-
12.Working with Sessions4m 46s
-
13.Working with Cookies4m 59s
-
14.Using Bundler5m 47s
-
15.Exercise: Configuring a Basic Sinatra Application6m 44s
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.