GridVids
Sign in with YouTube

What Is Ajax?

Mark watched
Don't Miss
Hide
Open in popup Open on YouTube

WebConcepts 10 years ago

In this video we take a look at how Twitter uses AJAX to refresh their timeline and spend some time talking about the javascript XMLHttpRequest object. Then we add an AJAX refresh to an application which pulls images from instagram. Finally when we hit a snag due to the browser same-origin policy we explore JSONP as an alternative to XHR.

The code used in this video is available here: https://github.com/jelled/geogram/tree/2-Add-AJAX-refresh

Outro music: "Rollin at 5 - electronic" Kevin MacLeod (incompetech.com) Licensed under Creative Commons: By Attribution 3.0 http://creativecommons.org/licenses/by/3.0/