reklama - zainteresowany?

YUI 3 Cookbook - Helion

YUI 3 Cookbook
ebook
Autor: Evan Goer
ISBN: 978-14-493-3970-8
stron: 430, Format: ebook
Data wydania: 2012-05-24
Księgarnia: Helion

Cena książki: 118,15 zł (poprzednio: 137,38 zł)
Oszczędzasz: 14% (-19,23 zł)

Dodaj do koszyka YUI 3 Cookbook

Tagi: Inne

Solve a wide range of problems in your web application quickly and efficiently with the Yahoo! User Interface Library (YUI). With this definitive, getting-started guide to version 3 of the popular open source JavaScript library, you’ll learn how to address many of the most common and challenging problems that web development presents.

YUI 3 Cookbook introduces specific implementation patterns in the library, demonstrating granular solutions for everything from simple page effects to sophisticated web apps. Experienced users will learn how to create modules that load on demand; generate beautiful documentation; and write powerful and flexible Widgets, Models, and Views.

  • Build YUI applications anywhere, from desktop browsers to touch-enabled mobile phones and backend Node.js environments
  • Learn how YUI scales with your code base, keeping it modular and organized
  • Apply animations, drag-and-drop, and other fully cross-browser UI effects with just a few lines of code
  • Understand YUI-powered DOM scripting, event management, and data transport
  • Debug, profile, and unit test your JavaScript application
  • Get a technical introduction to YUI, including module architecture, sandboxing, and component loading
  • Build custom modules with YUI and publish them to the YUI Gallery

"I was surprised to find out how much I didn't know until reading this book. There really isn't a better resource for learning or updating your YUI skills."

- Nicholas C. Zakas, Author and YUI Contributor

Dodaj do koszyka YUI 3 Cookbook

 

Osoby które kupowały "YUI 3 Cookbook", wybierały także:

  • Windows Media Center. Domowe centrum rozrywki
  • Przywództwo w Å›wiecie VUCA. Jak być skutecznym liderem w niepewnym Å›rodowisku
  • Mapa Agile & Scrum. Jak si
  • Sztuka podst
  • Lean dla bystrzaków. Wydanie II

Dodaj do koszyka YUI 3 Cookbook

Spis treści

YUI 3 Cookbook eBook -- spis treści

  • YUI 3 Cookbook
  • SPECIAL OFFER: Upgrade this ebook with OReilly
  • Preface
    • YUI 2 Versus YUI 3
      • Why Use YUI?
      • Library or Framework?
    • Who This Book Is For
    • Resources and Community
    • Conventions Used in This Book
      • About the Examples
      • Typesetting Conventions
    • Using Code Examples
    • Safari Books Online
    • How to Contact Us
    • Acknowledgments
  • 1. Loading Modules
    • 1.1. Loading Rollups and Modules
      • Problem
      • Solution
      • Discussion
    • 1.2. Loading SimpleYUI
      • Problem
      • Solution
      • Discussion
    • 1.3. Identifying and Loading Individual Modules
      • Problem
      • Solution
      • Discussion
      • See Also
    • 1.4. Loading a Different Default Skin
      • Problem
      • Solution
      • Discussion
      • See Also
    • 1.5. Loading Gallery Modules
      • Problem
      • Solution
      • Discussion
      • See Also
    • 1.6. Loading a YUI 2 Widget
      • Problem
      • Solution
      • Discussion
      • See Also
    • 1.7. Loading Locally Hosted Builds
      • Problem
      • Solution
      • Discussion
      • See Also
    • 1.8. Creating Your Own Modules
      • Problem
      • Solution
      • Discussion
      • See Also
    • 1.9. Creating a Module with Dependencies
      • Problem
      • Solution
      • Discussion
      • See Also
    • 1.10. Creating Truly Reusable Modules
      • Problem
      • Solution
      • Discussion
    • 1.11. Defining Groups of Custom Modules
      • Problem
      • Solution
      • Discussion
      • See Also
    • 1.12. Reusing a YUI Configuration
      • Problem
      • Solution
      • Discussion
    • 1.13. Defining Your Own Rollups
      • Problem
      • Solution
      • Discussion
      • See Also
    • 1.14. Loading jQuery as a YUI Module
      • Problem
      • Solution
      • Discussion
      • See Also
    • 1.15. Loading Modules Based on Browser Capabilities
      • Problem
      • Solution
      • Discussion
      • See Also
    • 1.16. Monkeypatching YUI
      • Problem
      • Solution
      • Discussion
      • See Also
    • 1.17. Loading Modules on Demand
      • Problem
      • Solution
      • Discussion
      • See Also
    • 1.18. Enabling Predictive Module Loading on User Interaction
      • Problem
      • Solution
      • Discussion
    • 1.19. Binding a YUI Instance to an iframe
      • Problem
      • Solution
      • Discussion
      • See Also
    • 1.20. Implementing Static Loading
      • Problem
      • Solution
      • Discussion
  • 2. DOM Manipulation
    • 2.1. Getting Element References
      • Problem
      • Solution
      • Discussion
      • See Also
    • 2.2. Manipulating CSS Classes
      • Problem
      • Solution
      • Discussion
    • 2.3. Getting and Setting DOM Properties
      • Problem
      • Solution
      • Discussion
      • See Also
    • 2.4. Changing an Elements Inner Content
      • Problem
      • Solution
      • Discussion
    • 2.5. Working with Element Collections
      • Problem
      • Solution
      • Discussion
      • See Also
    • 2.6. Creating New Elements
      • Problem
      • Solution
      • Discussion
      • See Also
    • 2.7. Adding Custom Methods to Nodes
      • Problem
      • Solution
      • Discussion
    • 2.8. Adding Custom Properties to Nodes
      • Problem
      • Solution
      • Discussion
  • 3. UI Effects and Interactions
    • 3.1. Hiding an Element
      • Problem
      • Solution
      • Discussion
    • 3.2. Fading an Element
      • Problem
      • Solution
      • Discussion
      • See Also
    • 3.3. Moving an Element
      • Problem
      • Solution
      • Discussion
      • See Also
    • 3.4. Creating a Series of Transitions
      • Problem
      • Solution
      • Discussion
    • 3.5. Defining Your Own Canned Transitions
      • Problem
      • Solution
      • Discussion
    • 3.6. Creating an Infinite Scroll Effect
      • Problem
      • Solution
      • Discussion
      • See Also
    • 3.7. Dragging an Element
      • Problem
      • Solution
      • Discussion
    • 3.8. Creating a Resizable Node
      • Problem
      • Solution
      • Discussion
      • See Also
    • 3.9. Implementing a Reorderable Drag-and-Drop Table
      • Problem
      • Solution
      • Discussion
  • 4. Events
    • 4.1. Responding to Mouseovers, Clicks, and Other User Actions
      • Problem
      • Solution
      • Discussion
      • See Also
    • 4.2. Responding to Element and Page Lifecycle Events
      • Problem
      • Solution
      • Discussion
    • 4.3. Controlling Event Propagation and Bubbling
      • Problem
      • Solution
      • Discussion
      • See Also
    • 4.4. Preventing Default Behavior
      • Problem
      • Solution
      • Discussion
    • 4.5. Delegating Events
      • Problem
      • Solution
      • Discussion
    • 4.6. Firing and Capturing Custom Events
      • Problem
      • Solution
      • Discussion
    • 4.7. Driving Applications with Custom Events
      • Problem
      • Solution
      • Discussion
    • 4.8. Using Object Methods as Event Handlers
      • Problem
      • Solution
      • Discussion
    • 4.9. Detaching Event Subscriptions
      • Problem
      • Solution
      • Discussion
      • See Also
    • 4.10. Controlling the Order of Event Handler Execution
      • Problem
      • Solution
      • Discussion
    • 4.11. Creating Synthetic DOM Events
      • Problem
      • Solution
      • Discussion
    • 4.12. Responding to a Method Call with Another Method
      • Problem
      • Solution
      • Discussion
  • 5. Ajax
    • 5.1. Fetching and Displaying XHR Data
      • Problem
      • Solution
      • Discussion
      • See Also
    • 5.2. Handling Errors During Data Transport
      • Problem
      • Solution
      • Discussion
      • See Also
    • 5.3. Loading Content Directly into a Node
      • Problem
      • Solution
      • Discussion
      • See Also
    • 5.4. Submitting Form Data with XHR
      • Problem
      • Solution
      • Discussion
    • 5.5. Uploading a File with XHR
      • Problem
      • Solution
      • Discussion
    • 5.6. Getting JSON Data Using Script Nodes (JSONP)
      • Problem
      • Solution
      • Discussion
      • See Also
    • 5.7. Fetching and Displaying Data with YQL
      • Problem
      • Solution
      • Discussion
      • See Also
    • 5.8. Scraping HTML with YQL
      • Problem
      • Solution
      • Discussion
      • See Also
    • 5.9. Querying Data Using DataSource
      • Problem
      • Solution
      • Discussion
      • See Also
    • 5.10. Normalizing DataSource Responses with a DataSchema
      • Problem
      • Solution
      • Discussion
      • See Also
  • 6. CSS
    • 6.1. Normalizing Browser Style Inconsistencies
      • Problem
      • Solution
      • Discussion
      • See Also
    • 6.2. Rebuilding Uniform Base Styles
      • Problem
      • Solution
      • Discussion
    • 6.3. Applying Consistent Fonts
      • Problem
      • Solution
      • Discussion
    • 6.4. Laying Out Content with Grids
      • Problem
      • Solution
      • Discussion
      • See Also
    • 6.5. Using Grids for Responsive Design
      • Problem
      • Solution
      • Discussion
      • See Also
    • 6.6. Creating Consistent Buttons
      • Problem
      • Solution
      • Discussion
      • See Also
  • 7. Infrastructure
    • 7.1. Managing State with Attributes
      • Problem
      • Solution
      • Discussion
      • See Also
    • 7.2. Creating Base Components with Y.extend()
      • Problem
      • Solution
      • Discussion
      • See Also
    • 7.3. Creating Base Components with Y.Base.create()
      • Problem
      • Solution
      • Discussion
      • See Also
    • 7.4. Creating a Basic Widget
      • Problem
      • Solution
      • Discussion
      • See Also
    • 7.5. Creating a Widget That Uses Progressive Enhancement
      • Problem
      • Solution
      • Discussion
      • See Also
    • 7.6. Rendering Remote Data with a Widget
      • Problem
      • Solution
      • Discussion
      • See Also
    • 7.7. Creating a Simple Plugin
      • Problem
      • Solution
      • Discussion
      • See Also
    • 7.8. Creating a Plugin That Alters Host Behavior
      • Problem
      • Solution
      • Discussion
      • See Also
    • 7.9. Bundling CSS with a Widget as a CSS Module
      • Problem
      • Solution
      • Discussion
      • See Also
    • 7.10. Bundling CSS with a Widget as a Skin
      • Problem
      • Solution
      • Discussion
      • See Also
    • 7.11. Representing Data with a Model
      • Problem
      • Solution
      • Discussion
      • See Also
    • 7.12. Persisting Model Data with a Sync Layer
      • Problem
      • Solution
      • Discussion
      • See Also
    • 7.13. Managing Models with a Syncing ModelList
      • Problem
      • Solution
      • Discussion
      • See Also
    • 7.14. Rendering HTML with a View
      • Problem
      • Solution
      • Discussion
      • See Also
    • 7.15. Rendering a Model with a View
      • Problem
      • Solution
      • Discussion
      • See Also
    • 7.16. Rendering a ModelList with a View
      • Problem
      • Solution
      • Discussion
      • See Also
    • 7.17. Saving State Changes in the URL
      • Problem
      • Solution
      • Discussion
      • See Also
    • 7.18. Defining and Executing Routes
      • Problem
      • Solution
      • Discussion
      • See Also
  • 8. Using Widgets
    • 8.1. Instantiating, Rendering, and Configuring Widgets
      • Problem
      • Solution
      • Discussion
      • See Also
    • 8.2. Creating an Overlay
      • Problem
      • Solution
      • Discussion
      • See Also
    • 8.3. Aligning and Centering an Overlay
      • Problem
      • Solution
      • Discussion
      • See Also
    • 8.4. Making an Overlay Draggable
      • Problem
      • Solution
      • Discussion
      • See Also
    • 8.5. Creating a Simple, Styled Information Panel
      • Problem
      • Solution
      • Discussion
      • See Also
    • 8.6. Creating a Modal Dialog or Form
      • Problem
      • Solution
      • Discussion
      • See Also
    • 8.7. Creating a Tooltip from an Overlay
      • Problem
      • Solution
      • Discussion
      • See Also
    • 8.8. Creating a Lightbox from an Overlay
      • Problem
      • Solution
      • Discussion
      • See Also
    • 8.9. Creating a Slider
      • Problem
      • Solution
      • Discussion
      • See Also
    • 8.10. Creating a Tabview
      • Problem
      • Solution
      • Discussion
      • See Also
    • 8.11. Creating a Basic DataTable
      • Problem
      • Solution
      • Discussion
      • See Also
    • 8.12. Formatting a DataTables Appearance
      • Problem
      • Solution
      • Discussion
      • See Also
    • 8.13. Displaying a Remote JSON DataSource in a DataTable
      • Problem
      • Solution
      • Discussion
      • See Also
    • 8.14. Plotting Data in a Chart
      • Problem
      • Solution
      • Discussion
      • See Also
    • 8.15. Choosing Dates with a Calendar
      • Problem
      • Solution
      • Discussion
      • See Also
    • 8.16. Defining Calendar Rules
      • Problem
      • Solution
      • Discussion
    • 8.17. Creating a Basic AutoComplete
      • Problem
      • Solution
      • Discussion
      • See Also
    • 8.18. Highlighting and Filtering AutoComplete Results
      • Problem
      • Solution
      • Discussion
      • See Also
    • 8.19. Using AutoComplete with Remote Data
      • Problem
      • Solution
      • Discussion
      • See Also
    • 8.20. Customizing the AutoComplete Result List
      • Problem
      • Solution
      • Discussion
      • See Also
  • 9. Utilities
    • 9.1. Determining a Variables Type
      • Problem
      • Solution
      • Discussion
      • See Also
    • 9.2. Iterating Over Arrays and Objects
      • Problem
      • Solution
      • Discussion
      • See Also
    • 9.3. Filtering an Array
      • Problem
      • Solution
      • Discussion
    • 9.4. Merging Objects
      • Problem
      • Solution
      • Discussion
    • 9.5. Composing and Inheriting from Other Objects
      • Problem
      • Solution
      • Discussion
      • See Also
    • 9.6. Automatically Caching Function Call Results
      • Problem
      • Solution
      • Discussion
    • 9.7. Templating with Simple String Substitution
      • Problem
      • Solution
      • Discussion
      • See Also
    • 9.8. Formatting Numbers
      • Problem
      • Solution
      • Discussion
      • See Also
    • 9.9. Formatting Dates
      • Problem
      • Solution
      • Discussion
      • See Also
    • 9.10. Parsing Arbitrary XML
      • Problem
      • Solution
      • Discussion
      • See Also
    • 9.11. Converting Color Values
      • Problem
      • Solution
      • Discussion
    • 9.12. Managing History and the Back Button
      • Problem
      • Solution
      • Discussion
      • See Also
    • 9.13. Escaping User Input
      • Problem
      • Solution
      • Discussion
      • See Also
    • 9.14. Assigning Special Behavior to a Checkbox Group
      • Problem
      • Solution
      • Discussion
      • See Also
    • 9.15. Implementing Easy Keyboard Actions and Navigation
      • Problem
      • Solution
      • Discussion
      • See Also
    • 9.16. Reliably Detecting Input Field Changes
      • Problem
      • Solution
      • Discussion
      • See Also
    • 9.17. Managing and Validating Forms
      • Problem
      • Solution
      • Discussion
      • See Also
  • 10. Server-Side YUI
    • 10.1. Installing and Running YUI on the Server
      • Problem
      • Solution
      • Discussion
      • See Also
    • 10.2. Loading Modules Synchronously on the Server
      • Problem
      • Solution
      • Discussion
      • See Also
    • 10.3. Using YUI on the Command Line
      • Problem
      • Solution
      • Discussion
      • See Also
    • 10.4. Calling YQL on the Server
      • Problem
      • Solution
      • Discussion
    • 10.5. Using the YUI REPL
      • Problem
      • Solution
      • Discussion
    • 10.6. Constructing and Serving a Page with YUI, YQL, and Handlebars
      • Problem
      • Solution
      • Discussion
      • See Also
  • 11. Universal Access
    • 11.1. Preventing the Flash of Unstyled Content
      • Problem
      • Solution
      • Discussion
      • See Also
    • 11.2. Adding ARIA to Form Error Messages
      • Problem
      • Solution
      • Discussion
      • See Also
    • 11.3. Building a Widget with ARIA
      • Problem
      • Solution
      • Discussion
      • See Also
    • 11.4. Retrofitting a Widget with an ARIA Plugin
      • Problem
      • Solution
      • Discussion
      • See Also
    • 11.5. Defining Translated Strings
      • Problem
      • Solution
      • Discussion
      • See Also
    • 11.6. Internationalizing a Widget
      • Problem
      • Solution
      • Discussion
      • See Also
  • 12. Professional Tools
    • 12.1. Enabling Debug Logging
      • Problem
      • Solution
      • Discussion
    • 12.2. Rendering Debug Log Output in the Page
      • Problem
      • Solution
      • Discussion
      • See Also
    • 12.3. Writing Unit Tests
      • Problem
      • Solution
      • Discussion
      • See Also
    • 12.4. Organizing Unit Tests into Suites
      • Problem
      • Solution
      • Discussion
      • See Also
    • 12.5. Testing Event Handlers by Simulating Events
      • Problem
      • Solution
      • Discussion
    • 12.6. Mocking Objects
      • Problem
      • Solution
      • Discussion
      • See Also
    • 12.7. Testing Asynchronously Using wait()
      • Problem
      • Solution
      • Discussion
    • 12.8. Collecting and Posting Test Results
      • Problem
      • Solution
      • Discussion
      • See Also
    • 12.9. Precommit Testing in Multiple Browsers
      • Problem
      • Solution
      • Discussion
    • 12.10. Testing on Mobile Devices
      • Problem
      • Solution
      • Discussion
      • See Also
    • 12.11. Testing Server-Side JavaScript
      • Problem
      • Solution
      • Discussion
    • 12.12. Minifying Your Code
      • Problem
      • Solution
      • Discussion
      • See Also
    • 12.13. Documenting Your Code
      • Problem
      • Solution
      • Discussion
      • See Also
  • Index
  • About the Author
  • Colophon
  • SPECIAL OFFER: Upgrade this ebook with OReilly
  • Copyright

Dodaj do koszyka YUI 3 Cookbook

Code, Publish & WebDesing by CATALIST.com.pl



(c) 2005-2024 CATALIST agencja interaktywna, znaki firmowe należą do wydawnictwa Helion S.A.