Re: More Luxor Questions and Answers
Gerald Bauer <[email protected]>
| Newsgroups | gmane.comp.java.luxor-xul.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Fred,
> - Some of the examples are essentially GUI-only,
while others
> have code "behind" them, yes ?
Yes. Please, check out the Luxor Notes -
http://luxor-xul.sourceforge.net/notes.html - Ramses
Example table for details.
> - Unix is not supported well, in Ant makefiles _or_
> in runfiles :-(
Ant buildfiles should run on any OS. I admit I still
develop on Windows and, therefore, haven't tested
builds on Linux.
Web Start startup scripts also run on any OS.
That leaves the shell scripts missing for Linux. Any
contributions are welcome.
> - There are many naming inconsistencies (i.e.
> directory names,
> jnlp names, and other names do not match)
Please, be more specific and provide some examples
including on how to improve the naming scheme. Again,
please consider contributing your own example
collection to lead the way.
> - Need a simple "Hello, World" example that handles
> events.
> For example, an <vbox>, a <label>, a <text>, and
> a <button>
> that appends "Hello, World!\n" to the current
> contents of the <text>
I agree. That's a good example to get started with
your collection.
> - Need an example of using DTD's for i18n
Luxor will support Velocity variables for i18n
instead of DTDs. I plan to add it once XForms support
is out (that is, in Beta 10).
> - Need an example of using an RDF datasource to
> populate an XUL object
Luxor will *not* support RDF datasources because I
think they are way to complex and plain XML docs will
do just as fine a job. Thank you very much. RDS
datasources are on the back burner and extremely low
priority.
> - Need content for the "slide show" example (in what
> format ?)
Open a directory holding pictures in jpeg, png or
gif formats. That should work.
> - Need an example of drag and drop (in Swing)
Just pick up a Swing book in a library or
bookstore. Drag and drop is plain-vanilla Swing
coding, no support is built into Luxor.
> - That "sahara" example is nifty and could be given
> more prominence,
> since it demonstrates an operating principle of
> Luxor, namely, how
> GUI's are interpreted and assembled
I agree. I have started the Luxilla project for the
same reasons.
> - In general, javadoc is lacking completely :-(
It's not included to cut down on the download size
(saving megs). Using the ant buildfiles you can
recreate the javadoc on your harddisk.
> - The directory structure is idiosyncratic and
> unfamiliar.
I agree that pairing the Java code with the chrome
makes sense and I put it on my todo list.
- Gerald
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
for complex code. Debugging C/C++ programs can leave you feeling lost and
disoriented. TotalView can help you find your way. Available on major UNIX
and Linux platforms. Try it free. www.etnus.com