YUI 2.8: Learning the Library
Formats:
save 15%!
save 37%!
Free Shipping!
| Also available on: |
|
- Improve your coding and productivity with the YUI Library
- Gain a thorough understanding of the YUI tools
- Learn from detailed examples for common tasks
Book Details
Language : EnglishPaperback : 404 pages [ 235mm x 191mm ]
Release Date : July 2010
ISBN : 1849510709
ISBN 13 : 9781849510707
Author(s) : Daniel Barreiro, Dan Wellman
Topics and Technologies : All Books, Java, Open Source, Web Development
Table of Contents
Preface
Chapter 1: Getting Started with YUI
Chapter 2: Creating Consistency with the CSS Tools
Chapter 3: DOM Manipulation and Event Handling
Chapter 4: Calling Back Home
Chapter 5: Animation, the Browser History Manager, and Cookies
Chapter 6: Content Containers and Tabs
Chapter 7: Menus
Chapter 8: Buttons and Trees
Chapter 9: DataSource and AutoComplete
Chapter 10: DataTable
Chapter 11: Rich Text Editor
Chapter 12: Drag-and-Drop with the YUI
Chapter 13: Everyday Tools
Index
Daniel Barreiro
Dan Wellman
Code Downloads
Download the code and support files for this book.
Submit Errata
Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.
Errata
- 9 submitted: last submission 12 Mar 2013Errata type: Typo | Page number: 363 | Errata date: 27 Aug 10
A period is missing after this sentence "The padding is necessary to prevent the text from overlapping the image".
Errata type: Typo | Page number: 42 | Errata date: 28 Aug 10
The function showcall() should be showcal().
Errata type: Others | Page number: 38 | Errata date: 20 Jan 11
In the very last paragraph, before the line of code, it says: .... we can add the following code beneath the .hide() method: It should have been: .... we can add the following code beneath the definition of the showCal() function
Errata type: Typo | Page number: 79 | Errata date: 24 Jan 11
There are two semicolons (;) after the third line of JS code: var Dom = YAHOO.util.Dom, Event = YAHOO.util.Event;; There should be only one semicolon (;).
Errata type: Typo | Page number: 76 | Errata date: 25 Nov 11
"This all we need..." should be "This is all we need..."
Errata type: Typo | Page number: 90 | Errata date: 25 Nov 11
1st sentence of 1st paragraph, "...are not enough to for us, ..." should be "...are not enough for us,
Errata type: Typo | Page number: 116 | Errata date: 25 Nov 11
"... which makes no sense in makes no sense..." should be "which makes no sense"
Errata type: Typo | Page number: 122 | Errata date: 25 Nov 11
"..., the application still work;" should be "the application will still work;"
Errata type: Typo | Page number: 136 | Errata date: 25 Nov 11
"thee" should be "the
Errata type: Typo | Page number: 116 | Errata date: 30th December
"The Connection Manager does not handle synchronous communication, where everything is frozen until the reply comes, which makes no sense in makes no sense in a modern environment." should be "The Connection Manager does not handle synchronous communication, where everything is frozen until the reply comes, which makes no sense in a modern environment."
Errata type: Technical | Page number: 5,62,63 | Errata date: 30 Dec 11
class="yui-main" should be id="yui-main"
Errata type: Others | Page number: 77 | Errata date: 25 Nov 11
".document.getElementBy()" should be "document.getElementBy()" in 3rd paragraph, 4th line. ".checkInput()" should be "checkInput()" in 4th paragraph, 4th line.
Errata type: Others | Page number: 87 | Errata date: 25 Nov 11
6th line of 1st paragraph: `"auto".Region` should be `"auto". Region` In other words, add a space character between the two separate sentences.
Errata type: Others | Page number: 90 | Errata date: 25 Nov 11
1st sentence of 1st paragraph, "...are not enough to for us, ..." should be "...are not enough for us, ..."
Errata type: Others | Page number: 96 | Errata date: 25 Nov 11
7th line of 1st paragraph, "...are not removed automatically along the elements..." -- replace "along" with "from" or perhaps "along with".
Errata type: Others | Page number: 121 | Errata date: 25 Nov 11
1st line uses "squared.php" while in the code that follows uses "squarer.php".
Errata type: Others | Page number: 129 | Errata date: 25 Nov 11
1st paragraph from bottom on pages references the tag in the previous code yet this particular tag is missing from it (Although the tag is present).
Errata type: Others | Page number: 131 | Errata date: 25 Nov 11
2nd line of 1st paragraph: "three" should be "four".
Errata type: Others | Page number: 150 | Errata date: 25 Nov 11
"container" should be "contain" in last line of 1st paragraph.
Errata type: Others | Page number: 155 | Errata date: 25 Nov 11
Last paragraph: "...of the process or drawing such a curve." "or" should be "of" or "for".
Errata type: Others | Page number: 171 | Errata date: 26 Nov 11
1st bullet under Overlay: "constrainviewport" should be "constraintoviewport".
Errata type: Others | Page number: 163 | Errata date: 26 Nov 11
Last bullet: "pages" appears in the wrong font.
Errata type: Others | Page number: 164 | Errata date: 26 Nov 11
2nd paragraph from bottom, 1st sentence: "accepts" should be "accept".
Errata type: Others | Page number: 172 | Errata date: 26 Nov 11
4th bullet: "contextElement" should be "contextElementOrId" 5th bullet: "containerCorner" should be "overlayCorner" 7th bullet: "triggerEvents" should be "arrayOfTriggerEvents"
Errata type: Others | Page number: 174 | Errata date: 26 Nov 11
"DOM's .generateId() method" should be "Dom's .generateId() method"(See correct usage on pages 169 &171).
Errata type: Others | Page number: 177 | Errata date: 26 Nov 11
1st bullet: in addition to the six constants from YAHOO.widget.SimpleDialog, the string "none" is allowed (and is in fact the default value).
Errata type: Typo | Page number: 48| Errata date: 30 Oct 12
The line: "we want,just as we did to get the today's date." should read : "we want, just as we did to get today's date."
Sample chapters
You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.
- Explore the YUI Library's utilities, controls, core files, and CSS tools
- Install the library and get up and running with it
- Handle DOM manipulation and scripting
- Get inside Event Handling with YUI
- Create consistent web pages using YUI CSS tools
- Use rich user interface controls
- Communicate with external sources of data
- Debug, maintain, and update applications
Examples included in the book:
- Calendar interface
- Autocomplete
- Creating panels
- Dialogs
- Custom tooltips
- Forms
- Split button
- TreeView Control
- Browser History Manager with Calendar
- Simple and custom animations
- Creating tabs and adding content dynamically
- Dragging and dropping
- Implementing sliders
- DataTable Control
- Rich Text Editor
- Creating Menus
- Creating custom controls with Element
- Connecting with web services and other sources
The YUI Library is a set of utilities and controls written in JavaScript for building Rich Internet Applications, across all major browsers and independently of any server technology. There's a lot of functionality baked into YUI, but getting to and understanding that functionality is not for the faint of heart. This book gives you a clear picture of YUI through a step-by-step approach, packed with lots of examples.
YUI 2.8: Learning the Library covers all released (non-beta) components of the YUI 2.8 Library in detail with plenty of working examples, looking at the classes that make up each component and the properties and methods that can be used. It includes a series of practical examples to reinforce how each component should/can be used, showing its use to create complex, fully featured, cross-browser, Web 2.0 user interfaces. It has been updated from its first edition with the addition of several chapters covering several new controls and enriched with lots of experience of using them.
You will learn to create a number of powerful JavaScript controls that can be used straightaway in your own applications. Besides giving you a deep understanding of the YUI library, this book will expand your knowledge of object-oriented JavaScript programming, as well as strengthen your understanding of the DOM and CSS. The final chapter describes many of the tools available to assist you the developer in debugging, maintaining, and ensuring the best quality in your code.
In this new edition, all the examples have been updated to use the most recent coding practices and style and new ones added to cover newer components. Since the basic documentation for the library is available online, the focus is on providing insight and experience.
The authors take the reader from beginner to advanced-level YUI usage and understanding.
The beginner to advanced-level guide for understanding the YUI library
The book is a tutorial, leading the reader first through the basics of the YUI library before moving on to more complex examples involving the YUI controls and utilities. The book is heavily example driven, and based around an approach of tinkering and extending to improve.
This book is for web developers comfortable with JavaScript and CSS, who want to use the YUI library to easily put together rich, responsive web interfaces. No knowledge of the YUI library is presumed.

