Description: In common with Ruby frameworks, Sinatra uses the Rack interface. This allows it to harness the functionality of Rack and enables the generation of Sinatra applications as a combination of middleware applications. After covering more advanced features of extensions, helpers, templates, views, and databases in the context of Sinatra applications, this course covers using Rack middleware with Sinatra. It also covers generating subclasses to create modular Sinatra applications. You'll also learn how to create a REST service using Sinatra. Finally, you'll learn how to manage Sinatra dependencies and assets, reload code, and deploy applications using Heroku or Apache Passenger.
Target Audience: Developers familiar with Ruby who want to use Sinatra to build web applications
Duration: 02:33
Description: At the core of Sinatra is the ability to respond to routes. This course includes how to install and use Sinatra with the Thin server. It shows various aspects of route configuration, and covers the use of templates, views, and models, including ActiveRecord and DataMapper. It covers attachments and content streaming, as well as the basics of extensions and helpers, and dynamic modification of block binding. Finally, you'll learn about various aspects of application configuration to support features such as sessions, cookies, caching, and error handling.
Target Audience: Developers familiar with Ruby who want to use Sinatra to create web applications and services
Duration: 02:37