Web Scripting Architecture Overview

This section provides an overview of a typical Web scripting processing flow architecture showing server-side and client-side scripting steps.

As we can see from previous chapters, JavaScript code can be used in three areas to help building Web sites or Web based applications:

The diagram below shows you how server-side scripting and client-side scripting can be used together performing different functions in a typical Web application process flow architecture:

Web Scripting Flow Architecture
Web Scripting Flow Architecture

Red lines used in this diagram indicate where JavaScript could be used. Different sections of this Web scripting flow architecture diagram will be explained later.

Table of Contents

 About This Book

 Introduction to JavaScript

 ECMAScript Language Specification and JavaScript Dialects

 Data Types, Variables and Expressions

 Flow Control Statements

 Creating, Accessing, and Manipulating Arrays

 Defining and Calling Functions

 Web Browser Supporting JavaScript

Server-Side and Client-Side Web Scripting

Web Scripting Architecture Overview

 Server-Side Scripting Overview

 Client-Side Scripts for Document Updating

 Client-Side Scripts for Event Handling

 Client-Side Scripting Processed Multiple Times

 New Script Resulted from Two Original Scripts

 Introduction to Objects

 Defining Your Own Object Types

 Inheritance of Properties and Methods through the Prototype Object Chain

 'jrunscript' - JavaScript Shell Command from JDK

 Using Functions as "Function" Objects

 Introduction to Built-in Object Types

 W3C's Document Object Model (DOM) Specifications

 AJAX (Asynchronous JavaScript And XML)

 References

 Full Version in PDF/EPUB