Sinatra Fundamentals

Sinatra 1.4.6    |    Beginner
  • 14 videos | 1h 12m 57s
  • Earns a Badge
Rating 5.0 of 2 users Rating 5.0 of 2 users (2)
At the core of Sinatra is the ability to respond to routes. Learn how to install and use Sinatra with the Thin server, work with various aspects of route configuration, and look at the use of templates, views, and models.

WHAT YOU WILL LEARN

  • Define sinatra and describe its characteristics
    Describe how to install sinatra and the thin server on unix based platforms, and create and run a simple application
    Declare routes using various route verbs in sinatra
    Configure routes to share the same handler, use parameters, including query string parameters and wildcards
    Describe how the first match is used and how routes can be matched using regular expressions in sinatra
    Halt, pass, trigger, and redirect requests in sinatra
    Use filters to modify requests and responses in sinatra
  • Deliver static content from default public folder and other locations without using routing
    Define inline and external templates to work with views in sinatra
    Use instance variables to pass data to views, and use filters in sinatra
    Generate and use activerecord models in a sinatra application
    Generate and use datamapper models in a sinatra application
    Create extensions in sinatra
    Create and use helper methods in modules in sinatra

IN THIS COURSE

  • 4m 37s
    In this video, you will learn how to define Sinatra and describe its characteristics. FREE ACCESS
  • 5m 17s
    Upon completion of this video, you will be able to describe how to install Sinatra and the Thin server on UNIX-based platforms, and create and run a simple application. FREE ACCESS
  • Locked
    3.  Defining Routes
    2m 27s
    In this video, you will declare routes using various route verbs in Sinatra. FREE ACCESS
  • Locked
    4.  Configuring Routes
    6m 16s
    In this video, you will configure routes to share the same handler, use parameters, including query string parameters and wildcards. FREE ACCESS
  • Locked
    5.  Matching Routes
    3m 48s
    Upon completion of this video, you will be able to describe how the first match is used and how routes can be matched using regular expressions in Sinatra. FREE ACCESS
  • Locked
    6.  Managing Requests
    6m 44s
    In this video, you will learn how to stop, pass, trigger, and redirect requests in Sinatra. FREE ACCESS
  • Locked
    7.  Using Filters
    3m 17s
    Learn how to use filters to modify requests and responses in Sinatra. FREE ACCESS
  • Locked
    8.  Serving Static Content without Routes
    3m 26s
    Learn how to deliver static content from the default public folder and other locations without using routing. FREE ACCESS
  • Locked
    9.  Using Inline and External Templates
    7m 21s
    In this video, learn how to define inline and external templates to work with views in Sinatra. FREE ACCESS
  • Locked
    10.  Passing Data to Views
    3m 52s
    In this video, find out how to use instance variables to pass data to views, and how to use filters in Sinatra. FREE ACCESS
  • Locked
    11.  Using ActiveRecord
    6m 29s
    In this video, you will generate and use ActiveRecord models in a Sinatra application. FREE ACCESS
  • Locked
    12.  Using DataMapper
    8m 59s
    In this video, you will learn how to generate and use DataMapper models in a Sinatra application. FREE ACCESS
  • Locked
    13.  Creating Extensions
    6m 5s
    In this video, you will learn how to create extensions in Sinatra. FREE ACCESS
  • Locked
    14.  Using Helpers
    4m 21s
    In this video, find out how to create and use helper methods in modules in 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

Rating 5.0 of 1 users Rating 5.0 of 1 users (1)
Channel Python
Rating 4.5 of 2 users Rating 4.5 of 2 users (2)