70 likes | 192 Views
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.
E N D
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 • Data Bindings • Option Binding • Checked Binding • Visible Binding • For Each Binding • Subscriptions • Subscribing 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
Code Teaser • Navigate to http://jsfiddle.net/tLBWY/15/
Now to the real codes • Pull down my git repo with an example of this here