Skip to content

Instantly share code, notes, and snippets.

@zjfong
zjfong / week1-learning-objectives.md
Last active August 19, 2016 17:05
Week 1 Learning Objectives

Week 1 Learning Objectives

###Git & Github

  • Explain the uses of Git and GitHub for tracking their changes and collaborating on projects.
  • Draw a model of local, remote, and working copies of their repositories.
  • Write some code, commit the changes, and write a strong commit message.
  • Deploy first live website using gh-pages.

###HTML & CSS

Week 2 Learning Objectives

###Iterator Methods & Callbacks

  • Use appropriate iterator methods to declaratively loop through collections
  • Follow the order of execution in a program that uses callbacks
  • Write a higher-order function that calls a custom callback

###Objects

Week 3 Learning Objectives

###Express

  • Draw a diagram of the request response cycle with Nodejs and Express included and labeled
  • Describe the roles that Nodejs and Express play in building a server
  • Use npm to initialize a node project
  • Write a local web server to serve JSON and static assets with Express

###Params and Routes

@zjfong
zjfong / gist:5aa0cfaa1579b21bd47f924173a380ac
Last active September 16, 2016 22:22
Angular app CRUD
  • initialize angular app in app.js and index.html
  • create a controller
  • create the controller function
  • declare where you use the controller in your view
  • display data from controller

--

  • inject $http to controller
  • set up GET request

Week 7 Learning Objectives

###Intro Ruby

  • List Ruby data types.
  • Articulate strategies to learn new programming languages and frameworks.
  • Run Ruby code in an interactive Command Line Interface or from a file.

###Ruby Methods

  • Write conditionals, loops, and methods in Ruby.
  • Apply methods in ruby to solve problems.

#Rspec

passing tests
important to understand what the test is asking
refer to spec
refer to helpers.rb

describe - example group
context - scenario
it - example

Week 8 Learning Objectives

###Migrations

  • Add and remove columns from the database.
  • Alter an existing column.
  • Explain when it is okay to edit a migration and when it is okay to edit the schema.

###Associations

  • Describe how relational databases can be used to create associations between resources.
@zjfong
zjfong / DeviceDetector.md
Last active October 13, 2016 02:47
Explain Device Detector Gem

#Device Detector Gem User agent parser and device detector

##What is a user agent? A string of data with the device and software that the visitor is using.

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36

##Why use device detector?

  • Send different HTML depending on browser
@zjfong
zjfong / Ionic.md
Last active October 24, 2016 16:32
Lightning Talk

#Ionic Software development kit for mobile apps

##Cordova

  • Cordova is a mobile app development framework that doesn't rely on platform specific APIs
  • Slower than native applications

##Setup download xcode from the app store