Learning the Yahoo! User Interface library

Dan Wellman

  • 出版商: Packt Publishing
  • 出版日期: 2008-03-31
  • 售價: $2,100
  • 貴賓價: 9.5$1,995
  • 語言: 英文
  • 頁數: 380
  • 裝訂: Paperback
  • ISBN: 1847192327
  • ISBN-13: 9781847192325
  • 相關分類: 使用者介面 UI
  • 無法訂購

買這商品的人也買了...

商品描述

In Detail

The Yahoo! User Interface (YUI) Library is a set of utilities and controls, written in JavaScript, for building richly interactive web applications using techniques such as DOM scripting, DHTML, and AJAX. The YUI Library also includes several core CSS resources. All components in the YUI Library have been released as open source under a BSD license and are free for all uses.

This book covers all released components whether utility, control, core file, or CSS tool. Methods of the YAHOO Global Object are used and discussed throughout the book.
The basics of each control will be presented, along with a detailed example showing its use to create complex, fully featured, cross-browser, Web 2.0 user interfaces.

Besides giving you a deep understand 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.

You will learn to create a number of powerful JavaScript controls that can be used straight away in your own applications.

What you will learn from this book?

  • Explore the YUI Library--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
  • Work with Containers--implementation, skinning, adding transitions, and tabs
  • Debug, maintain, and update applications with the Logger control
  • Examples included in the book:
  • Calendar interface
  • Autocomplete
  • Creating panels
  • Dialogs
  • Custom tooltips
  • Forms
  • Split button
  • TreeView Control
  • Browser History Manager with Calendar
  • Simple animation
  • Custom animation
  • Creating tabs and adding content dynamically
  • Dragging and dropping
  • Implementing sliders
  • Logger at work
  • Logging custom classes

Approach

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.

Who this book is written for?

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.

商品描述(中文翻譯)

詳細內容

Yahoo! User Interface (YUI) Library 是一套使用 JavaScript 撰寫的工具和控制項,用於使用 DOM scripting、DHTML 和 AJAX 等技術建立豐富互動的網頁應用程式。YUI Library 還包括幾個核心 CSS 資源。YUI Library 中的所有組件都以 BSD 授權的形式開源,並且可以免費使用。

本書涵蓋了所有已發布的組件,包括工具、控制項、核心檔案和 CSS 工具。書中使用並討論了 YAHOO 全域物件的方法。

將介紹每個控制項的基礎知識,並提供詳細的示例,展示如何使用它們來創建複雜、功能完整、跨瀏覽器的 Web 2.0 用戶界面。

除了深入了解 YUI library,本書還將擴展您對面向對象的 JavaScript 編程的知識,並加強您對 DOM 和 CSS 的理解。

您將學習創建多個強大的 JavaScript 控制項,可以立即在自己的應用程式中使用。

本書的學習重點:


  • 探索 YUI Library - 工具、控制項、核心檔案和 CSS 工具

  • 安裝該庫並開始使用

  • 處理 DOM 操作和腳本編寫

  • 深入瞭解 YUI 的事件處理

  • 使用 YUI CSS 工具創建一致的網頁

  • 使用容器 - 實現、美化、添加過渡效果和標籤

  • 使用 Logger 控制項進行調試、維護和更新應用程式

  • 書中包含的示例:


  • 日曆介面

  • 自動完成

  • 創建面板

  • 對話框

  • 自定義工具提示

  • 表單

  • 分割按鈕

  • TreeView 控制項

  • 帶有日曆的瀏覽器歷史管理器

  • 簡單動畫

  • 自定義動畫

  • 創建標籤並動態添加內容

  • 拖放

  • 實現滑塊

  • Logger 的使用

  • 記錄自定義類


書籍特色

本書是一本教程,首先引導讀者了解 YUI library 的基礎知識,然後進一步介紹涉及 YUI 控制項和工具的複雜示例。本書以示例為主,並基於改進的嘗試和擴展的方法。

本書適合對象

本書適合熟悉 JavaScript 和 CSS 的網頁開發人員,他們希望使用 YUI library 輕鬆地構建豐富、響應式的網頁界面。不需要對 YUI library 有任何了解。