My favorites | Sign in
xbl
Project Home Downloads Wiki Issues Source
Search
for
FAQ  
Frequently Asked Questions
Featured
Updated Feb 4, 2010 by ilinsky

What is XBL?

XBL is a mechanism for overriding the standard presentation and interactive behavior of particular elements by attaching those elements to appropriate definitions, called bindings. Bindings can be attached to elements using either CSS, the DOM, or by declaring, in XBL, that elements matching a specific selector are implemented by a particular binding (excerpt from XML Binding Language (XBL) 2.0)

What are the benefits of using XBL 2.0 in HTML?

  • allows for creation of structured base of UI components / behaviors in a clean manner
  • allows for taking UI component-related logic away from markup
  • allows for creating standard future-proof code to be ready to run on coming native implementations

What happens if browsers get XBL 2.0 implemented natively?

In case a native implementation becomes available in a browser, the implementation given will not be used, allowing for the native implementation to take over.

Can the implementation be used on a page with other Ajax frameworks/toolkits?

Yes, the implementation provided here is designed in a way that it should not conflict with any third-parties libraries.

Are there any other known implementations of XBL 2.0 in JavaScript?

Yes, there are two known:

What is the file size of the library?

The current (beta-2) version is only 28KB (10KB gzipped)

Comment by jrwarw...@hotmail.com, Jul 29, 2008

This is awesome! Thanks guys.

Comment by hblink1...@gmail.com, Jul 31, 2008

I have a javascript implementation of XForms, I want to add xforms:action to XBL, I am little confused how the syntax should be written. Can you show me what the syntax would look like?

Comment by hblink1...@gmail.com, Oct 2, 2008

here is an example how we are using/planning to use XBL. This is just for demo purpose but some in-house controls using XBL use the full language syntax!

View a small demo here http://hblink1954.700megs.com/hblink/formfaces/Platforms/Web/Examples/Test%20Pages/datatable.html


Sign in to add a comment
Powered by Google Project Hosting