JavaScript: The Definitive Guide
Fifth Edition
Recently JavaScript has gone from being the ugly duckling of web scripting languages to being the force behind such Ajax powerhouses as Gmail and Backpack. The language has grown in importance and the size of scripts has ballooned.As David Flanagan, author of the "JavaScript: The Definitive Guide" notes, "After the fourth edition of my book was published in 2001, the world of client-side web development entered a four-year period of relative stability. JavaScript was stable and well supported at version 1.5. The W3C DOM was stable, and reasonably well supported by developers. I grew complacent...there never seemed to be the need to update the fourth edition.
"Then Google released their Gmail application and people noticed that it didn't behave like the web sites they were used to. And Jesse James Garrett published his seminal essay on this new style of web development, which he christened Ajax. All of a sudden, the world of JavaScript had changed."
So Flanagan set himself to overhauling the classic, bestselling guide to JavaScript (with more than 300,000 copies sold). He explains, "The new edition has been thoroughly updated so that it covers JavaScript the way it is used today, rather than the way it was used in 2001. These changes appear throughout the book. But the most important new material are the new chapters on scripted HTTP and XML manipulation: these are the cornerstones of Ajax applications, and these two new chapters explain them, with detailed examples.
"Almost as important are the rewritten chapter on JavaScript classes and the new chapter on JavaScript namespaces. For today's web applications, JavaScript developers are writing programs that are an order of magnitude longer than the scripts that most of us were writing five years ago. The new material on classes and namespaces explains how to structure JavaScript programs and offer techniques for successfully using JavaScript for 'programming in the large.'"
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.
Part I explains the core JavaScript language in detail. Those who are new to JavaScript can learn the language from this section. Experienced JavaScript programmers can read it to sharpen their skills and deepen their 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
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.
More than 300,000 JavaScript programmers around the world have made this their indispensable reference book for building JavaScript applications. This updated version will lead them and others into the new world of JavaScript programming.
Chapter 21, "JavaScript and XML," is available online in PDF Format
JavaScript: The Definitive Guide, Fifth Edition
David Flanagan
994 pages, $49.99 US, $64.99 CA
O'Reilly Media spreads the knowledge of innovators through its books, online services, magazines, and conferences. Since 1978, O'Reilly has been a chronicler and catalyst of leading-edge development, homing in on the technology trends that really matter and spurring their adoption by amplifying "faint signals" from the alpha geeks who are creating the future. An active participant in the technology community, the company has a long history of advocacy, meme-making, and evangelism.
.
Return to &Else News & Views. . .
.
Participate in your Design Center
Lots of fun and information for all... don't forget, any community is only as good as the participation of its members. We invite your tips, tricks, comments, suggestions and camaraderie.
- Ask for the DT&G Monthly: to receive DT&G newsletter each month, happenings in the Design Center and regular columns like the "Mail Bag" and "Cool Sites"
- SUBSCRIBE : to the Designers' CAFE email list
- Link to this site, and then show us the link. We'll send you any of our current door prizes, just for your trouble.
- SUBMIT: a news link, new font, or product review
- Visit our Windows Shareware / Freeware Department
- REVIEW a website: posted by our readers
- SUBMIT a Website: for review in Web Design & Review
- Submit a Critique: of a popular web site, or YOUR web site!
- WIN PRIZES: in our "Question of the Month" column
- Meet Friends of the Design Center people who care!
- Become a Friend of the Design Center: and put your link on the front page
- Submit News, Views or your latest press release
- Submit your Software Review: shareware, freeware, fonts, graphics, utilities -- if you've found software you like, let DT&G readers know about it!
Learning, training, tips, tricks, and moreThe Design Bookshelf team reads and reviews the best books for the creative visual designer, desktop publishing practitioner and visual communicator. If you want to know it -- we'll show you the very best way to learn it... in the Designer's Bookshelf
Get more out of your computer: join a user group - There are computer clubs around the world called "user groups" where you find fellow computer users ready and willing to share a wealth of information. If you're not a UG member, you should be.. find a group at the User Group Network
Photoshop FAQ - Got a question? Get an answer: in the Photoshop 911 FAQ if you don't find the answer there, you can ask your question or send your problem to the Photoshop 911 Team