Working with Sinatra

Sinatra 1.4.6    |    Beginner
  • 14 videos | 1h 6m 53s
  • Earns a Badge
Rating 5.0 of 1 users Rating 5.0 of 1 users (1)
Take an in-depth look at Sinatra! Here you'll learn how to work with advanced features, such as extensions, helpers, and databases, create a REST service, and manage assets, code reloading, and deployment.

WHAT YOU WILL LEARN

  • Create and use helper methods in blocks in sinatra
    Use sinatra's registered method to combine helpers and extensions in an application
    Compare how to dynamically change the binding of a block in sinatra by using instance_eval or  by dynamically creating a method from the block, getting the unbound method object, and removing the method
    Implement a rails style partial handler in a sinatra application
    Use the coffeescript template in sinatra applications
    Use rss feed templates with builder in sinatra applications
    Generate and use a mongomapper model in a sinatra application
  • Connect to different databases such as sqlite and mongo from a sinatra application
    Create a rest service using sinatra
    Use the sinatra asset-pack gem to manage assets in an application
    Use the shotgun gem to enable sinatra code to be reloaded automatically
    Use heroku to deploy a sinatra application
    Use apache and passenger to deploy sinatra applications
    Create a rest service in sinatra

IN THIS COURSE

  • 2m 34s
    In this video, you will learn how to create and use helper methods in blocks in Sinatra. FREE ACCESS
  • 4m 17s
    Find out how to use Sinatra's registered method to combine helpers and extensions in an application. FREE ACCESS
  • Locked
    3.  Working with Bindings
    4m 8s
    In this video, you will compare how to dynamically change the binding of a block in Sinatra by using instance_eval or by dynamically creating a method from the block, getting the unbound method object, and removing the method. FREE ACCESS
  • Locked
    4.  Using Partials
    4m 38s
    During this video, you will learn how to implement a Rails-style partial handler in a Sinatra application. FREE ACCESS
  • Locked
    5.  Using the CoffeeScript template
    6m 15s
    In this video, you will learn how to use the CoffeeScript template in Sinatra applications. FREE ACCESS
  • Locked
    6.  RSS Feed with Builder
    5m 44s
    In this video, find out how to use RSS feed templates with the builder in Sinatra applications. FREE ACCESS
  • Locked
    7.  Using MongoMapper
    4m 41s
    In this video, find out how to generate and use a MongoMapper model in a Sinatra application. FREE ACCESS
  • Locked
    8.  Connecting to Databases
    4m 5s
    In this video, learn how to connect to different databases, such as SQLite and Mongo, from a Sinatra application. FREE ACCESS
  • Locked
    9.  Creating a REST Service
    4m 12s
    During this video, you will learn how to create a REST service using Sinatra. FREE ACCESS
  • Locked
    10.  Managing Assets
    5m 18s
    In this video, you will learn how to use the Sinatra asset-pack gem to manage assets in a Sinatra application. FREE ACCESS
  • Locked
    11.  Reloading an Application
    3m 10s
    In this video, find out how to use the shotgun gem to enable Sinatra code to be reloaded automatically. FREE ACCESS
  • Locked
    12.  Deploying with Heroku
    8m 47s
    Find out how to use Heroku to deploy a Sinatra application. FREE ACCESS
  • Locked
    13.  Deploying with Apache and Passenger
    3m 15s
    In this video, find out how to deploy Sinatra applications using Apache and Passenger. FREE ACCESS
  • Locked
    14.  Exercise: Creating a Rest Service
    5m 49s
    Find out how to create a REST service 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

Channel Python
Rating 4.5 of 2 users Rating 4.5 of 2 users (2)
Channel MEAN.js
Rating 5.0 of 1 users Rating 5.0 of 1 users (1)
Channel REST
Rating 5.0 of 1 users Rating 5.0 of 1 users (1)