ars aranea. the web, the way we make it. | |||
49 XULRunner’s maiden voyagePosted: Feb 20, 2006, under Cross platforms. Add a comment!Slashdot announces the release of XULRunner 1.8.0.1, the developer preview of Mozilla Foundation’s XUL framework, now available for Mac, Windows and Linux. Do read the Slashdot piece, it offers links to many useful resources for those who want to get started developing in XUL. It was about high time that Mozilla got their XUL platform out in the open and under the public eye. As seen from the Slashdot article comments, already the platform is under a fair amount of criticism. Particularly, it is compared to other similar technologies. Let’s see what one ObsessiveMathsFreak has to say about this:
True, XUL is very nice for RAD and cross-platform development, but if you really want you can shoot yourself in the foot and become just as tied to a specific platform or operating system as if you’ve had written your code in a platform-specific language all along. But hey, that’s equally valid for any language which can use OS-specific libraries, so let’s cut it some slack. However, for simple, client side, frontend GUI operations, XUL is a very, very useful tool. It gives you the ability of DHTML in a way that isn’t a hack. Very nice examples. XUL is quite similar to “classical” DHTML, but with the added benefits of liberating the developer from the confines of HTML. Namely, you’re no longer restricted to the silly set of HTML widgets, forms and non-existent window model and can really go to town. …but I’m betting 5 out of 10 people reading this didn’t get to enjoy the examples, because they weren’t using a Mozilla browser. Did you try to follow the links with Opera or Internet Explorer? Tough. Explorer offers to download the People go on about AJAX, but XUL offers a huge amount of potential. Ah, not so fast there. JavaScript is a decent enough language. Elsewhere is the XUL Achille’s heel located. AJAX may be a hack and restricted within the DHTML realm of possibilities. But it is widely available, now, in all the major browsers, at no extra effort from the user. People can pick up a copy of almost any recent enough browser and will still get to experience Gmail properly. Which cannot be said for those example linked above. Thus, AJAX is much less hassle for the user. That’s a very important step towards larger acceptance. And if you don’t believe me, think how much of a blow things like AJAX and the Canvas extension delivered to Java applets. Even though applets are more powerful, the overall inferior solutions still kicked their butts in many places, purely because the things needed to run them were more readily available. Support already in the browser? Great, you got it made. Need a plugin to make it work? Err, ugh, oh well, most people will eventually get around to installing it. Need a separate virtual machine? Um, I don’t really think… Is the virtual machine a hefty tens of megabytes download? Forget it! The weak spot for all the cross-platform solutions is their need of some degree of virtualization, usually in the form of a virtual machine of some sort. In addition to making for big downloads, these VM’s are also reputed to run at least a bit slower than natively developed applications, and usually eat up a lot of system resources. Not something that users generally love about their applications. It gets worse. According to the Mozilla development docs, for now at least, XUL developers are advised to bundle a separate runner with each XUL application! Indeed, come to think about it, all the Mozilla flagship apps (Firefox, Thunderbird, Sunbird) come with their own XUL platform. Granted, this XULRunner is just a developer preview. At some point the runner will probably come as a single virtual machine, installed once, reused by all XUL applications. Much like the Java Virtual Machine. That is, if they want to stand a chance in Hell of making it big.
For that matter, don’t put down GTK+ either. For one, GTK+ applications on both Windows and Linux are capable of using the same framework. I have Gimp and Gaim installed on Windows and only one GTK+ kit installed. Score one for GTK+ over XUL. As for RAD development, GTK+ has Glade, something that even .NET or Java lack AFAIK: a way to describe pure GUI in clear XML, without depending on any proprietary format or software. I can design all the GUI in Glade and activate it in my GTK+-based application with a couple lines of code. So much for RAD supremacy in XUL. Conclusions? The good:
The bad:
An IDE which specializes in XUL wouldn’t hurt, come to think about it. Perhaps XULRunner itself aims to be one, seems to early to tell. So, get XULRunner out as a single VM, available via a nice installer or native packages for all the major operating systems; relaunch versions of Firefox and Thunderbird as pure XUL packages running over this VM to prove the point; and then maybe developers will start coming in. This multi-VM hack is a very serious problem and it might hurt a lot in the long run.
| Important
Categories
Authoring
(1)Books (2)Cross platforms (2)DHTML (12)Graphical design (3)IT today (12)Morals&Politics (10)ODP (1)Random stuff (3)Romania (16)Security (7)SEO (2)Software (8)SQL (1)Standards (7)Technology (3)WordPress (4)[În română] (4)[This website] (2)Time-jump Syndication Need hosting?I've been a happy user of LunarPages since 2005. |
||
Copyright ©2005–2008 Zuavra | |||