+612 9045 4394
JavaScript Application Cookbook : O'Reilly Ser. - Jerry Bradenbaugh

JavaScript Application Cookbook

O'Reilly Ser.

Paperback Published: 21st October 1999
ISBN: 9781565925779
Number Of Pages: 480

Share This Book:


RRP $138.99
or 4 easy payments of $25.98 with Learn more
Ships in 7 to 10 business days

There is a serious information gap for Webmasters learning client-side JavaScript skills and trying to solve common Web-related problems. Knowing the syntax is one thing, being able to build a useful application is another. And while there are dozens of "how- to" JavaScript books available, few literally hand the Webmaster a set of ready-to-go, client-side JavaScript applications with thorough documentation that enable the reader to fully understand and extend those applications. By providing such a set of applications, JavaScript Application Cookbook allows Webmasters to immediately add extra functionality to their Web sites.

This book targets readers with two different skill sets. The primary target is JavaScript-knowledgeable Webmasters and designers who can immediately begin constructing their own versions of the applications. The secondary target is those with little or no JavaScript experience. The included applications are ready for immediate use and require little customization.

This book explores both the code and the techniques that are centered around core JavaScript functionality, a functionality that will not become incompatible or obsolete. The source file design of most applications and libraries will help modularize reader Web sites and facilitate easier site management and coding practices.

Chapters are organized by application. Among the included applications are:

  • A client-side search engine that will show coders how to build their own search engine and get excellent results, all with a client-side tool
  • A drag-and-drop greeting application that lets users custom build and send DHTML email greetings
  • A GUI image rollover tool that generates cross-browser image rollover code for all versions of JavaScript
  • A robust client-side shopping cart application that lets shoppers browse and shop, while the application keeps a tab of the shopper's selections and a running bill, including tax and shipping
  • An online test application that auto-administers, grades, and displays answers to online exams or surveys

An additional value to this book is an online resource (//www.serve.com/hotsyte/) that discusses the applications and points to other resources. With its focus on providing practical real-world solutions for Webmasters, JavaScript Application Cookbook is destined to become a staple for every JavaScript developer, regardless of experience.

Editor's Notep. ix
Prefacep. xi
Introductionp. 1
The Client-Side Search Enginep. 9
Execution Requirementsp. 12
The Syntax Breakdownp. 12
nav.htmlp. 12
Building Your Own JavaScript Databasep. 35
Potential Extensionsp. 36
The Online Testp. 39
Execution Requirementsp. 43
The Syntax Breakdownp. 43
index.html--The Framesetp. 43
questions.js--The JavaScript Source Filep. 45
administer.htmlp. 48
Potential Extensionsp. 63
The Interactive Slideshowp. 67
Execution Requirementsp. 69
The Syntax Breakdownp. 69
Application Variablesp. 73
The Application Functionsp. 77
Potential Extensionsp. 93
The Multiple Search Engine Interfacep. 95
Execution Requirementsp. 96
The Syntax Breakdownp. 97
Potential Extension: Adding User Controlp. 113
ImageMachinep. 117
Execution Requirementsp. 120
The Syntax Breakdownp. 121
Potential Extension: Adding Attributes to the Templatep. 142
Implementing JavaScript Source Filesp. 147
arrays.jsp. 149
cookies.jsp. 153
dhtml.jsp. 156
events.jsp. 158
frames.jsp. 163
images.jsp. 165
navbar.jsp. 166
numbers.jsp. 167
objects.jsp. 169
strings.jsp. 174
Potential Extensionsp. 180
Cookie-Based User Preferencesp. 182
Execution Requirementsp. 183
Syntax Breakdownp. 186
prefs.htmlp. 186
dive.htmlp. 205
Potential Extensionsp. 214
Shopping Bag: The JavaScript Shopping Cartp. 217
Shopping Bag Walk-Throughp. 217
Execution Requirementsp. 223
Syntax Breakdownp. 223
Loading Shopping Bagp. 226
Displaying Productsp. 239
Showing All the Categoriesp. 254
Adding Products to the Shopping Bagp. 255
Changing the Order/Checking Outp. 262
Potential Extensionsp. 275
Ciphers in JavaScriptp. 277
How Ciphers Workp. 280
Execution Requirementsp. 283
The Syntax Breakdownp. 283
Potential Extensionsp. 302
Cyber Greetings: Drag-and-Drop Emailp. 304
Execution Requirementsp. 307
Syntax Breakdownp. 308
The Server Sidep. 340
Potential Extensionsp. 341
Context-Sensitive Helpp. 342
Execution Requirementsp. 344
Syntax Breakdownp. 345
Potential Extensionsp. 354
Epiloguep. 357
JavaScript Referencep. 359
Web Resourcesp. 413
Using Perl Scriptsp. 424
Indexp. 443
Table of Contents provided by Syndetics. All Rights Reserved.

ISBN: 9781565925779
ISBN-10: 1565925777
Series: O'Reilly Ser.
Audience: Professional
Format: Paperback
Language: English
Number Of Pages: 480
Published: 21st October 1999
Publisher: John Wiley & Sons Publishers
Country of Publication: US
Dimensions (cm): 23.2 x 18.1  x 2.48
Weight (kg): 0.82