Ruby, Part 6 of 6: Error Handling, Frameworks, and Algorithms
Interactive

Ruby, Part 6 of 6: Error Handling, Frameworks, and Algorithms

LearnNow Online
Updated Aug 23, 2018

Course description

Ruby expert Jordan Hudgens covers error handling, web frameworks, and algorithms in Ruby in this course. He will begin with a walk through the syntax for basic error handing, emphasizing best practices, followed by a review of the two most popular web frameworks for Ruby: Sinatra and Rails. Hudgens will show how to build two web applications, with the Rails app being a functional blog that includes full CRUD features, and then walk through implementing popular algorithms in Ruby and building the insertion sort and quicksort algorithms. Finally, he will discuss creating a binary search program.

Each LearnNowOnline training course is made up of Modules (typically an hour in length). Within each module there are Topics (typically 15-30 minutes each) and Subtopics (typically 2-5 minutes each). There is a Post Exam for each Module that must be passed with a score of 70% or higher to successfully and fully complete the course.


Prerequisites

You should be familiar with basic text editing in a Windows or Linux environment. No prior knowledge of programming is assumed. This course builds on the previous ruby courses: Ruby: Introduction and Classes, Ruby: Variables and Data Structures, Ruby: Input/Output and Gems.


Meet the expert

Jordan Hudgens

Jordan Hudgens has certifications for Ruby on Rails, Thinkful; Ruby on Rails, Bloc.io; Front End Development, Thinkful; and AngularJS, Thinkful. He is currently vice president of engineering for TRACKR in Midland, Texas and is working on his PhD in Computer Science from Texas Tech. In addition to Ruby, Jordan works with PHP, JavaScript, MySQL, Postgres, CSS3, C, C++, C#, Objective-C, and Python. He also works with the frameworks Rails (Ruby), Zend (PHP), and Django (Python), plus the libraries AngularJS, jQuery, and Backbone.js.

Video Runtime

103 Minutes

Time to complete

380 Minutes

Course Outline

Frameworks and Algorithms

Error Handling & Syntax (08:10)

  • Introduction (00:26)
  • What Is Error Handling? (02:00)
  • Begin/Rescue (02:51)
  • Demo: Error Handling (02:37)
  • Summary (00:14)

Antipatterns (08:35)

  • Introduction (00:20)
  • Antipatterns (03:02)
  • Demo: Antipatterns (04:57)
  • Summary (00:15)

Error Logger (08:22)

  • Introduction (00:16)
  • Error Logger (01:54)
  • Demo: Error Logger (05:55)
  • Summary (00:15)

Sinatra (15:24)

  • Introduction (00:19)
  • Sinatra (07:19)
  • Demo: Sinatra (04:25)
  • Demo: Parameters (03:05)
  • Summary (00:15)

Rails (20:32)

  • Introduction (00:19)
  • Ruby on Rails (07:52)
  • Demo: Getting Started (05:36)
  • Demo: Migration (02:09)
  • Demo: Preview Blog (04:26)
  • Summary (00:07)

Insertion Sort (20:52)

  • Introduction (00:19)
  • Why Learn Algorithms? (04:15)
  • Algorithm Development (01:56)
  • Demo: Insertion Sort (03:38)
  • Demo: While Loop (06:00)
  • Demo: Test Insertion Sort (04:26)
  • Summary (00:16)

Quicksort (10:16)

  • Introduction (00:18)
  • Sorting Algorithms - Quicksort (02:56)
  • Demo: Quicksort (04:10)
  • Demo: Test Quicksort (02:30)
  • Summary (00:20)

Binary Search (11:05)

  • Introduction (00:18)
  • Binary Search (02:59)
  • Demo: Binary Search (04:12)
  • Demo: Test Binary Search (03:16)
  • Summary (00:17)