XUL: What the web should look like?
Last week we ran a short piece on the future of rich client frameworks. At the time we over-looked XUL as a proprietary language for Mozilla add-ons. It seems that was a mistake.
The first thing most Windows developers ask about a new framework is, “Will it look right?” Or in other words, does the framework make a reasonable attempt to look and feel like a native application. The answer for XUL appears to be yes. A test drive of the Mozilla Amazon Browser (MAP) shows that it can be used to make good looking rich clients . Though running in Firefox, it feels just like a native application. A demo site called the XUL Periodic Timetable (Mozilla Only) shows that it already supports most of the controls that rich client developers expect.
Ten years ago it was considered acceptable to have isolated platforms and programming languages that didn’t interact with other platforms. These days, that is no longer tolerated. To wit, XPCOM and XPConnect are offered.
Another hot topic these days is internationalization. XUL has that covered by storing human readable text in DTD and property files. In what will surely make translation easier, these files can be created and packaged separately from the XUL code itself.
Unlike many open source projects, tool support is not lacking either. The XUL homepage lists several tools and utilities including XUL Explorer, a lightweight IDE.
At first glance it may appear that XUL has the same problems as Gran Paradiso, namely being tied to the Mozilla family of browsers. However, that isn’t the case. Another Mozilla product, XULRunner, allows XUL based applications to run outside the browser. Currently it is available for Windows, OS X, and Linux.
XUL isn’t a hundred percent solution though. While testing in Firefox 22.214.171.124, it had a problem with accelerator keys such as
With a bit of publicity and polish, XUL could very well give WPF/E and Adobe Flex a run for their money.
XUL's primary issue - loyalty
XUL doesn't provide any kind of distinct advantage. So, the biggest challenge I see with XUL is who exactly is going to be loyal to it.
One thing you missed out
Re: XUL's primary issue - loyalty
Jim Driscoll Dec 08, 2013