XUL Domino View
I've always been interested in getting to know more about XUL. Over the weekend I found myself wasting spending some time having a play with it. Taking a starting point from Wolfgang Schmidetzki I produced a Domino view in XUL. It looks like this:

Want to see for real? You need to open the database - it's here - making sure you're using a Mozilla-based browser (any platform will do). There's one view in the database. Click on it (just so you know it's a normal view you're opening).
Nice isn't it. It's so easy too. Look at the source code; there's hardly any code involved at all!
Double-click a document to open/edit it. The New Document button works but the others don't. Also, you have to reload the whole page to update the "view" after creating a document. It's rough, but hopefully, it proves a point. I'll talk about the point tomorrow.
For more inspiration look at Wolfgang's XUL Portal screenshot.
Comments
Add your own response here:
Although your email address isn't required it is protected from spambots if you choose to provide it and not to hide it. My right to remove commercial, irrelevant or posts I just don't like is reserved.

How do i get the view to open? Clicking on the "test" view prompts to download a file?
Reply to this comment
Use Firefox or Mozilla ?
Reply to this comment
He that's cool, I can change the order of the columns trough drag and drop!
Reply to this comment
That is cool. I took a look with DOM inspector... the XUL is separate from the HTML document, which means you could probably get your view to refresh asynchronously without affecting the form displayed.
Very very nice, Jake.
Reply to this comment
Larry. You can add/remove columns using the little picker to the far right of the column headers too. It's like what the Java View Applet *should* have been ;o)
In theory we could make the columns sortable and add right-click features to it. Think Thunderbird inbox! The possibilities are almost endless...
Reply to this comment
Jerry. You can have the source for the tree/view be an RDF document and have it update at will. I think. Still lots to learn. Just not sure if I have the time to invest in it. It's very interesting, but is it worthng get to know in detail?
Reply to this comment
Jake that certainly is good stuff, thanks for the demo. I had to do a quick Wikipedia to find out what XUL was all about.
{Link}
Reply to this comment
If I click on the "h" it goes to the document with the title "hallo". If I continue typing with the "e" it goes to "hello".
If I click several times on the "h" with a short pause, it goes to the next document starting with an "h"
What more secrets does it have?
This is more than web development, this is full application development! Great for the CRM tool you wanted to buy/create. If you can create a CRM tool with this, I donate the first EUR 500!
Reply to this comment
But is it accessible? ;-)
Btw, it actually errored for me with Firefox 1.5.
Reply to this comment
Jake,
it looks like someone has broken the view with an apostrophe. You might want to escape that out...
tq
Reply to this comment
Woops. Fixed that now.
You're right Larry. It would be great for a CRM. It would of course be open to use from anywhere in the world. All you need is a computer with a Mozilla browser installed. What % of internet cafes cater for this I wonder?
Reply to this comment
@Jake
Could this work out?
{Link}
Reply to this comment
Based on the enthusiasm of the few responses so far, and the potential for applying this to just about ANY domino application, I think it is worth getting to know in detail, Jake.
P.S - just noticed the new Rockall Logo... very sharp!
Reply to this comment
This looks great but the issue is browser support. Without it working in IE, I know this is not going to fly with a lot of my customers.
Bummer, as it looks really promising.
Reply to this comment
xul does have limited use in the browser. It's not in IE and likely never will be. In Firefox, remote xul cannot access xpcom. However, in local xul, accessed via the chrome: protocol, it is a very rich environment for building rich client apps. Firefox itself for example. Another is Komodo (www.activestate.com), a tool I use every day. In local xul the column-picker, column ordering and column width ( Jake, add <splitter class="tree-splitter"/> between the treecolumns) are persistent...stored in your local xul cache giving user view customization entirely on the client.
But even loaded from a server, a Notes view implemented in xul feels better than any dhtml (ajax) view I've seen. And remember, it's all styled with css. I no longer have an account for serving Domino. Maybe I'll sign up and post some examples.
Reply to this comment
Here's a website wich descripes the pro and con of 6 different techniques to create a richtext application (XUL is one of them).
{Link}
Reply to this comment
XUL really is great but when I remember your accessability article then it is a no-go to use...
I am currently delving into Eclipse RCP (Rich Client Platform) which I think is a bit like the client counterpart to XUL.
When you see how easy it is to create a really professional looking client then you understand why IBM is moving to the Lotus Workplace technology.
Everything that demands for hacks in Lotus Notes is just there ready to use in Eclipse.
Imagine you need to implement a reporting mechanism, you just include the BIRT plugin and you can build professional reports in some hours...
Reply to this comment
I haven't used xul. There are complaints that people encountered problems, when trying to construct a bit more complex UI. My prejudice is that its smart but a too coarse grained approach for designing guis. Follow this with lots of interest, though.
Reply to this comment
Accessibility on the mozilla platform:
{Link}">Link}
{Link}">Link}
Reply to this comment
Accessibility on the mozilla platform (take 2):
{Link}
{Link}
Reply to this comment
Dan, regarding accessibility: what I wanted to say is that your web site is only accessible to Mozilla users when you use XUL. I used the wrong words :-(
Reply to this comment
I remember huge discussions between Gerard Bauer (check Richmond Post on google) and the very smart regulars on de.comp.lang.java.
In the years 2002/4 Gerard Bauer showed very aggressive manners to promote his java-xul stuff.
The arguments against xul seemed to point to the issue of lack of control for special cases, because xul were to coarse grained.
But I am no expert in this and don't want to bring people down. Just my prejudices.
Reply to this comment
I use "xul" to refer to mozilla's xul implementation which usually means xul+xbl+xpcom+javascript running on gecko.
My interest in xul is not as a web language but as a rich-client language. See Komodo, nvu, songbird and of course Firefox itself and all the other mozilla apps.
The Eclipse RCP (I really like SWT) is nice but even after using jython I'm losing the jvm love. But that's just me. It will be interesting to see any Eclipse RCP based app ever reaches the distribution leve lof Firefox.
Reply to this comment
The next generation GUI seems to be "something" like XUL. There are many different one but all rely on XML:
1. XUL running on gecko
2. XAML for Windows Vista
3. OpenLazlo (using Flash)
4. ....
Reply to this comment