Chapter 8. ASP.NET AJAX client components
In this chapter:
- The client component model
- Nonvisual components
- Client behaviors
- Client controls
A widely used technique for developing applications uses components as building blocks. Components encapsulate the application’s functionality and can be reused across different projects. A component is a special object that implements a well-defined set of interfaces. These interfaces define the base functionality that every component provides and specify how components interact with one another. Components that implement the same interfaces can be interchanged and can change their internal implementation without affecting other components that deal with their interfaces.
We gave a quick overview of client components in chapter 2, where we discussed the application model. In this chapter, we’ll talk about the client component model provided by the Microsoft Ajax Library. This model lets you create components on the client side using JavaScript. We’ll also explain the techniques used to create and access client components at runtime. To understand the material presented in this chapter, you need to know how to program in JavaScript using the object-oriented techniques presented in chapter 3.