Close
Loading, please wait...
This announcement will hide in 60 seconds

YUI Bubbling Core

2007-11-25
RSS Channel bookmark this link
Bubbling CORE

The first thing you need to do before trying to use this utility, is to read this article in the Yahoo! User Interface Blog "The Bubbling Technique & Custom Event, YUI's Secret Weapon", to learn the principles of this pattern.

The Bubbling CORE Object require the inclusion of the YUI scripts: yahoo, dom, event or utilities. Once the necessary scripts are included in the pages, and the inclusion of the bubbling.js script, all the default behaviors layers (navigate, property, key, repaint, rollover and rollout) will be initialized automatically, using the default configuration, which means that you can subscribe behaviors immediately after the inclusion of the bubbling core. Each behaviors layer have an Custon Event, which means that you can add as many listeners as you need, see the list below:

  • navigate
    This layer will catch the click, and action over links.
  • property
    This layer will catch the right click, and control click in mac and opera.
  • key
    This layer will catch the keyboard events.
  • repaint
    This special layer will catch the resize window, font resize, and scrolling events. (the last two events require extra initialization, see the documentation)
  • rollover
    This layer will catch the mouse movement, and will be fired on mouseover.
  • rollout
    This layer will catch the mouse movement, and will be fired on mouseout.

The bubbling core is the keystone for building a Rich Internet Application, and will allow you to cut the big application down into manageable chunks and components and you can plan the detailed usability, information architecture and accessibility for each component separately. This allows you to develop in parallel with the design or information architecture team and results in reusable components for other applications.

Continue reading about the Bubbling Core…

No Comment yet

Latest Releases

Accordion Manager
This YUI Widget will allow you to create expandable and collapsible areas using the correct HTML and CSS, but without writing a single line of javascript code. (new)

Sound Manager
This plugin will allow you to play sounds (mp3, wav) in your pages based on the classname of the elements, also it can can be integrated with any YUI and YUI-CMS components.(new)

Loading Mask
The Loading Mask widget will hide all the page's content until the onLoad's event, which mean that the website will not be displayed until the current page be fully loaded. Also this widget can be used in conjunction with the YUI Connection Manager to block the actions over the page until the AJAX's request finish. (new)

 
Hot Components

Accordion Manager
Create expandable and collapsible areas using the correct HTML and CSS, but without writing a single line of javascript code. (released)

Bubbling Core
The bubbling core now include a generic communication mechanism for widget2widget, widget2browser and widget2server messages. (updated lately)

Tooltip Manager
Improved, now using the YUI Overlay instead YUI Tooltips, also introduce a new feature, "content onDemand" using the YUI connection manager. (updated lately)

 
Coming Soon

Dynamic Layouts
A customizable interface to create a dynamic application (a single page without scrolls) with collapsible panels and multiple areas. (comming soon)

Plug and Play Widgets and Mashups
The dispatcher now support all the necessary features to create plug and play widgets, then I decide to produce some examples and some widgets to boost this features. (comming soon)

 
Bubbling's Radar

AdWeb Solutions
El equipo de desarrollo de AdWeb Solutions ha estado usando nuestra librería en la mayoría de sus aplicaciones web, creando herramientas muy interesantes para intranets y sobre todo aportándonos ideas sobre el uso de la bubbling en interfaces dinámicas. (You guys rock)

 
Related Links

Yahoo! UI Library (YUI)
YUI Official Website at the Yahoo! Developer Network.

YUI Official Forum
Get help and share your knowledges thru the frenetic javascript mailing list at Yahoo! Developer Network...

Motionbox EventHandler
For those who use propotype instead YUI, here is an implementation of the bubbling core routine for Propotype, I never tested it, but it's seen like a good implementation.

 
Recommended Reading

The Bubbling Technique & Custom Event, YUI’s Secret Weapon
In this article I’ll share my experiences in the event-driven programming within the web browser and show how the Bubbling Library, combined with YUI’s Custom Event capabilities, can create an unobtrusive behavioral layer suitable for powerful web applications.

Event-Driven Web Application Design
I recommend you to read carefully the Christian Heilmann's paper, where he wrote about how to plan an Event-Driven application, and how this technique will become the future of the web application as a result of an evolutive process.

A JavaScript Module Pattern
Eric Miraglia's detailed explanation of how to use the closures and specifically the module pattern (singlenton) as a flexible and multi-funcional structure...

 
 
Linux MySql Server PHP Mozilla FireFox FireBug YAHOO! Bubbling Library
This website is XHTML 1.0 valid! This website can be browsing with all browsers! This website is valid for Level A of Web Accessibility!