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.
Why Take This Course? 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.
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.
MOOCs stand for Massive Open Online Courses. These arefree online courses from universities around the world (eg. StanfordHarvardMIT) offered to anyone with an internet connection.
How do I register?
To register for a course, click on "Go to Class" button on the course page. This will take you to the providers website where you can register for the course.
How do these MOOCs or free online courses work?
MOOCs are designed for an online audience, teaching primarily through short (5-20 min.) pre recorded video lectures, that you watch on weekly schedule when convenient for you. They also have student discussion forums, homework/assignments, and online quizzes or exams.