Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

YUI Library

From Wikipedia, the free encyclopedia
Yahoo! User Interface Library
Developer(s)Yahoo!
Initial releaseFebruary 13, 2006; 19 years ago (2006-02-13)[1]
Final release
3.18.1 / October 22, 2014; 10 years ago (2014-10-22)[2]
Repository
Written inJavaScript
Operating systemCross-platform (JavaScript)
TypeJavaScript library
LicenseBSD License
Websiteyuilibrary.com

The Yahoo! User Interface Library (YUI) is a discontinued open-sourceJavaScript library for building richly interactiveweb applications using techniques such asAjax,DHTML, andDOM scripting. YUI includes several coresCSS resources. It is available under aBSD License.[3] Development on YUI began in 2005 and Yahoo! properties such as My Yahoo! and the Yahoo! front page began using YUI in the summer of that year. YUI was released for public use in February 2006.[1] It was actively developed by a core team of Yahoo! engineers.

In September 2009, Yahoo! released YUI 3, a new version of YUI rebuilt from the ground up to modernize the library and incorporate lessons learned from YUI 2. Among the enhancements are aCSS selector driven engine, likejQuery, for retrievingDOM elements, a greater emphasis on granularity of modules, a smaller seed file that loads other modules when necessary, and a variety of syntactic changes intended to make writing code faster and easier.[4]

The YUI Library project at Yahoo! was founded byThomas Sha and sponsored internally by Yahoo! co-founderJerry Yang; its principal architects have been Sha, Adam Moore, and Matt Sweeney. The library's developers maintain the YUIBlog; the YUI community discusses the library and its implementations in its community forum.

On August 29, 2014, it was announced that active development of YUI by Yahoo! would end, citing the evolution of the JavaScript standards, steadily decreasing interest in large JavaScript libraries by developers, and the proliferation of server-side solutions. Future development will be limited to maintenance releases addressing issues that are "absolutely critical to Yahoo properties."[5]

Features

[edit]

The YUI Library is fully documented on its website; detailed API documentation accompanies the library download. It has six types of components: YUI core, utilities, UI controls, CSS components, developer tools, and build tools.

Core

[edit]

The YUI Core is a light (31KB minified) set of tools for event management and DOM manipulation.

YUI Global Object
The YUI Global Object contains language utilities, a script loader, and other baseline infrastructure for YUI.
Dom Collection
Helps with commonDOM scripting tasks, including element positioning andCSS style management.
Event Utility
Provides developers with easy and safe access to browserevents (such as mouse clicks and key presses). It also provides the Custom Event object for publishing and subscribing to custom events.

Utilities

[edit]
Animation
Helps create "effects" by animating the position, size, opacity or other characteristics of page elements.
Browser History Manager
Helps web applications use the browser's back button and bookmarking functionality.
Connection Manager
Helps manageXMLHttpRequest transactions in across-browser fashion. It has integrated support forform posts,error handling,callbacks and file uploading.
Cookie
Allows you to managebrowser cookies and subcookies through a simple API.
DataSource
Provides a common configurable interface for other components to interact with different types of data, from simple JavaScript arrays to online servers over XHR.
Drag and drop
The YUI Drag and Drop Utility makes it easy to make elements "draggable" and to create drop targets that respond to drag events.
Element
Provides a wrapper forHTML elements in the DOM and makes simpler common tasks such as adding listeners, manipulating the DOM, and setting and getting attributes.
Get
The Get Utility supports the asynchronous loading of data and scripts through script nodes and the dynamic loading of external CSS files.
ImageLoader
YUI's ImageLoader allows you to defer the loading of images that are not visible in the viewport at the time the page loads. This can result in big performance boosts.
JSON
The JSON Utility provides methods for validation of incomingJSON data to verify that it is safe and methods to convert JavaScript data to a JSON-formatted string. These methods are based onDouglas Crockford's work at JSON.org.
Resize
Allows you to make any block-level HTML element resizable.
Selector
The YUI Selector Utility allows you to grab references to HTML elements via CSS3 selector syntax.
YUI Loader
YUI Loader is a client-side loader engine that can dynamically load any YUI component (and dependencies) on the fly.

Controls

[edit]
AutoComplete
Providesautocomplete feature (suggestion lists and type-ahead functionality) for user interactions involving text-entry. It supports a variety of data-source formats. It also supports server-side data-sources via XMLHttpRequest.
Button
Enables the creation of rich, graphical buttons that function like traditional HTML form buttons.
Calendar
A graphical, dynamic control used for date selection.
Charts
The Charts Control retrieves data via the DataSource Utility and displays the data in a variety of common chart formats (line, bar, pie, etc.).
Color Picker
The Color Picker Control provides a rich visual interface for color selection.
Container
Supports a variety of DHTML windowing patterns includingTooltip, Panel, Dialog, SimpleDialog, Module and Overlay.
DataTable
Simple yet powerful API to display screen-reader accessible tabular data on a web page. Notable features include sortable columns, pagination, scrolling, row selection, resizable columns, and inline editing.
ImageCropper
ImageCropper provides the UI and interactive elements for a client-side image cropper.
Layout Manager
Allows you to create cross-browser, pixel perfect layouts with little effort by providing a fixed layout containing, top, bottom, left, right and center layout units.
Menu
Provides an easy API for creating fly-outmenus, menu bars, and context menus.
Rich Text Editor
TheYUI Rich Text Editor is a sophisticated client-side text-processor that is modular and highly configurable, suitable for any open-ended text-entry situation.
Slider
Provides a generic slider element that enables the user to choose within a finite range of values on one or two axes.
TabView
Provides navigable tabbed views of content; supports dynamic loading of tab content via XMLHttpRequest.
TreeView
Produces a content tree whose nodes can be expanded and contracted.
Uploader
Allows for multi-file file upload with feedback on upload progress.

CSS resources

[edit]
CSS Base
Use Base after Reset to provide a consistent, cross-browser replacement for the standard browser CSS rules to which web developers are accustomed.
CSS Grids
Seven basic page wireframes with subsection components to support over 1000 different page layouts.
CSS Fonts
Standardized cross-browser font families and size rendering.
CSS Reset
CSS declarations remove margins and standardize cross-browser rendering on common elements.

Developer tools

[edit]
Logger
Provides a quick and easy way to writelog messages to an on-screen console, theFirebug extension forMozilla Firefox, or theSafari JavaScript console.
Profiler
A cross-browser, non-visual code profiler for JavaScript.
ProfilerViewer
Used in combination with Profiler to provide rich visualizations of your profiling data — both graphically (using the Charts Control) and in tabular format (using DataTable).
YUI Test
YUI Test is a testing framework for browser-based JavaScript solutions. Using YUI Test, you can easily add unit testing to your JavaScript solutions. While not a direct port from any specific xUnit framework, YUI Test does derive some characteristics from nUnit and JUnit.

Build tools

[edit]
YUI Compressor
YUI Compressor is a tool that minifiesJavaScript and CSS safely.
YUIDoc
YUIDoc is a tool written inJavaScript that generates searchable API documentation of JavaScript code. It is typically used as part of a build process. YUIDoc is comment-driven and is compatible with a variety of coding styles and programming languages.

See also

[edit]

References

[edit]
  1. ^ab"The Yahoo! User Interface Library".Yahoo! User Interface Blog. 13 February 2006. Archived fromthe original on 11 June 2008. Retrieved13 June 2008.
  2. ^"Releases · yui/yui3 · GitHub".GitHub. Retrieved24 April 2020.
  3. ^"YUI Library". Retrieved13 June 2008.
  4. ^"YUI 3.0.0: First GA Release of YUI's Next-Generation Codeline".Yahoo! User Interface Blog. 29 September 2009. Retrieved18 November 2009.
  5. ^"Important Announcement Regarding YUI".Yahoo! Engineering. Retrieved29 August 2014.

External links

[edit]
Websites
Communication
Corporate
Defunct services
Related people
Related
Dialects
Engines
(comparison)
Frameworks
Client-side
Server-side
Multiple
  • Cappuccino
Libraries
People
Other
.NET
C++
ColdFusion
Common Lisp
Haskell
Java
JavaScript
Perl
PHP
Python
Ruby
Rust
Scala
Smalltalk
Other languages
Low-level platform-specific
OnAmigaOS
OnClassic Mac OS,macOS
OnWindows
OnUnix,
underX11
OnBeOS,Haiku
OnAndroid
CLI
Low Level Cross-platform
CLI
C
Java
High-level, platform-specific
OnAmigaOS
OnClassic Mac OS,macOS
Object Pascal
Objective-C,Swift
C++
CLI
OnWindows
CLI
C++
Object Pascal
OnUnix,
underX11
OnAndroid
High-level, cross-platform
C
C++
Objective-C
CLI
Adobe Flash
Go
Haskell
Java
JavaScript
Common Lisp
Lua
Pascal
Object Pascal
Perl
PHP
Python
Ruby
Tcl
XML
shell
Dart
Retrieved from "https://en.wikipedia.org/w/index.php?title=YUI_Library&oldid=1198601500"
Categories:

[8]ページ先頭

©2009-2025 Movatter.jp