Welcome to the Rails Decal!
Logistics
- Wait listed
- CCN Problems
- Piazza
History of this class
- Second Semester this is being offered
- Theory vs Practice
- A different approach to learning
- Sponsored by Blueprint
Poll
- Any Rails experience
- Any dynamic web experience
- Any HTML experience
- None at all
Web Development
- Static (http://www.unboard.io/games.html)
- Dynamic (http://www.railsdecal.com/)
Static
- Content
- Presentation
- Interaction
Dynamic
- Has components of static webpage
- Content changes on user interaction
What we need
- A way to store data
- A way to interact with the data
- A way to present the data
How are we going to do this?
Ruby
- Programming Language
- Similar to Python
- "Focus on humans, not machines"
Rails
- The Framework
- Convention over Configuration (CoC)
- MVC (Model-View-Controller)
- Very quick to get things up and running
- Vibrant community
Model
Objects that are used to interact with the data that is stored in the database. Most of the logic goes into the model.
View
What the user interacts with. Consists of the HTML, CSS, and javascript to display the data.
Controller
The connection between the models and the views. It usually takes the model’s data and populates the views with it.
MVC
Goals
- Learn the basic structure of web applications
- Use Ruby on Rails to create web apps
- Learn tools useful for the industry
Tools
- Git
- Version Control
- RVM
- Easy way to manage multiple Ruby and gem versions
More Logistics
- Syllabus: http://bit.ly/railsdecalsp15syllabus
- Grade Breakdown
-
-
Attendance: 20%
-
0-1 absences = 20/20
-
2 absences = 10/20
-
3 absences = 0/20
-
4 or more absences = No Pass
-
-
Homework: 20%
-
Project 1 (individual): 25%
-
Project 2 (group): 35%
-
A passing grade is 70% or more
-
Advice
- Come to office hours. We are here to help!
- Google your bugs
Junyu Wang
Sophomore CS major
junyuw@berkeley.edu
OH: Thur 11-12AM @ Qualcomm Cafe
Nic Stone
Sophomore CS major
OH: Monday 2 - 3pm @ Qualcomm
Erica Yin
Junior CS
ericayin831@gmail.com
OH: Monday 1:30 - 2:30 pm @ Qualcomm
Charles Xue
Junior ECCS
charlesx@berkeley.edu
OH: Wednesday 3 - 4 PM @ Qualcomm
Jessica Lin
Senior CS and Cogsci major
heyjaylin@gmail.com
OH: Monday 3 - 4 PM @ Cafe Milano
Sam Lau
Sophomore EECS
samlau95@gmail.com
OH: Tuesdays 2:30-3:30 @ 238 Cory
Howard Chen
Junior CS
howardxchen@gmail.com
OH: 3 - 4 Mondays
Let's get started!
- Mac/Linux
- Manual set-up - bit.ly/rails-setup
- Or virtual machine - bit.ly/vm-setup
- Windows
- Use virtual machine - bit.ly/vm-setup
Spring 2015 - Week 1: Introduction
By Rails Decal
Spring 2015 - Week 1: Introduction
- 1,501