The MVC Pattern in Ruby

Writing Organized Code for your Web Apps

中级

大约 1 个礼拜

6小时每周 (按照自己的节奏)

加入成千上万的全球学员

开始免费课程

加入课程
免费
可享受
课程视频
实战练习
中级

大约 1 个礼拜

6小时每周 (按照自己的节奏)

加入成千上万的全球学员

课程概述

Learn how to organize the code for your web apps, and why it's important. You’ll be using the MVC Design Pattern in the web application micro-framework, Sinatra.

为什么学习这门课程?

The ability to organize code is a critical skill for today’s successful programmer, who needs to manage larger and more complex projects than ever before. Thankfully, patterns for organizing code in web applications (like the MVC design pattern) are available. This course will teach you to use these patterns effectively, so when faced with the challenge of hooking up your app to a new API, or the need to display data to users in multiple ways, you’ll be ready.

先修要求

This course is ideal for intermediate Ruby programmers who have experience rendering static pages using the Sinatra web development micro-framework.

Students should be proficient in HTML and CSS.

查看使用优达学城的技术要求

学习计划

You will learn why the MVC design pattern exists, how to use it successfully, and how to refactor code for an existing website created with Sinatra.

Lesson 1: The MVC Design Pattern with Ruby

First, you’ll learn about the challenges of developing a website with disorganized code by meeting the creator of the sample Sinatra code for this course. Then you’ll learn about how design patterns like MVC can help with some of these challenges. You’ll use your knowledge to organize the code using the MVC design pattern, and then add new features to the site with the newly refactored code.

讲师与合作伙伴

Julia Van Cleve

Julia Van Cleve

Julia Van Cleve is a Content Developer at Udacity and was previously a middle school math teacher in San Jose, CA. She also dabbled in freelance web development, designing websites for small businesses in the Bay Area. She graduated with a B.S. in Mathematics from Rensselaer Polytechnic Institute, and earned an M.A. in Education from Stanford University. In her spare time, Julia enjoys Ingressing, dancing, and adding cute cat photos to her lessons.

官方微信公众号二维码

优达学城(Udacity)微信