Chapter 2 : JavaScript for Rich Internet Applications
In this chapter, the focus is on JavaScript, which we use in our pages to simplify tasks for our end users, provide reactions to their actions, and attempt to make their time on the Web
a gentler and user-friendlier experience. You’re going to build on your existing knowledge of this language throughout this chapter to discover how to structure your code in a scalable, flexible, and maintainable way; use object-oriented programming principles; and overcome cross-browser implementation differences. You’ll then discover techniques to help you build RIAs and, finally, learn how to write automated tests for your code to make it more robust.