Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'UTC/0.0/no DST' instead in /var/www/html/include/func/func.logging.php on line 510
Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'UTC/0.0/no DST' instead in /var/www/html/include/logging.php on line 54
Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'UTC/0.0/no DST' instead in /var/www/html/include/logging.php on line 60
Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'UTC/0.0/no DST' instead in /var/www/html/init.php on line 481
Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/include/func/func.logging.php:510) in /var/www/html/include/sessions.php on line 74
Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/include/func/func.logging.php:510) in /var/www/html/include/sessions.php on line 76
Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/include/func/func.logging.php:510) in /var/www/html/include/sessions.php on line 85
Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/include/func/func.logging.php:510) in /var/www/html/include/sessions.php on line 86
Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/include/func/func.logging.php:510) in /var/www/html/include/sessions.php on line 93
Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/include/func/func.logging.php:510) in /var/www/html/include/func/func.core.php on line 1836
Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'UTC/0.0/no DST' instead in /var/www/html/cron.php on line 105
Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'UTC/0.0/no DST' instead in /var/www/html/include/func/func.logging.php on line 49
Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'UTC/0.0/no DST' instead in /var/www/html/include/func/func.logging.php on line 79
Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'UTC/0.0/no DST' instead in /var/www/html/include/func/func.logging.php on line 86
Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/include/func/func.logging.php:510) in /var/www/html/include/get_language.php on line 165
Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'UTC/0.0/no DST' instead in /var/www/html/product.php on line 82
INVALID SQL: 1064 : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'OPTION SQL_BIG_SELECTS=1' at line 1
SQL QUERY FAILURE:SET OPTION SQL_BIG_SELECTS=1
INVALID SQL: 1064 : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'OPTION SQL_BIG_SELECTS=1' at line 1
SQL QUERY FAILURE:SET OPTION SQL_BIG_SELECTS=1
eClasses.org�::�Course Catalog�::�Introduction to Ruby and Rails
eClasses.org :: Course Catalog :: Introduction to Ruby and Rails

Introduction to Ruby and Rails (P205)

Ruby is a programming language from Japan which revolutionized the web. The beauty of Ruby is found in its balance between simplicity and power.

We call Ruby a transparent language. By that we mean that Ruby doesn't obscure the solutions you write behind lots of syntax and the need to churn out reams of support code just to get simple things done. Rather than constantly mapping your ideas and designs down to the pedestrian level of most languages, with Ruby you'll find you can express them directly and express them elegantly. This means you code faster. It also means your programs stay readable and maintainable.

While Ruby’s roots might be different from other languages, it’s heavily used and respected in many industries. Companies that use or support Ruby in one way or another include such prestigious names as Sun Microsystems, Intel, Microsoft, Apple, and Amazon.com.

The Ruby on Rails web framework is a system for developing web applications that uses Ruby as its base language, and it powers hundreds of large web sites. Ruby is also used as a generic language from the command prompt, much like Perl.

Grammarians, biochemists, database administrators, and thousands of other professionals and hobbyists use Ruby to make their work easier. Ruby is a truly international language with almost unlimited application.

So why learn Ruby? Because it will help you program better. It will help you to focus on the problem at hand, with fewer distractions.

By the end of this class you will have built multiple applications and understand all the components of building web applications from start to finish including deploying to the web.

    Objectives for this class are:
  • How to install Ruby components.
  • Understand the basic Ruby programming blocks: Data, Expressions, Flow Control.
  • Be able to create basic Ruby programs.
  • Know how to create more advanced constructs: Classes, objects and Modules.
  • How to error handle and debug your code.
  • Understanding how to use Ruby Gems.
  • Learn how to deploy applications and libraries.
  • Know all the components the Web Application Framework: Rails, Sinatra, ActiveRecord, and PostgreSQL
  • Learning MVC, CRUD and REST
  • Scaffolding a web application with Models, Views and Controllers step-by-step.

Who Should Attend:This course is for anybody who either has no experience in programming and wants to jump both feet first and learn what it takes to be a full stack web developers. OR any existing web developer who wants to learn one of mostly widely used programming languages for startups and quickly developing web applications.

Outline
Week 1: Getting Started with Ruby
  • Getting your environment installed
  • Using a cloud-based IDE
  • Other local IDE you can use
  • Your first Ruby program
  • Basic variables
  • Understanding Objects
  • Using methods
Week 2: The Ruby Language
  • Numbers and Expressions
  • Using Strings
  • Data storage: Arrays and Lists and Hashes
  • Flow Control: if and unless, ternary operator, while and until
  • Call blocks
  • Decoding errors and handling errors
  • Writing your own methods
Week 3: Ruby Gems
  • What are Gems?
  • Using some Gems:
    • Nokogiri
    • Twillo
Week 4: Creating our first two applications: Weather App & Forecast App
  • Weather App:
    • You will create a weather app that allows a user to input their location (zip code, city, state, etc.), hit submit, and then, depending on real-time data that you will source from a public API, see a message customized to what the weather is like where they live.
  • Forecast App:
    • You will take our newly created weather app and convert to a forecast app to forecast the weather for the next five days.
Week 5: Using Sinatra and Rspec
  • Making and testing your first Sinatra app
  • Using Sinatra templates
  • Working with forms
  • Sinatra HTTP
  • Redirecting and Date Picking
  • Databases overview:
    • PostgreSQL
    • ActiveRecord
Week 6: MVC, CRUD and REST
  • Understanding MVC
  • Creating an web application using CRUD (Create, Read, Update, Delete)
  • Updating our application to use Forms and Partials
  • Creating another application: Anagram APP
Week 7: Ruby on Rails
  • Overview
  • Rails scaffolding and folder structure
  • Configuring your Rails environment
  • Controllers and Routes
  • Sinatra vs Rails
  • Creating another application: Pinning App (Pinterest style image and sharing app):
    • Routing on Rails
    • Deploying on Heroku
    • Pretty URLS
Week 8: More Ruby on Rails
  • Continuing with our Pinning App:
    • Testing on RSpec
    • Associations
    • Form Helpers, Debugging and Security
    • Uploading images
    • User Sessions
Prerequisites
  • The only requirement is that students have a good understanding of HTML and CSS. No previous programming experience is required but we will be covering a lot of material, so be ready.
Requirements
  • We will be using a free development tools (Mac or Windows) and a free cloud-based IDE (Integrated Development Environment), so only a modern browser is required (i.e. Chrome, Firefox, etc.)

Books:
No book is required for this class.

Additional information:

Your place in the course is confirmed by your payment. Introductory courses are intended for students with no experience in the subject matter and are seeking beginner level training.

Refund Policy: Please read our Terms and Refund Policy before registering for this course.

Additional Cost: Book and software might be required for the course. Read the Requirements and Book section for more information. Course fee does not include the book and software cost .

How eClasses Work:Instructors post lectures (text-based, no video or audio), reading selections, and hands-on assignments once a week in the online classroom. Students can discuss the assignments with the instructor and amongst themselves in the classroom area. This format has no set meeting time, which allows students to attend class at a time most convenient to them, yet still provides logically organized communication between class participants. Students can apply for the completion certificate after finishing the class.

Introduction to Ruby and Rails
Price: $240.00
Item No.: P205
Instructor: Frank Stepanski
Open Courses: No other sessions are scheduled for this course. You can add to your wish list and you will be notified when other sessions are scheduled.

Instructor's ProfileInstructor
Frank Stepanski has over 10 years experience in the IT field as a Web Developer. Frank has worked with technologies such as PHP, MySQL, ASP.NET, SQL Server as well as HTML, CSS and JavaScript. He has a Masters Degree in Software Engineering from Penn State University. He has also taught web programming classes at a local community college.
Before you register for this class, please read the Outline, Prerequisites, Requirements, Books, and Refund Policy sections carefully.
 

Testimonials

No testimonial available!