JavaScript: The Definitive Guide |  | Author: David Flanagan Publisher: O'Reilly Media Category: Book
List Price: $49.99 Buy Used: $12.00 as of 9/3/2010 11:23 CDT details You Save: $37.99 (76%)
New (30) Used (30) from $12.00
Seller: bruce_watkins Rating: 295 reviews Sales Rank: 4413
Media: Paperback Edition: 5 Pages: 1032 Number Of Items: 1 Shipping Weight (lbs): 3 Dimensions (in): 9.1 x 7 x 2.3
ISBN: 0596101996 Dewey Decimal Number: 005.2762 EAN: 9780596101992 ASIN: 0596101996
Publication Date: August 17, 2006 Availability: Usually ships in 1-2 business days
| |
| Features:
| • | ISBN13: 9780596101992 | | • | Condition: USED - Good | | • | Notes: BUY WITH CONFIDENCE, Over one million books sold! 98% Positive feedback. Compare our books, prices and service to the competition. 100% Satisfaction Guaranteed |
|
| Also Available In:
|
| Similar Items:
| |
| Editorial Reviews:
Amazon.com Review Since the earliest days of Internet scripting, Web developers have considered JavaScript: The Definitive Guide an essential resource. David Flanagan's approach, which combines tutorials and examples with easy-to-use syntax guides and object references, suits the typical programmer's requirements nicely. The brand-new fourth edition of Flanagan's "Rhino Book" includes coverage of JavaScript 1.5, JScript 5.5, ECMAScript 3, and the Document Object Model (DOM) Level 2 standard from the World Wide Web Consortium (W3C). Interestingly, the author has shifted away from specifying--as he did in earlier editions--what browsers support each bit of the language. Rather than say Netscape 3.0 supports the Image object while Internet Explorer 3.0 does not, he specifies that JavaScript 1.1 and JScript 3.0 support Image. More usefully, he specifies the contents of independent standards like ECMAScript, which encourages scripters to write applications for these standards and browser vendors to support them. As Flanagan says, JavaScript and its related subjects are very complex in their pure forms. It's impossible to keep track of the differences among half a dozen vendors' generally similar implementations. Nonetheless, a lot of examples make reference to specific browsers' capabilities. Though he does not cover server-side APIs, Flanagan has chosen to separate coverage of core JavaScript (all the keywords, general syntax, and utility objects like Array) from coverage of client-side JavaScript (which includes objects, like History and Event, that have to do with Web browsers and users' interactions with them. This approach makes this book useful to people using JavaScript for applications other than Web pages. By the way, the other classic JavaScript text--Danny Goodman's JavaScript Bible--isn't as current as this book, but it's still a fantastic (and perhaps somewhat more novice-friendly) guide to the JavaScript language and its capabilities. --David Wall Topics covered: The JavaScript language (version 1.0 through version 1.5) and its relatives, JScript and ECMAScript, as well as the W3C DOM standards they're often used to manipulate. Tutorial sections show how to program in JavaScript, while reference sections summarize syntax and options while providing copious code examples.
Product Description
This Fifth Edition is completely revised and expanded to cover JavaScript as it is used in today's Web 2.0 applications. This book is both an example-driven programmer's guide and a keep-on-your-desk reference, with new chapters that explain everything you need to know to get the most out of JavaScript, including: - Scripted HTTP and Ajax
- XML processing
- Client-side graphics using the canvas tag
- Namespaces in JavaScript--essential when writing complex programs
- Classes, closures, persistence, Flash, and JavaScript embedded in Java applications
Part I explains the core JavaScript language in detail. If you are new to JavaScript, it will teach you the language. If you are already a JavaScript programmer, Part I will sharpen your skills and deepen your understanding of the language. Part II explains the scripting environment provided by web browsers, with a focus on DOM scripting with unobtrusive JavaScript. The broad and deep coverage of client-side JavaScript is illustrated with many sophisticated examples that demonstrate how to: - Generate a table of contents for an HTML document
- Display DHTML animations
- Automate form validation
- Draw dynamic pie charts
- Make HTML elements draggable
- Define keyboard shortcuts for web applications
- Create Ajax-enabled tool tips
- Use XPath and XSLT on XML documents loaded with Ajax
- And much more
Part III is a complete reference for core JavaScript. It documents every class, object, constructor, method, function, property, and constant defined by JavaScript 1.5 and ECMAScript Version 3. Part IV is a reference for client-side JavaScript, covering legacy web browser APIs, the standard Level 2 DOM API, and emerging standards such as the XMLHttpRequest object and the canvas tag. More than 300,000 JavaScript programmers around the world have made this their indispensable reference book for building JavaScript applications. "A must-have reference for expert JavaScript programmers...well-organized and detailed." -- Brendan Eich, creator of JavaScript
|
| Customer Reviews:
Showing reviews 1-5 of 295
Wow - THE best Javascript book available! August 23, 1998 Scott Cherkofsky 87 out of 96 found this review helpful
I purchased the Netscape One Developer's Guide thinking it would provide answers to my Javascript questions - it answered very few, unfortunately. The 'Guide' doesn't begin to approach the ease of use, thoroughness or amount of information contained in "Javascript: The Definitive Guide". Javascript is as completely covered as it can be (with the free-flowing nature of WWW specifications, its hard to keep track of all the changes). I found the descriptions and examples informative, clear and concise and kinda fun sometimes. The layed back nature of the writing won't scare off novice coders/web developers and yet doesn't turn off more advanced developers. The book is cut in half - the first provides an introduction into Javascript and discusses its more important subjects while the second is a complete reference section for Javascript 1.2. It specifically treats the differences between Netscape and Internet Explorer whereas the Netscape One guide left that up to the reader to figure out - an oversight which relegates the Netscape One Developer's Handbook to the dusty bookshelf (way in the back). If you're doing web development and need to use Javascript - this is probably the only book you'll need. If you're doing web development and you're not using Javascript - you NEED this book - it will show you what you can do with simple client-side scripts.
The Title Says it all January 23, 2000 Cody Permann (Idaho Falls, Idaho) 34 out of 36 found this review helpful
This book was perfect as a "learning" book and a refernce manual. I read the book, learning by examples and excellent descriptions. Now I use the book almost everyday as a reference when I develope web applications. Roughly half of the book is a complete reference manual focusing on the syntax, methods, and properties of ALL of the Javascript components. The reference is organized by Object making it easy to find what you want. There are also plenty of cross references for easy indexing. O'Reilly has done it again.
The K&R of Javascript December 24, 1999 J. Esteban (Lakewood, CO USA) 38 out of 41 found this review helpful
The book has a very good introduction to the core of client side javascript. It is a great reference for coming back to those things that you get kind of rusty on like "regular expressions" and "creating your own objects". The rest of the book is an incredibly comprehensive reference which goes into considerable detail. It's the kind of detail that a compiler manual goes into. I would prefer a version with indexes like a study bible. If you read most of this book you wont have to go around copying other peoples code snippets because you'll be to busy making up your own scripting libraries. I wish that this author would add about 300 pages on Server Side JScripting and Active Server Pages. I'm sure he could take the magic out of it in a way that most programmers could pickup in a matter of hours.
The 5th Edition was well worth the wait August 18, 2006 calvinnme 30 out of 32 found this review helpful
First off, this is a review of the 5th edition, released August 1, 2006. All other reviews prior to that date are talking about previous editions of this book, which are considerably different than the current one.
The reason the various editions of this book have been so good over the last ten years is probably because they have all been written by the same author, David Flanagan, who seems to really know his audience. Part one of the book is pretty much the same as in the previous edition. It acts as a complete tutorial on the language, taking you all the way from basic language constructs into object-oriented programming and finally basic scripting.
Where things get really interesting and cutting edge is in part two of the book, "Client-Side Javascript". Most of the examples we've seen so far, while legal JavaScript code, had no particular context - they were JavaScript fragments that ran in no specified environment. Chapters 13 and 14, "Javascript in Web Browsers", and "Scripting Browser Windows" provide that context. This begins with a conceptual introduction to the web browser programming environment and basic client-side JavaScript concepts. Next, it discusses how to embed JavaScript code within HTML documents so it can run in a web browser. Finally, the chapter goes into detail about how JavaScript programs are executed in a web browser.
Next, the book turns its attention to the Document Object Model (DOM). Client-side JavaScript exists to turn static HTML documents into interactive programs. It is the Document object that gives JavaScript interactive access to the content of otherwise static documents. In addition to the properties that provide information about a document as a whole, the Document object has a number of very important properties that provide information about document content. Chapter 15 explains all of these issues.
Cascading Style Sheets (CSS) is a technology intended for use by graphic designers or anyone concerned with the precise visual display of HTML documents. It is of interest to client-side JavaScript programmers because the document object model allows the styles that are applied to the individual elements of a document to be scripted. Used together, CSS and JavaScript enable a variety of visual effects loosely referred to as Dynamic HTML (DHTML). This is the subject of chapter 16, "Cascading Style Sheets and Dynamic HTML".
Interactive JavaScript programs use an event-driven programming model. In this style of programming, the web browser generates an event whenever something interesting happens to the document or to some element of it. For example, the web browser generates an event when it finishes loading a document, when the user moves the mouse over a hyperlink, or when the user clicks on the Submit button of a form. If a JavaScript application cares about a particular type of event for a particular document element, it can register an event handler - a JavaScript function or snippet of code - for that type of event on the element of interest. Then, when that particular event occurs, the browser invokes the handler code. All applications with graphical user interfaces are designed this way: they sit around waiting for the user to do something interesting (i.e., they wait for events to occur) and then they respond. Chapter 17, "Events and Event Handling", discusses these issues.
The use of HTML forms is basic to almost all JavaScript programs. Chapter 18, "Forms and Form Elements", explains the details of programming with forms in JavaScript. It is assumed that you are already somewhat familiar with the creation of HTML forms and with the input elements that they contain. If not, you may want to refer to a good book on HTML.
The Document object contains a property named "cookie" that, on the surface, appears to be a simple string value. A cookie is a small amount of named data stored by the web browser and associated with a particular web page or web site. Cookies serve to give the web browser a memory, so that scripts and server-side programs can use data that was input on one page in another page, or so the browser can recall user preferences or other state variables when the user leaves a page and then returns. Thus, the cookie property controls a very important feature of the web browser and is important enough to warrant a complete chapter of its own, "Cookies and Client-Side Persistence".
Internet Explorer on Windows, Safari on Mac OS-X, Mozilla on all platforms, Konqueror in KDE, IceBrowser on Java, and Opera on all platforms provide a method for client side Javascript to make HTTP requests. From humble beginnings as an oddly named object with few admirers, it's blossomed to be the core technology in something called AJAX. The object in question is called the XMLHTTPRequest object, and it is not limited to being used with XML. It can request or send any type of document, although dealing with binary streams can be problematical in Javascript. This chapter, "Scripting HTTP", covers these issues. Since AJAX actually stands for "Asynchronous Javascript and XML", the next chapter discusses Javascript and XML working together.
The final two chapters of part two of the book are very cool and interesting to me, but might not be of interest to the standard professional Javascript programmer, since it deals with client-side graphics and movies using Javascript. This includes working with VML, SVG, graphics and Java, and finally using Javascript with Flash 8. Parts three and four form a reference section for Javascript, including the various methods and their usages.
The source code is well commented and explained, as in all previous editions, and is available for download from the book's website. This book is a great instructive textbook and reference on Javascript. I highly recommend it.
Another great one from Flanagan September 10, 2004 wiredweird (Earth, or somewhere nearby) 19 out of 19 found this review helpful
If you're already an experienced programmer, it can be frustrating trying to find a good book on JavaScript (aka JScript, aka ECMAScript, aka ECMA-262). A lot of books out there are aimed at HTML developers, maybe even graphic designers. Many such users have little or no real programming experience, and maybe no real interest. Books for that audience are user-friendly, filled with useful examples, and low on scary-sounding technical terms. In other words, almost useless.
Flanagan has good credentials as a technical writer, and as a highly technical writer. He really knows what software engineers look for - trust me, it's not what a graphic designer looks for.
This starts with a clear, methodical description of the language. Flanagan goes through all the language basics, pointing out where JavaScript differs form languages like Java, C#, or C++. The differences are numerous. For example, JavaScript has typed data, but not typed variables. It's object oriented, but doesn't have classes. It's an interpreted language, not compiled, and that opens up generative programming possibilities that reflection APIs can't approach.
After the language itself, Flanagan presents it in the client-side HTML context, where it appears most often. That's about 20% of the book. It goes over all the common HTML features, and shows how JavaScript can add dynamics or configurability to most HTML features. The last part of this section discusses XML and the DOM model. It does not yet discuss the E4X standard, ECMAScript for XML, the new ECMA-357 standard. As of this writing, the standard has only been out for three months, though. I'm sure Flanagan will catch up to it soon.
The book's remaining three sections cover the language's basic APIs, the APIs needed in the client-side HTML context, and the DOM model. The first two are fundamental to any non-trivial use of the language, the last is the programming model that gives access to XML or XHTML in a rational, predictable way.
JavaScript has a number of very different user communities, with different needs when it comes to language documentation. This isn't a cut&paster's book, and is nothing at all like a training guide. It's a reference manual. If you're a serious techie, then this is the book for you.
//wiredweird
Showing reviews 1-5 of 295
|
|
|