课程信息
4.7
671 个评分
142 个审阅
You already know how to build a basic web application with the Ruby on Rails framework. Perhaps, you have even taken Course 1, "Ruby on Rails: An Introduction" (we highly recommend it) where you relied on external web services to be your “data layer”. But in the back of your mind, you always knew that there would come a time when you would need to roll up your sleeves and learn SQL to be able to interact with your own relational database (RDBMS). But there is an easier way to get started with SQL using the Active Record Object/Relational (ORM) framework. In this course, we will be able to use the Ruby language and the Active Record ORM framework to automate interactions with the database to quickly build the application we want. In Rails with Active Record and Action Pack, we will explore how to interact with relational databases by using Active Record, a Ruby gem, which Rails uses by default for database access. We will then take a look at what role Active Record plays in the overall request-response cycle, when a client (the browser) requests data from the server, as well as how to submit the data to the server. Of course, when accessing data, security is of paramount importance! We will talk about vulnerabilities such as SQL injection, as well as how to secure access to data by authenticating and authorizing users accessing the data. Take this course to build a Ruby on Rails application with Active Record to automate the detailed SQL interactions with our database....
Globe

100% 在线课程

立即开始,按照自己的计划学习。
Calendar

可灵活调整截止日期

根据您的日程表重置截止日期。
Clock

建议:6 hours/week

完成时间大约为17 小时
Comment Dots

English

字幕:English

您将获得的技能

AuthenticationActive Record PatternRuby On Rails
Globe

100% 在线课程

立即开始,按照自己的计划学习。
Calendar

可灵活调整截止日期

根据您的日程表重置截止日期。
Clock

建议:6 hours/week

完成时间大约为17 小时
Comment Dots

English

字幕:English

教学大纲 - 您将从这门课程中学到什么

1

章节
Clock
完成时间为 5 小时

Introduction to Active Record

In this module, we will begin exploring the database-interaction portion of Rails. We will start off with migrations that enable you to create and modify the schema of the database. We will then move on to discussing the Active Record gem Rails uses, which enables you to create, retrieve, update, and delete the data from the database. Before looking at Active Record, we will talk about some advanced Ruby features of meta-programming that will help facilitate our Active Record journey....
Reading
12 个视频(共 99 分钟), 3 个阅读材料, 3 个测验
Video12 个视频
Welcome to Module 1: Introduction to Active Record3分钟
Scaffolding6分钟
Database Setup and SQLite7分钟
Introduction to Migrations12分钟
Creating and Modifying Tables and Columns12分钟
Dynamic Dispatch7分钟
Dynamic Methods5分钟
Ghost Methods11分钟
Introduction to Active Record10分钟
Active Record CRUD: Part 113分钟
Active Record CRUD: Part 25分钟
Reading3 个阅读材料
Grading10分钟
Github Repository for Module 110分钟
Recommended Books10分钟
Quiz2 个练习
Scaffold and Migrations10分钟
Active Record Queries2分钟

2

章节
Clock
完成时间为 5 小时

Deep Dive into Active Record

In this module, we will continue exploring Active Record and look at ways to code advanced queries without exposing ourselves to risk from SQL injection (as well as what SQL injection actually is). We will then look at expressing relationships between entities in Active Record and validating the data being saved to the database....
Reading
11 个视频(共 86 分钟), 2 个阅读材料, 3 个测验
Video11 个视频
Seeding the Database4分钟
SQL Fragments and Dangers of SQL Injection9分钟
Array and Hash Condition Syntax6分钟
One-to-One Association12分钟
One-to-Many Association12分钟
Many-to-Many Association8分钟
Rich Many-to-Many Association9分钟
Active Record Scopes7分钟
Validations6分钟
N+1 Queries Issue and DB Transactions5分钟
Reading2 个阅读材料
GitHub Repository for Module 210分钟
Recommended Books10分钟
Quiz2 个练习
Advanced Querying4分钟
Relationships14分钟

3

章节
Clock
完成时间为 5 小时

Introduction to Action Pack

In this module, we will introduce Rails' Action Pack, which is a combination of Action Controller and Action View. We will see how REST has influenced routing in a Rails application and also talk about partials, form helpers, and layouts....
Reading
10 个视频(共 67 分钟), 2 个阅读材料, 3 个测验
Video10 个视频
Introduction to Action Pack4分钟
REST and Rails8分钟
Restful Actions: Index8分钟
Restful Actions: Show and Destroy8分钟
Restful Actions: New and Create4分钟
Strong Parameters and Flash9分钟
Restful Actions: Edit and Update5分钟
Partials5分钟
Form Helpers and Layouts8分钟
Reading2 个阅读材料
GitHub Repository for Module 310分钟
Recommended Books10分钟
Quiz2 个练习
Action Pack4分钟
Restful Actions8分钟

4

章节
Clock
完成时间为 5 小时

Security and Nested Resources in Action Pack

In this module, we will talk about how to deal with nested resources in Rails. We will then talk about securing your app with a username and password combination for authentication purposes and making sure that users are only authorized to make changes to and view their own resources. We will finish off the module by discussing pagination and deploying to Heroku Paas (Platform as a Service)....
Reading
10 个视频(共 85 分钟), 2 个阅读材料, 3 个测验
Video10 个视频
Building an App with Multiple Resources10分钟
Nested Resources: Part 18分钟
Nested Resources: Part 212分钟
Authentication8分钟
HTTP Sessions and Cookies8分钟
Sessions Controller and View11分钟
Authorization5分钟
Pagination6分钟
Deploying to Heroku and Enabling SSL8分钟
Reading2 个阅读材料
GitHub Repository for Module 410分钟
Recommended Books10分钟
Quiz2 个练习
Nested Resources10分钟
Authentication8分钟
4.7
Direction Signs

50%

完成这些课程后已开始新的职业生涯
Briefcase

83%

通过此课程获得实实在在的工作福利

热门审阅

创建者 ABAug 11th 2016

A nice continuation to course 1 of this specialization, deeper dive into RoR, among other things you will learn how to manipulate/display database data and how to authenticate/authorize users!

创建者 NLDec 17th 2015

Great explanation of not so easy to understand concepts. Lecturer provides good example that can help material better and see how what you've learned can be applied to real world scenarios.

讲师

Kalman Hazins

Adjunct Professor, Graduate Computer Science
Whiting School of Engineering

关于 Johns Hopkins University

The mission of The Johns Hopkins University is to educate its students and cultivate their capacity for life-long learning, to foster independent and original research, and to bring the benefits of discovery to the world....

关于 Ruby on Rails Web Development 专项课程

This Specialization covers the fundamentals of web development with Ruby on Rails. You’ll learn everything you need to develop your own web application using Ruby on Rails, SQL and NoSQL databases, and HTML/CSS, and Javascript. We will also touch on advanced topics such as security, services using HTTP/RESTful access patterns, and user access and user experience from multiple device platforms. In the final Capstone Project, you’ll apply your skills to develop a web application that hosts uploaded photos and displays them using a map....
Ruby on Rails Web Development

常见问题

  • Once you enroll for a Certificate, you’ll have access to all videos, quizzes, and programming assignments (if applicable). Peer review assignments can only be submitted and reviewed once your session has begun. If you choose to explore the course without purchasing, you may not be able to access certain assignments.

  • When you enroll in the course, you get access to all of the courses in the Specialization, and you earn a certificate when you complete the work. Your electronic Certificate will be added to your Accomplishments page - from there, you can print your Certificate or add it to your LinkedIn profile. If you only want to read and view the course content, you can audit the course for free.

还有其他问题吗?请访问 学生帮助中心