Skip to content

Instantly share code, notes, and snippets.

View jnewman12's full-sized avatar
🎯
Focusing

James Newman jnewman12

🎯
Focusing
  • Santa Monica, CA
View GitHub Profile
@jnewman12
jnewman12 / NGRouting.md
Last active February 16, 2017 04:19
Routing Lecture

Front-end Routing with UI-Router

angular routing


Objectives

  • Understand the value of client side routing
  • Build a SPA with multiple pages
  • Describe when to consider server-side routing and when to consider front-end routing
@jnewman12
jnewman12 / NgServices.md
Created February 14, 2017 17:18
Angular Services Lab

Postal Service

postal service


Goals and Objectives

  • Practice sharing data between controllers
  • Inject services and dependencies into your controllers
@jnewman12
jnewman12 / RoutingLecture.md
Created February 13, 2017 18:23
Angular Client Side Routing Lecture

Front-end Routing with UI-Router

angular routing


Objectives

  • Understand the value of client side routing
  • Build a SPA with multiple pages
  • Describe when to consider server-side routing and when to consider front-end routing
@jnewman12
jnewman12 / ServicesLab.md
Created February 13, 2017 00:57
Angular Services Lab

Angular Services Lab

Objectives

  • Build a simple Todos app in Angular
  • Refactor the app from controller as method to $scope method
  • Use other core services in the app

Directions

@jnewman12
jnewman12 / Services.md
Last active February 14, 2017 17:46
Angular Services Lesson

Angular Services

angular services


Objectives

  • Refactor an Angular app from controller as method to $scope method
  • Describe what services are in Angular
@jnewman12
jnewman12 / AdvancedMongoose.md
Last active August 22, 2023 20:45
Advanced Mongoose

Advanced Mongoose

advanced mongoose


Objectives

  • Define virtual properties for a model
  • Modify how a model is serialized to JSON
@jnewman12
jnewman12 / Promises.md
Last active February 1, 2017 18:08
Promises Lesson

Promises in Javascript

promises


Objectives

  • Understand what promises are
  • Define A Promise
@jnewman12
jnewman12 / Ajax.md
Last active January 31, 2017 17:46
Ajax Lesson

AJAX with JS & JQuery

Objectives

  • Implement a jQuery AJAX client for a simple REST service
  • Reiterate the benefits of separation of concerns – API vs. Client

Preparation

  • Understand basics of JS
@jnewman12
jnewman12 / Templating.md
Last active January 13, 2023 13:36
Client Side Rending With UnderScore Templating

Client Side Rendering With Underscore.js Templating

underscore


What is Underscore?

  • Underscore.js is a highly useful complement to JavaScript’s rather sparse standard library. In a pinch, Underscore gives you simple templating, too.
  • Underscore gives you a large list of helper functions, similar to what ruby might have waiting for you out of the box
@jnewman12
jnewman12 / GithubTeam.md
Last active January 30, 2017 20:00
Github Team Workflow

Github Team Workflow

github-team


Objectives

  • Understanding Brancing, Forking, Pull Requests, and Merging
  • Understanding the differences between working alone and in a team