CHAPTER

7

Ajax Challenges and Best Practices

Chapter Objectives

• Investigate technical challenges of Ajax applications

• Introduce best practices of Ajax development

• Present open-source tools for quality assurance

• Discuss security problems of Ajax applications

7.1 Overview

 

Although Ajax has quickly gained the favor of users, it nevertheless increases the complexity of web application development. Ajax developers face several new challenges, e.g., testing callback functions, debugging asynchronous calls, examining the frequently changing DOM structures, and avoiding racing conditions between concurrent asynchronous calls. Security is another serious concern because of Ajax worms. This chapter exposes you to the tricky issues and challenges ...

Get Web Development with JavaScript and Ajax Illuminated 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.