Introduction to Views

Programmers looking to expand their skill set in the Rails environment

Prerequisite
None

Expected Duration
138 minutes

Description
Rails is a model view controller framework that encourages use of the software engineering paradigm don’t repeat yourself. In this course, you will learn how to work with Rails Helpers, how to perform authentication, and how to use the asset pipeline to your advantage.

Objective

Views and Layouts

  • start the course
  • use rendering and layouts
  • use partials to break up the render process into modular chunks

Rails Helpers

  • use FormHelper to provide a set of methods for working with HTML forms
  • describe how Rails uses the flash object to display errors
  • use CsrfHelper to output meta tags with the name of the cross-site request forgery protection parameter and token
  • use UrlHelper to make links and get URLs that depend on the routing subsystem
  • use the Rails view helper
  • write custom helpers
  • use formatting view helpers

Internationalization (I18n) API

  • set up Rails for Internationalization

Session Management

  • use the session hash to store and access data and read and write cookies

Authentication

  • install devise
  • configure devise

Authorization

  • install Pundit
  • configure Pundit

Asset Pipeline

  • describe how the asset pipeline looks for assets to include
  • code links to assets
  • use fingerprinting and minification
  • use CDNs to improve performance

Rails AJAX

  • describe how server-generated JavaScript works with Rails

Turbolinks

  • use Turbolinks to attach a click handler to all links of an HTML page

Caching

  • use fragment caching
  • implement collection caching and cache keys
  • use Russian Doll caching

Advanced Setup

  • create initializers inside of gems
  • create custom rake tasks

Practice: Views and Sessions

  • use different elements within views and sessions

MONTHLY SUBSCRIPTION

$129/month
 

ANNUAL SUBSCRIPTION

$1295/year

Multi-license discounts available for Annual and Monthly subscriptions.