Web Development in Ruby on Rails

מק"ט: #4564 | משך קורס: 40 שעות אק'

Ruby on Rails is an open-source framework for creating Web applications easily and quickly, and with a minimum of configuration and custom code. Rails is written in Ruby, taking advantage of that language’s dynamic, object-oriented nature to create MVC (model-view-controller) application in surprisingly little time. Between the ActiveRecord object-relational manager (ORM), migrations that define changes to the database, clearly defined conventions for application builders, easy-to-use deployment systems, built-in Ajax support, and built-in automated test facilities, Rails is a natural choice for many organizations, large and small — including Twitter, the UK government, Groupon, and AirBnB.com.
This course introduces Ruby on Rails. Participants will learn to create, test, and deploy their own applications using some of the most common tools and technologies associated with Rails. By the end of the course, participants will know how to create and deploy an application, as well as how to think about creating new Rails applications in their workplace. There will be numerous exercises and projects during the course, to ensure the greatest possible retention of information.
 

הקורס פעיל לקבוצות מטעם ארגונים בלבד, ניתן לשלוח פנייה רק אם מדובר בקבוצה
*שדות חובה
PDF version

מטרות

  • Understand the structure of a Rails application
  • Be able to create models, views, and controllers
  • Know how to work with Active Record for easy database access
  • Understand how to deploy Web applications
  • Be able to test the Web application using automated tools
  • Use third-party Ruby gems to enhance Web applications
  • Use SCSS instead of generic CSS for stylesheet markup
  • Use CoffeeScript instead of JavaScript for client-side programming
  • Create server-side APIs for mobile and client-side apps
     

קהל יעד

Web developers interested in learning how to develop Web applications with Rails

תנאי קדם

Participants are expected to know the Ruby programming language, and to have some experience developing Web applications, including HTML, JavaScript, and CSS. Experience with a relational database, and knowledge of basic SQL, is also expected.

 

נושאים

Brief review of the Ruby language

 

Introduction to Rails

 

MVC

 

Parts of Rails

  • ActiveRecord
  • Action Pack
  • Active Support
  • Action Mailer

 

Downloading and installing Rails

 

Creating a Rails application

 

Git

 

Bundler

 

database.yml and database drivers

 

Rails environments

 

Controllers

 

Views, including ERb templates

 

Models and ActiveRecord

  • Migrations
  • CRUD with ActiveRecord
  • finders, including dynamic finders
  • conditions
  • Associations
  • Validations
    • Built-in validations
    • Defining your own validations
    • Displaying validation output for the user
  • Transactions
  • Joins

 

Testing

 

Forms and form parameters

 

Parameters

 

respond_to and formats

 

Session and the flash

 

Filters

 

RESTful controllers and resources

 

Layouts

 

Sending e-mail

 

Helpers

 

Deploying to Heroku

 

Deploying with Capistrano

 

Benchmarking and caching

 

Static assets and the asset pipeline

  • Asset pipeline configuration
  • CSS and SCSS
  • CoffeeScript and JavaScript

 

Ajax and JavaScript

  • Helpers
  • HTML5 “data-” support
  • Server-side Ajax handlers
     

משך

משך הקורס הינו 40 שעות אקדמאיות

תגיות