1 / 7

JavaScript using an API with Knockout

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.

lamar
Download Presentation

JavaScript using an API with Knockout

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. JavaScript using an API with Knockout By: Caleb Briggs

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

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

  4. 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

  5. Code Teaser • Navigate to http://jsfiddle.net/tLBWY/15/

  6. Now to the real codes • Pull down my git repo with an example of this here

  7. Questions

More Related