4.22 SUMMARY

This chapter dealt with a very important facet of client-side web programming—JavaScript. It is the basis for most of the client side frameworks—GWT, JQuery, YUI, etc. which are popular. It is also used in conjunction with popular server-side view frameworks like JSF or ASP.NET. Much of JavaScript can be learnt from examples like the ones presented in this chapter.

An important concept in JavaScript called Closures are about a function that remembers what happens around it. It is applicable when one function defines another function within it, that is, a case of one function defined inside another function.

Ajax, which forms the basis for rich UI on the web, was also explained with an example, albeit purely on the client side. The ...

Get Web Technology: Theory and Practice now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.