javascript using an api with knockout

7
By: Caleb Briggs JavaScript using an API with Knockout

Upload: lamar

Post on 22-Feb-2016

45 views

Category:

Documents


0 download

DESCRIPTION

JavaScript using an API with Knockout . By: Caleb Briggs. Problem. Finding a city or zip code in the US and knowing its name, zip code, latitude/longitude and county its in. Solution. Using a free API from gomashup.com with an html page and javascript to accomplish this. Knockout Basics. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: JavaScript using an API with Knockout

By: Caleb Briggs

JavaScript using an API with Knockout

Page 2: JavaScript using an API with Knockout

Finding a city or zip code in the US and knowing its name, zip code, latitude/longitude and county its in

Problem

Page 3: JavaScript using an API with Knockout

Using a free API from gomashup.com with an html page and javascript to accomplish this.

Solution

Page 4: JavaScript using an API with Knockout

Data BindingsOption BindingChecked BindingVisible BindingFor Each Binding

SubscriptionsSubscribing to a value can ensure that when a

value on the page changes we can update other values that depend on the value that you are subscribed to

Knockout Basics

Page 5: JavaScript using an API with Knockout

Navigate to http://jsfiddle.net/tLBWY/15/

Code Teaser

Page 6: JavaScript using an API with Knockout

Pull down my git repo with an example of this here

Now to the real codes

Page 7: JavaScript using an API with Knockout

Questions