Open main menu

CDOT Wiki β

Changes

XUL

2,019 bytes added, 10:50, 6 October 2006
no edit summary
=Discussion=
XUL is an [http://en.wikipedia.org/wiki/Xml XML] language and thus has the advantages of being cross-platform also allows for the insertion of other XML languages into it such as [http://en.wikipedia.org/wiki/Xhtml XHTML], [http://en.wikipedia.org/wiki/MathML MathML] and [http://en.wikipedia.org/wiki/Svg SVG]. Also because of its localized structure it can be easily translated into other languages.
 
XUL is often used for creating Mozilla extensions, such as [http://chatzilla.hacksrus.com/ ChatZilla]. Web applications can and do utilize XUL, but these are rare (typically proof-of-concept, such as the [http://faser.net/mab/chrome/content/mab.xul Mozilla Amazon Browser]). These XUL-based web applications can be confused for a native desktop application as they share many similar graphical widgets (text box, button, label, list box, check box, tree, menu, toolbar and more).
 
Tip: If a web application is the goal, it is wise to use XUL with the XMLHttpRequest JavaScript object to make a responsive, "snappy" application that not only looks like a desktop application, but acts likes one speed-wise.
 
Standalone XUL applications are more popular than web-based ones as the browser restricts operations (due to security concerns). When developers seek to add more functionality, a XUL application can be installed locally and will utilize [[Chrome]] so that it may be granted elevated privileges.
 
Currently, an application named [[XULRunner]] is being developed that will offer a runtime environment for XUL applications.
==Common Usages==
* GIF, JPG, PNG, BMP, ICO images
* HTTP 1.1
 
=Example Applications=
*[http://faser.net/mab/chrome/content/mab.xul Mozilla Amazon Browser (MAB)] - Rich web application that allows for searching of Amazon's content across their 6 websites (US, Canada, UK, Japan, Germany and France). Can be used through the web or [http://faser.net/mab/download/mab-142.zip downloaded] to the desktop.
*[http://www.hevanet.com/acorbin/xul/top.xul XUL Periodic Table] - Demonstrates many of the visual capabilities of XUL.
 
=Newsgroups, Mailinglists, IRC Channels=
*[news://news.mozilla.org/mozilla.dev.tech.xul mozilla.dev.tech.xul newsgroup] (alternatively, use [http://groups.google.com/group/mozilla.dev.tech.xul Google Groups])
*[https://lists.mozilla.org/listinfo/dev-tech-xul dev-tech-xul mailinglist] (manually use [mailto:dev-tech-xul@lists.mozilla.org dev-tech-xul@lists.mozilla.org])
*[irc://irc.mozilla.org/#xul #xul on irc.mozilla.org]
=Resources=
1
edit