Difference between revisions of "About this Book"

From Techotopia
Jump to: navigation, search
Line 5: Line 5:
 
JavaScript met and, indeed, exceeded these requirements by providing an extremely flexible and easy to learn scripting language. The problem today is that, as with any useful technology, it has been used in ways never anticipated by its original authors. As a result the potential uses of JavaScript have grown far beyond the needs of the average person with aneed to add dynamic behavior to web pages. The result of this is that JavaScript book authors also feel the need to cover every possible capability of JavaScript to the extent that a typical JavaScript reference now runs to over 1,000 pages.
 
JavaScript met and, indeed, exceeded these requirements by providing an extremely flexible and easy to learn scripting language. The problem today is that, as with any useful technology, it has been used in ways never anticipated by its original authors. As a result the potential uses of JavaScript have grown far beyond the needs of the average person with aneed to add dynamic behavior to web pages. The result of this is that JavaScript book authors also feel the need to cover every possible capability of JavaScript to the extent that a typical JavaScript reference now runs to over 1,000 pages.
  
The purpose of this book, therefore, is to provide the essentials of JavaScript so that anyone with a web site can use this powerful scripting language quickly and effectively without having to learn things that aren't needed by the average web designer.
+
The purpose of this book, therefore, is to provide the essentials of JavaScript so that anyone with a web site can use this powerful scripting language quickly and effectively without having to learn things that, whilst within the capabilities of JavaScript, aren't actually needed by the average web designer.

Revision as of 20:10, 5 April 2007

Before JavaScript was created a typical web browsing experience consisted largely of displaying static pages of information. Any type of user interaction with a web page usually involved the browser sending information back to the web server where some type of server based script or other program would valid the user's data input. The server would then either send back a static error page if the user had entered invalid data or, assuming successful validation, return another static page to the web browser containing the results of the transaction. A lack of dynamic web page behavior dictacted that an entirely new web page be loaded in order to display new information.

It quickly became clear that a way of perfoming "client-side" or "web browser-side" processing was needed. The original intent for JavaScript, therefore, was to address this need by allowing such tasks as validating user input before it is transimitted to the web server, and creating dynamic web page content and layouts indendent of the web server depending on user actions (for example displaying different text depending on a user's actions within the page).

JavaScript met and, indeed, exceeded these requirements by providing an extremely flexible and easy to learn scripting language. The problem today is that, as with any useful technology, it has been used in ways never anticipated by its original authors. As a result the potential uses of JavaScript have grown far beyond the needs of the average person with aneed to add dynamic behavior to web pages. The result of this is that JavaScript book authors also feel the need to cover every possible capability of JavaScript to the extent that a typical JavaScript reference now runs to over 1,000 pages.

The purpose of this book, therefore, is to provide the essentials of JavaScript so that anyone with a web site can use this powerful scripting language quickly and effectively without having to learn things that, whilst within the capabilities of JavaScript, aren't actually needed by the average web designer.