Client/Server - Programming the Client

In the previous chapter, we looked at how to go about building client/server applications using Active Server Pages. We discovered that, in order to achieve the kind of flexibility and efficiency we want, we have to look at how we can spread the processing load between the client and the server. To do this, we have to understand two main topics: how we can program the browser (the client), and how we can link the processing to that going on in ASP on the server.

These two topics are the subject of this chapter and the next. We won’t be providing detailed coverage of every possible client-side topic, since this isn’t a book on programming Internet Explorer or Netscape Navigator. However, we want to introduce the concepts and tools, so we can determine when a particular task might be better accomplished with some addition of client-side functionality. To make this decision we need to know what technologies are available on the client, and how they’re used.

This chapter shows how code can be added to an HTML page, and how the browser object model is used. The next chapter talks about using objects on the client, and shows some real-world examples of how combining these techniques with Active Server Pages can be helpful.

So, specifically, in this chapter, we’ll cover:

So let’s get right on and look at how script code fits in on client-side.

© 1997 by Wrox Press. All rights reserved.