REST is short for “representational state transfer.” It is an application design concept. Instead of writing code to perform procedures, REST code is written to perform state transformations upon resources. REST fits well with the MVC pattern we are already using in Rails. REST uses specific HTTP verbs (GET, POST, PATCH, DELETE) to make changes to resources and these are mapped to a particular URL syntax in Rails.
- [Lecturer] In this movie,…we'll learn about REST and how Rails implements it.…REST is a tricky subject in beginner…Ruby on Rails training course.…On one hand, it requires learning…some advanced web concepts and new techniques…at a time when you're still getting…your footing in the basics of MVC and CRUD.…But on the other hand,…REST has become such a core part…of developing in Rails that you must learn it.…So hang with me as we go into some deeper waters.…REST is short for Representational State Transfer,…and REST is a design concept…which says that our application…should not focus on performing procedures,…but instead on performing…state transformations upon resources.…
It's not easy to see how that's…different from what we're already doing…because the Rails MVC pattern…already encourages us to break up our code…by model and controllers for those models.…Each model is already being treated as a resource.…In fact, it may be helpful for you…to think of model whenever you hear me say resource.…The reason REST was quickly adopted…
- Creating and configuring a new Ruby on Rails project
- Generating controllers and views
- Handling server requests
- Using different types of routes
- Rendering and viewing templates
- Generating migrations and models
- Creating, updating, and deleting records
- Finding records with queries
- Understanding relationship types
- Writing controllers for CRUD
- Working with layouts and helpers
- Managing application assets
- Building forms
- Validating data
- Authenticating users
Skill Level Beginner
1. What Is Ruby on Rails?
2. Get Started
3. Controllers, Views, and Dynamic Content
4. Databases and Migrations
5. Models and ActiveRecord
7. CRUD, REST, and Resourceful Routes
8. Controllers and CRUD
9. Layouts, Partials, and View Helpers
12. Data Validation
13. Controller Features
14. User Authentication
15. Improve the Simple CMS
Next steps1m 44s
- 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.