«« Open Source and Getting Paid Keep It Simple, Designers »»
blog header image
XUL

XUL (pronounced "zool") is the Mozilla project's cross-platform UI language (or library depending on who you ask, it's not really a language). The team uses it to release Mozilla simultaneusly on at least 3 platforms (Win32, Linux and MacOS).

It is an XML-based format, which uses ECMA script (Javascript) and looks somewhat like HTML. Event handlers for actions are done in a UI element's tags and passed to lower-level code via ECMA script. This offers a pretty good seperation of UI and logic.

Everything2 has a nice summary and O'Reilly has a book on Creating Applications for Mozilla which has a useful sample chapter online, covering an intro to XUL.

Even though you can use XUL *in* Mozilla (as in that sample chapter), you can also use XUL to create stand-alone applications *like* Mozilla.

Update 5:35PM: Mozilla's XUL documentation

Update Saturday 3:55PM: The O'Reilly book was released under the Open Publication License and is online.

Posted at October 25, 2002 at 01:02 PM EST
Last updated October 25, 2002 at 01:02 PM EST
Comments

Stuttle hint for an idea for the project? ;-)

Sounds okay... (without having read any of the links yet). I just don't want to spend 80% of the time working on the UI...

» Posted by: Jimbo Jones at October 25, 2002 02:32 PM

I don't know enough about it to recommend it. I'll play with it a bit and post some samples.

» Posted by: Ryan at October 25, 2002 05:18 PM

I know a bit. Andrew and I went to the OCLUG (Ottawa Carleton Linux Users Group) meeting when they talked about it last month or so. They had the VP of Software Development (or somethin' similar) from Oeone.com who also works with XUL. They actually made a calender app for Mozilla. Check the website.

I personally was not that keen on it simply because you have to write everything from scratch. That and I'm not interested in that area too much. Also I wasn't aware of any syntax highlighting editors for XUL...then again, I did lose interest in the topic and I started daydreaming....ask Andrew, maybe he remembers :-)

» Posted by: roy at October 25, 2002 07:50 PM
Google
 
Search scope: Web ryanlowe.ca