Ajax Bible
In This Chapter
-
Working with filters
-
Creating an Ajax password filter
-
Creating an Ajax logging filter
-
Creating an Ajax time-of-day filter
-
Creating an Ajax-enabled Model-View-Controller application
This chapter covers some advanced Ajax techniques: using filters andmodel-view-controller (MVC) architecture.
You can use filters with Ajax to restrict access to resources on the server. Filters can get control of the user’s request before that request is passed on to the Web resource the user is trying to get to; so you can use filters for password checking, user logging, even restricting access to Web resources based on the time of day.
The MVC architecture is designed to be used as your Web applications become larger and larger. This architecture provides a way of dividing up your application into distinct parts, following the divide-and-conquer strategy. By separating your Web application into well-defined parts, you can make it easier to maintain and debug.