AJAX as a technology has been around for years. It can arguably be seen as a game-changer, where the use of JavaScript killed the need to continually refresh page content within a browser. jQuery has helped to enhance this group of technologies. In this chapter we revisited some of the basics, before exploring how best to take our development skills further. Let's recap what we've learnt:
We kicked off with a brief look back at what AJAX is, and reminded ourselves of the basics of constructing an AJAX request within jQuery.
Next, we took a look at some of the tips and tricks we can use to improve the speed of loading from static sites; we picked up one additional trick in the form of using localStorage to cache content. We then moved onto discussing how implementing callbacks can make code messy and slow, before moving onto seeing how Deferreds and Promises can improve our code, and ultimately the performance of our sites.
We finished off with a look at a demo, where we borrowed one...