There was an interesting post I caught over at Adblock Plus which talked about a session at the Mozilla Developer Day at pit XUL against HTML. There has been a lot of talk, mostly from the HTML crowd, that they are worried about some of the Rich Internet Application markups (XUL/XAML/MXML) taking over the web and relegating HTML to some dark, antiquated, technology graveyard. What made it interesting was that this conversation occurred at a Mozilla developers conference and Mozilla is a very strong supporter of HTML. As a result, the tone of the conversation was in getting people to switch from XUL to HTML.
Are you puzzled? I think many people were. Was that a serious question? The advantages of XUL are too obvious: the box model, powerful localization mechanism and user interface widgets with native look-and-feel. But it isn’t that simple. The box model can be used from HTML as well, just take a look at Mozilla’s CSS extensions (e.g. display: -moz-box and -moz-flex: 1).
Wladimir goes on to talk about reasons XUL isn’t going away and highlights the things that it cannot do as being important:
It cannot do table-based layouts or relative positioning (everybody who ever “inherited†a web application will probably appreciate this a lot). It doesn’t do all the numerous quirks to be compatible with all browsers including Mosaic 1.0. It doesn’t even have a quirks mode! It is a simple and straightforward language built for one and only one reason: to enable efficient development of user interfaces.
He’s talking about XUL, but the same could be said for any of the RIA markup languages. With these languages we get a chance to start from scratch and focus on a different set of problems. HTML isn’t going to go away, and I don’t think anyone wants it to. But as the web evolves, not all of the solutions can be implemented with HTML. The advanced user interfaces we’re starting to see are an important part of the web and the way we build them is very different from the way we build web pages. We should continue to strive and make them as “webby” as possible, but that doesn’t mean we have to build all of our apps with HTML and CSS.
[tags]HTML, XUL, Rich Internet Applications[/tags]