MozillaZine

Introduction to the XUL Runtime Environment

Thursday November 7th, 2002

Aaron Andersen of XulPlanet has written an introduction to the XUL Runtime Environment (XRE).


#1 This is cool...

by robdogg

Friday November 8th, 2002 12:22 AM

Reply to this message

...but is truly lacking and sorely needed is an IDE that targets Mozilla development.

#2 Totally Agree

by TonyG <tony.gorman@blueyonder.co.Yuk>

Friday November 8th, 2002 5:46 AM

Reply to this message

Great opportunity there to build an ide in XUL for XUL development...

#3 Two Cents

by sjbrown

Friday November 8th, 2002 11:40 AM

Reply to this message

The big stumbling block for XUL applications is the learning curve, IMHO. Doing GUI in XML is an idea whose time has come, but XUL just can't compete in the learning curve arena with Glade.

For instance, here is a hello world app using libglade: from gtk import * from libglade import *

widgetTree = GladeXML("hello.glade") signalDict = { "on_window1_destroy" : mainquit } widgetTree.signal_autoconnect (signalDict) mainloop ()

And here's one using XUL: <http://www.geocrawler.com…/3/137/2000/10/0/4572822/>

#4 Two Cents (whoops!)

by sjbrown

Friday November 8th, 2002 11:42 AM

Reply to this message

the formatting isn't quite right for that code, but suffice to say it's 6 lines, and there are no classes, com interfaces, special IDs, contracts, etc.

#6 Re: Two Cents

by luserSPAZ

Friday November 8th, 2002 2:00 PM

Reply to this message

Err, what you've linked to is a Python XPCOM sample. I'd say that's significantly more advanced than a XUL hello world app. I think that perhaps <http://www.xulplanet.com/…/findfile-buttons.xul.txt> is a better "hello world" style app. And to add interactivity, you can just write some javascript, no need to write C++/Python, but of course you can if you'd like.

#5 Java and XUL?

by mbokil

Friday November 8th, 2002 1:59 PM

Reply to this message

I think this is great that XUL will become an aplication runtime. How about using Java though? I never liked the swing UI widgets in J2SDK. I would like to see a Java API for XUL so programmers fluent in Java could take advantage of UI construction in XML using XUL.

Keep in mind though XUL has the same problem as Java. Without a runtime engine the applications will not work. Also how about performance and garbage collection? How will complex applications run? Fast or dog slow compared to native applications. Any data on the performance issues?

-Mark

#8 Re: Java and XUL?

by masi

Saturday November 9th, 2002 2:37 AM

Reply to this message

There has been an attempt to implement XUL in Java. I don't know how far the project got. It's probably been abandoned by now.

OTOH, there is Blackwood and its Java-XPCOM brigde. Though this Mozilla project doesn't seem to be actively maintained.

The fomer project will get you an all-Java-app the latter either a ative app with Java-extensions or a Java-app with an embedded Gecko.

Masi

#10 Java XUL Implementations

by chrishaff <chris@binteractive.com>

Tuesday November 12th, 2002 9:46 AM

Reply to this message

From SourceForge:

Luxor (Beta, but very active) <http://sourceforge.net/projects/luxor-xul/>

jXUL (v1.0) <http://sourceforge.net/projects/jxul/>

#7 tarball size

by Diago

Saturday November 9th, 2002 2:15 AM

Reply to this message

So, if I understand it correctly phoenix tarball size can be decreased by another 2-3 MB if XRE is already installed? But if the XRE version is outdated you'd need to get a new one.

#9 Re: tarball size

by zreo2 <aa@globecom.se>

Monday November 11th, 2002 3:26 AM

Reply to this message

It would be nice if it worked. But if you look at JAVA one big problem is that alot of software includes JAVA Runtime so you might find 5-6 versions of JAVA when you have a look at your harddrive.

#11 test

by nguyen_alex

Friday November 15th, 2002 2:25 AM

Reply to this message

X