Official Netscape JavaScript Book 1.2

Official Netscape JavaScript Book 1.2

by Peter Kent, John Kent
     
 

View All Available Formats & Editions

Perk up your Web pages with multimedia and interactivity, even if you've never written a line of code. Learn all the programming skills you need with this easy, step-by-step guide. Get to know JavaScript - JavaScript vs. Java; how scripts work in an HTML environment; what you need to know to get started. Jump-start your Web site with ready-to-use scripts - Use the… See more details below

Overview

Perk up your Web pages with multimedia and interactivity, even if you've never written a line of code. Learn all the programming skills you need with this easy, step-by-step guide. Get to know JavaScript - JavaScript vs. Java; how scripts work in an HTML environment; what you need to know to get started. Jump-start your Web site with ready-to-use scripts - Use the scripts from the online archive as-is, or alter them to fit your needs; learn how to easily incorporate JavaScripts into your pages. Write basic scripts from scratch - Follow step-by-step tutorials for creating scripts; make new scripts by combining snippets from the online archive; build a library of reusable scripts as you work. Add versatility and functionality using JavaScript - Create searchable minidatabases; add "slide shows" to your site; open and write secondary windows; validate forms entries; enable users to select from lists; and more!

Editorial Reviews

Peter Gottlieb

Official Netscape Javascript 1.2

Official Netscape Javascript 1.2 Book: The Nonprogrammer's Guide to Creating Interactive Web Pages, Second Edition, by Peter Kent and John Kent and under the Netscape Press umbrella, offers fairly complete coverage of the JavaScript language. If you are already familiar with Java, you'll only have to bone up on the basic user interface functions (alert,prompt, confirm), the basic JavaScript objects, (window and document) and their methods, and a few new string-handling functions (dealing with generating HTML and specifying fonts). If you are starting from a background in C, however, you'll need to become familiar with the different syntax for I/O and string manipulation, the limited object hierarchy, and a different event handling (which will be found to be easier than C++ and much easier than the Windows SDK).

Unfortunately, while all the topics are laid out in logical order, there aren't enough examples for nonprogrammers to really learn programming from Netscape JavaScript 1.2, and the explanations are too wordy for the book to serve as a convenient review or reference for the experienced programmer. This deficiency is not remedied by the incluson of two full-size applications -- an area code directory and a telephone directory. Such applications should be run on the server in a language capable of processing large data files. Netscape JavaScript 1.2 faithfully chronicles the efforts and pitfalls connected with shoehorning these applications into the limited capability of JavaScript (which like its heavyweight cousin, Java, can't easily process files because of security restrictions), but the result is neither inspiring nor educational.

Experienced programmers will be interested in the advanced features, and those which are new to JavaScript 1.2: LiveConnect (for interfacing with Java Applets and plug-ins), matching regular expressions, signed scripts (described in the book only in general terms, with a URL given to lead you to more information on the subject), and topics which are mostly Netscape enhancements to HTML (e.g., LAYER, which enables switching displays without changing pages, STYLE, the ability to group: font, alignment, blink, color).

You can expect annoyances in any book which tries to be all things to all readers. In this book, that includes teasers with several features appearing in code examples before they are actually explained and tables that don't have captions or numbers. Also, the absence of an object-methods hierarchy chart leaves you wondering why, for example, the open method of the window object has an entirely different syntax from that of the document object. And unlike the more programmer-focused books on JavaScript, there is no attempt to describe the possible interfaces with the Microsoft competition, VBScript and ActiveX.

Official Netscape JavaScript 1.2 will be most useful to someone who urgently needs familiarity with the latest features introduced in JavaScript 1.2, who already has some familiarity with both HTML and Java (or C), but does not need complete proficiency.--Dr. Dobb's Electronic Review of Computer Books

Read More

Product Details

ISBN-13:
9781566046756
Publisher:
Top Floor Publishing
Publication date:
03/27/1997
Edition description:
2ND
Pages:
550
Product dimensions:
7.42(w) x 9.27(h) x 1.74(d)

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >