16.4. Web Scripting

Web browsers perform tasks that operate in an environment different from traditional 3GL programs. On the Web, there is no such thing as a file or a file name. Instead, there are URLs and the documents that represent those URL resources. Frequently, such documents have complex structure and are XML-based. Such an environment requires a different scripting approach to that described under “Files and Folders” and under “Streams.”

Web browsers are also actors in the emerging Web protocols stack, which could be better identified as the XML protocol stack. This stack, a set of standards, uses HTTP (or another protocol) as the first step in a series of application-enabling and application-specific sets of protocols. The XML protocol ...

Get Rapid Application Development with Mozilla™ 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.