Working with Modular Applications & Rack
Sinatra 1.4.6
| Beginner
- 15 videos | 1h 15m 54s
- Includes Assessment
- Earns a Badge
In common with Ruby frameworks, Sinatra uses the Rack interface. Learn how to use the Rack middleware with Sinatra, as well as how to generate subclasses to create and work with modular Sinatra applications.
WHAT YOU WILL LEARN
-
Describe rack and port an application defined using sinatra to rackUse rack middleware with sinatraDemonstrate the dispatch action that sinatra uses when running as middlewareImplement rack authentication in a sinatra applicationUsing rack::test to test a sinatra applicationDefine sinatra::base and use it to create a subclass and run the application in sinatra using run!Describe how sinatra can subclass subclasses and describe how all elements, routes, settings, and methods are inherited by all subclassesUse inheritance in sinatra to build a controller architecture
-
Run a sinatra-based modular application checking that the file containing the modular code has been executed and using config.ruUse sinatra.new() to generate an anonymous modular application and show to inherit from a different superclassUse helpers and extensions in modular sinatra applicationsUse a sinatra application as middleware in front of another applicationUse rack::cascade to cascade applications as an alternative to a middleware chainUse a rack router to combine apps as an alternative to chaining or cascadingDescribe how to work with return values in modular applications including sinatra applications used as rack middleware
IN THIS COURSE
-
4m 46sUpon completion of this video, you will be able to describe Rack and port an application defined using Sinatra to Rack. FREE ACCESS
-
5m 33sDuring this video, you will learn how to use Rack middleware with Sinatra. FREE ACCESS
-
4m 2sIn this video, you will learn about the dispatch action that Sinatra uses when it is running as middleware. FREE ACCESS
-
5m 43sIn this video, you will learn how to implement authentication in a Sinatra application using Rack. FREE ACCESS
-
9m 22sIn this video, you will use Rack::Test to test a Sinatra application. FREE ACCESS
-
4m 13sIn this video, find out how to define Sinatra::Base and use it to create a subclass and run the application in Sinatra using run!. FREE ACCESS
-
7m 10sUpon completion of this video, you will be able to describe how Sinatra can subclass subclasses and how all elements, routes, settings, and methods are inherited by all subclasses. FREE ACCESS
-
4m 44sIn this video, you will learn how to use inheritance in Sinatra to build a controller architecture. FREE ACCESS
-
3m 53sIn this video, find out how to run a Sinatra-based modular application by checking that the file containing the modular code has been executed and using config.ru. FREE ACCESS
-
2m 35sIn this video, you will use Sinatra.new() to generate an anonymous modular application and show how to inherit from a different superclass. FREE ACCESS
-
5m 32sDuring this video, you will learn how to use helpers and extensions in modular Sinatra applications. FREE ACCESS
-
3m 38sLearn how to use a Sinatra application as middleware in front of another application. FREE ACCESS
-
3m 33sIn this video, you will learn how to use Rack::Cascade to cascade applications as an alternative to using a middleware chain. FREE ACCESS
-
4m 52sDuring this video, you will learn how to use a Rack router to combine apps as an alternative to chaining or cascading apps. FREE ACCESS
-
6m 19sUpon completion of this video, you will be able to describe how to work with return values in modular applications, including Sinatra applications used as Rack middleware. 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.