|
JavaScript @ Web Programming
Programming Shed : Programmer Store & Resources |
|
|
|
JavaScript Index - JavaScript Book : Designing with JavaScript
by Nick Heinle, Bill Pena Paperback: 400 pages Publisher: O'Reilly & Associates ISBN: 156592360X; 2nd edition (December 15, 2001) Designing with JavaScript opens up a whole new world to Web-design artists, especially those making the leap from a print-design background. Many people liken Web design to print design, but there is nothing interactive about a printed page. Web pages, however, can be completely dynamic, different from moment to moment and responsive to the reader. The best way to take advantage of this is through JavaScript. Eleven chapters and four appendices cover the basics to the complex, from extracting and validating information using forms to creating rotating images to using DHTML for animation. The first half covers basic yet important issues like an introduction to the syntax of the language, browser detection, setting up forms, and controlling frames and windows. Filled with examples, screen shots, and links to more examples and info, these chapters build a solid foundation for the second half of the book. Dynamic images, rollovers, using cookies, and creating interactive features using DHTML are some of the features covered later in the book, with numerous practical examples. These chapters are invaluable for the learning designer, as nearly every feature is practically required on a contemporary Web site. The appendices include a handy JavaScript guide to the language, including syntax, handlers, an object guide, and style properties. Not everything can be handled (yet) through the available WYSIWYG editors, making this book an invaluable reference and one to keep at your fingertips. --Mike Caputo Book Description: The second edition of the popular Designing with JavaScript is subtitled A Definitive Introduction--and for good reason. In this complete rewrite of his best-selling book, Nick Heinle offers a true introduction to JavaScript for the designer. By teaching JavaScript in the context of its most powerful capability-- document manipulation through the DOM--Designing with JavaScript, 2nd Edition, not only teaches the language, not only teaches object, library, and DOM concepts, but also provides web developers with useful strategies and techniques from the first page to the last. Heinle has written sophisticated JavaScript libraries for improved and easier use of form validation, browser detection, cookies, and more. The libraries provided in the book--and online--include: StateLib for efficiently maintaining the state of objects and variables through a cookie PRSSLib for progressing style sheets over time to create visually exciting, dynamic, functional, data-integrated documents ValidDataLib for advanced but easy forms validation and forms control. For web authors new to programming, this book makes programming in JavaScript easy and efficient with libraries and masks, teaches language concepts while applying them, and carefully reveals advanced concepts of DOM and JavaScript usage. Customer Reviews Great for Beginners, March 19, 2002 Reviewer: Ponchai Reainthong from Fort Worth, Texas I am more of a designer than a programmer. This book caught my attention by it's title "Designing with Javascript". I wanted to design more engaging web pages. However HTML just wasn't enough. So I decided to learn Javascript. This is my first time diving into Javascript. In the PREFACE it even says that "the examples are designed to be applied immediately in web pages, so explanations focus on the key features and discuss how the scripts can be modified to suit individual needs". It's true. From the beginning of this book you are diving right into the material, and can even apply some of the codes to your existing web pages. The material presented is VERY EASY to follow. It talks about the language from the very basic foundation. It gradually introduces you from the basic foundation to the more advanced functions. This book is also from the O'Reilly Web Studio. From whom I also own other books for Web and Multimedia design and programming. Practical Real-World Scripting, November 30, 2001 Reviewer: Andrew B. King from Ann Arbor, MI United States Most JavaScript books force you to slog through reams of reference material before you get to the good stuff. This book is not one of them. Nick Heinle, former WebReference expert and WebCoder wunderkind, and Bill Pena have updated Heinle's first edition into O'Reilly's patented Web Studio style intro to JavaScript. Aimed at beginning to intermediate scripters, DWJ2 skips the dry stuff and dives right into practical real-world examples of useful scripts you can easily add to your own pages. Everything from simple descriptive links and remotes, to frames, form validation and arrays, through sniffing, rollovers, personalization through cookies, and more advanced topics are covered. A brief DHTML chapter follows, with some simplified examples of drop-down menus (non-hierarchical), sliding tabs, and scrolling layers with clipping, useful for news feeds. The advanced chapter covers object-oriented scripting and shows how to create a quiz to test your readers. Relational select menus (2-level) illustrate using two-dimensional arrays nicely. I especially enjoyed the section on cross-browser style objects, where the authors demonstrate the use of Netscape's xbStyle object. xbStyle is a simple abstraction layer that removes the complexity of accessing style properties. Using xbStyle you can grab, hide, and move layers without worrying about implementation details of specific browsers. The coolest thing about xbStyle is the layer grabbing technique. xbStyle implements a W3C-like document.getElementById() method for 4.0 browsers! For these older browsers, xbStyle redefines this method, to make its use seamless for scripters manipulating layers (DIVs). This example demonstrates the leveraging power of a well-executed API. This book is a good intro by example to JavaScript. |
|
|
© 2005-2006, Programming Shed
|