Book Excerpt: Advanced AJAX: Architecture and Best Practices

he book Advanced Ajax: Architecture and Best Practices is the definitive guide to building business-critical, production-quality web applications with AJAX. It systematically addresses the design, architecture, and development issues associated with AJAX, offering proven patterns and robust code examples. You’ll find best practices for addressing the full spectrum of issues that enterprise AJAX developers face: scalability, performance, security, reliability, flexibility, maintainability, and reusability.

Writing for experienced web developers, the author delivers fresh ideas and elegant solutions through meaty technical content that is presented with exceptional clarity. Many topics are covered in unprecedented depth including cleanly implementing JavaScript custom events to reduce coupling and to enhance flexibility, overcoming AJAX’s traditional accessibility limitations, reducing network latency through compression and other techniques, and much more. Coverage also includes planning AJAX interfaces for simplicity, clarity, and intuitiveness; creating scalable, maintainable architectures for client-side JavaScript; using tools to profile, validate, and debug client-side code; architecting the server side for security and functionality, while restricting loaded data, objects, and actions to current requests; protecting against widespread and significant AJAX security risks; optimizing every component of an AJAX application, from server-side scripts to database interactions; and introducing cutting-edge AJAX in game development, AJAX with canvas, and AJAX for enterprise applications.

The “Scalable, Maintainable AJAX” sample chapter takes a look at the impact that an implemented architecture has on scalability and what the development team needs to consider to drive scalability, which will keep the application solid. The chapter also discusses how similar techniques can be employed to achieve maintainability, enabling both scalability and maintainability considerations to begin during the design phase. General coding practices are provided to prevent smaller pieces of the application from becoming sluggish when under more demanding circumstances. Primary topics in this area include processor and memory usage; working with multiple interfaces through modularity and late loading; and achieving scalability and maintainability when working with denser rich interfaces.

Download this sample chapter in PDF format (898 KB).

Reproduced from Advanced AJAX: Architecture and Best Practices by permission of Prentice Hall PTR. ISBN-13: 9780131350649/ISBN-10: 0131350641, copyright 2008 Pearson Education Inc. All rights reserved.

Share the Post:
Share on facebook
Share on twitter
Share on linkedin


The Latest

your company's audio

4 Areas of Your Company Where Your Audio Really Matters

Your company probably relies on audio more than you realize. Whether you’re creating a spoken text message to a colleague or giving a speech, you want your audio to shine. Otherwise, you could cause avoidable friction points and potentially hurt your brand reputation. For example, let’s say you create a

chrome os developer mode

How to Turn on Chrome OS Developer Mode

Google’s Chrome OS is a popular operating system that is widely used on Chromebooks and other devices. While it is designed to be simple and user-friendly, there are times when users may want to access additional features and functionality. One way to do this is by turning on Chrome OS

homes in the real estate industry

Exploring the Latest Tech Trends Impacting the Real Estate Industry

The real estate industry is changing thanks to the newest technological advancements. These new developments — from blockchain and AI to virtual reality and 3D printing — are poised to change how we buy and sell homes. Real estate brokers, buyers, sellers, wholesale real estate professionals, fix and flippers, and beyond may