Skip to content

Instantly share code, notes, and snippets.

@Colt
Colt / ZooLab
Created November 22, 2013 07:31
What I have so far for the Zoo Lab. Uses a model, view, and collection to append new animals to the page.
jQuery ->
#Let's make a model guys!!
class Animal extends Backbone.Model
#Let's make a collection of those models
class Animals extends Backbone.Collection
model: Animal

Exercise - Instructor

Shirt Search Code Along

###Part 1: Review Time 20 min

## Rails Basics Quiz
____
* Create a new Rails app called puppies
* Make a puppy controller
* Add an index method to the puppies controller
* Add an index view
* What do you add to your routes file to make your homepage route to the index view you just created?
@Colt
Colt / gist:9263742
Created February 28, 2014 01:57
Rails Basics Quiz

Rails Basics Quiz


  • Create a new Rails app called puppies
  • Make a puppy controller
  • Add an index method to the puppies controller
  • Add an index view
  • What do you add to your routes file to make your homepage route to the index view you just created?
#Javascript Basics
###Schedule
- Javascript Basics
- Variables
- Score Keeper Code-Along
- Conditionals
- Compare That Code-Along
- Temperature Converter Lab

#Javascript Basics

###Schedule

  • Javascript Basics
  • Variables
  • Score Keeper Code-Along
  • Conditionals
  • Compare That Code-Along
  • Temperature Converter Lab
# Introduction to Ruby
## Why Learn Ruby?
* It has learned/stolen a ton from the languages that came before it.
* It's elegant and easy to learn
* It doesn't focus on making code as short as possible, it cares about readability
* It has a huge community behind it - documentation, tutorials, etc.
* RAILS!
Ruby is a well designed object oriented language. It is easy to read and stresses the DRY (Don't Repeat Yourself) principle. Since many of the method names and the ruby syntax itself is so much like english, it is an ideal language to start with.
## Objectives

Introduction to Ruby

Why Learn Ruby?

  • It has learned/stolen a ton from the languages that came before it.
  • It's elegant and easy to learn
  • It doesn't focus on making code as short as possible, it cares about readability
  • It has a huge community behind it - documentation, tutorials, etc.
  • RAILS! Ruby is a well designed object oriented language. It is easy to read and stresses the DRY (Don't Repeat Yourself) principle. Since many of the method names and the ruby syntax itself is so much like english, it is an ideal language to start with.

Objectives

Control Flow

Objectives

  • If Statements
  • Each Loops
  • While Loops
  • Exercises!

Quick Review of Expressions

Control Flow

Objectives

  • If Statements
  • Each Loops
  • While Loops
  • Exercises!

Quick Review of Expressions