Slashdot Mirror


The Forgotten Macro Language of HTML: XBL 2.0

tvlinux writes "The web is becoming more than just a media display; there is more interaction and more special things that need to be done. Right now, jQuery is the preferred method of a very dynamic user interface. There is a W3 standard called XBL2.0. It is the macro language of HTML. To me it seems like a great idea — reusable HTML widgets, where each one is a separate object contained with in itself. You can define properties, methods, and events, each of which is self-contained. If the browsers supported XBL2, I can envision a whole ecosystem of new widgets, charts, grids and inputs that people could add to web pages just like any other HTML element. I see less experienced developers being able to create fancy websites by just using DOM and not having to learn jquery. My question: why is XBL dead? I think a macro-language for HTML is a good idea." XBL is alive and well, but only for XUL. Looks like another casualty of HTML5's rejection of XML.

2 of 138 comments (clear)

  1. Re:Visual Studio for ASP.NET by TheRaven64 · · Score: 4, Insightful

    This is how you do decent shilling. Everything he said is true, his problem was his omission. The MS stack does provide a reasonable MVC programming model for web applications. So do a number of other competing frameworks, many of which are more scalable, free (to deploy and to get the dev tools), cross-platform (do you really want to be forced to run Windows on your server? Even if you like the platform, you'll pay more if you want to deploy it in something like EC2 because of the HVM overhead), and which have been around longer.

    --
    I am TheRaven on Soylent News
  2. Re:Why is it dead: by dkleinsc · · Score: 4, Insightful

    "Short != Better" (TM)

    Short sometimes == Better:
    - Programmers don't have to spend as much time reading to figure it out.
    - In studies, the ratio of bugs to code size is basically constant until the code is thoroughly tested. Minimize the size of the code, reduce your bug count.
    - For network services, including HTTP, fewer bytes = fewer packets = faster response.
    - Short is often simpler.

    Compare the XBL shown above to the equivalent JQuery:

    $.("li#nav").on( "mouseover", doSomething );

    Which one would you rather read and parse?

    --
    I am officially gone from /. Long live http://www.soylentnews.com/