YUI Library Home

Site Search (YDN & YUIBlog):

# YUI Library Examples: Connection Manager

# Connection Manager: Examples

The YUI Connection Manager provides support for XMLHttpRequest transactions using a convenient interface normalized across the A-Grade browsers. Connection Manager also supports file uploads using the same interface.

- Connection Manager GET Transaction: Uses Connection Manager to demonstrate an HTTP GET request.
- Connection Manager POST Transaction: Explores the use of HTTP POST to send data to the server and retrieve the server's response.
- Connection Manager Transaction Timeout: Connection Manager's built-in transaction timeout feature allows you to abort requests that are too slow in returning data.
- Retrieving a Yahoo! Weather RSS Feed: Demonstrates how to retrieve XML data from a web service and make use of that information within the page.
- Cross-Domain Transactions with Connection Manager: This example demonstrates a cross-domain request using the alternate Flash transport.
- Subscribing to Connection Manager Global Events: Subscribe to Custom Events for an aspect-oriented approach to managing transactions and response data.
- Subscribing to Connection Manager's Custom Events via the Callback Object: Target and handle Custom Events for specific transactions using the callback object.

## Other YUI Examples That Make Use of the Connection Manager

- Connection Manager assisted image crop (included with examples for the ImageCropper Control (beta))
- Dynamically Loading Node Data (included with examples for the TreeView Control)
- Editor Data Post with Connection Manager (included with examples for the Rich Text Editor)
- Simple Application (included with examples for the Layout Manager)

### Connection Manager:

- User's Guide (external)
- API Documentation
- Cheat Sheet PDF(external)

Copyright © 2010 Yahoo! Inc. All rights reserved.

Privacy Policy - Terms of Service - Copyright Policy - Job Openings