Join Kevin Skoglund for an in-depth discussion in this video What is Ruby on Rails?, part of Ruby on Rails 3 Essential Training.
I would like to start out by introducing you to Ruby on Rails. Now, I realize that some of you may be coming to this training title already knowing all about it, but some of you may have just heard some of the buzz in the web community and not be entirely sure what is Ruby on Rails. Well, the first thing you need to be clear on is that Ruby on Rails is made up of two parts. Ruby and Rails, and it's going to be important to understand the difference and keep the difference straight in your head. So what is Ruby? Ruby is an object-oriented programming language. It was created in 1995 by Yukihiro Matsumoto, who the community often refers to as simply "Matz".
And Ruby can be used for many purposes, not just for web applications. It's just a general programming language. In fact, on lynda.com we offer Ruby Essential Training, which is training for the Ruby programming language. The second half though is Rails. So what is Rails or Ruby on Rails? It is an open-source, web application framework that is written in the Ruby language. It was created in 2003 by David Heinemeier Hansson, who the community often refers to as simply "DHH".
And it was created as the foundation of 37signals' Basecamp application and then released as open source in 2004. Now, if you remember, Ruby was created in 1995. So it was already out there and existed and then David Heinemeier Hansson came along and said, oh, you know what, wouldn't it be great to write this web application framework in the Ruby language? So what exactly is a web application framework then? Here is my definition. A framework is a set of code libraries and data-structures that are going to provide generic functionality which can be used, overridden, or further specialized.
So it's the code libraries and data structures, that's really what it is, and it's going to do things for us and help us to do things. So why not just call it a library then, right, a code library? Well, the main difference is that the framework is going to do more than just the library would. It's going to dictate the flow control of the program and it's also going to have a lot of default behaviors built in. Libraries typically don't do anything until you ask them to. The Rails framework is actually going to do things on its own as a default behavior.
Now, Ruby on Rails is not the only web framework there is. There are frameworks in other languages. Java, PHP, Perl, Python, ASP.net, and they are even other frameworks that are written in Ruby. But Ruby on Rails has become a very popular web framework to develop in. In the next movie, we will look at why you would want to use Ruby on Rails.
- Understanding MVC (Model View Controller ) architecture
- Routing browser requests through the framework
- Responding to requests with dynamic content
- Defining associations and database relationships
- Creating, reading, updating and deleting records
- Working with forms
- Validating form data
- Reviewing built-in security features
- Authenticating users and managing user access
- Debugging and error handling
Skill Level Beginner
1. What Is Ruby on Rails?
2. Installing Ruby on Rails on a Mac
3. Installing Ruby on Rails on a Windows Machine
4. Getting Started
5. Controllers, Views, and Dynamic Content
6. Databases and Migrations
7. Models, ActiveRecord, and ActiveRelation
9. Controllers and CRUD
10. Layouts, Partials, and View Helpers
12. Data Validation
13. User Authentication
14. Improving the Simple CMS
15. Debugging and Error Handling
16. Introducing More Advanced Topics
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.