Skip to main content

XUL Tutorials & Resources


XUL Questions and Examples - This tutorial gives answers to the following questions.



  1. How do I hide and show a XUL element?
  2. How do I get the mouse position on a element?
  3. How do I get the content loaded in an iframe?
  4. How do I parse a string of XUL? - 
  5. How do I create a form and submit it?
  6. Is there a way to show a simple message box?
  7. How do I sort content?
  8. How do I retrieve and modify Mozilla preferences?
  9. How do I get the text of the currently selected item in a tree?
  10. How do I put arbitrary elements in a tree?
  11. How do I add an image to a treecell? 
  12. How do I add a progress meter to a treecell?
  13. Do I need to load XUL from the chrome directory?
  14. Is XUL security different than HTML?
  15. How do I load XUL from a Web site?
  16. How do I use a tree with RDF stored on a remote server?



Getting started with extension development - This article describes steps needed to get started with extensions development. Last two sections have a few development tips and packaging information. Most of it is targeted at beginners in extension development, although the setup tips should be useful for everybody. This article is concise and doesn't go into discussing the technologies involved; it's more of a crash-course. Another, more detailed tutorial, is available at developer.mozilla.org.



Building a Firefox extension - extensive tutorial from Mozilla developer center.



XUL Tutorial - one of the most complete XUL tutorials with 13 chapters dedicated to building XUL applications.



11 XUL examples - pretty good collection of XUL examples.



XUL Tutorial on MozDev - the original XUL tutorial on MozDev site.



Fooling with XUL - a tutorial from O'Reilly's XML.com site. As far as buzzword-compliance goes, Mozilla boasts a host of W3C specifications, including XML, DOM, CSS, and RDF. I wanted to find out how all these bits fit together in reality, and how practical client-side development with Mozilla actually is. I attacked the problem in my favorite way, by just jumping in with an idea I wanted to implement.

XUL Planet - tutorials, developer guides, and variety of code samples.

XUL entry in Wikipedia - contains some outside links as well, and explains XUL in a nutshell.

XUL programming reference - from Mozilla,tThis document is a reference for the XML-based User Interface Language (XUL). Like the interface widgets that XUL describes, this reference is organized hierarchically. For example, almost all of the widgets inherit from the box widget, which means that they share the attributes described in that area of the reference. Where attributes are inherited, those attributes are italicized in the spelling for that widget. The menubar object and the attributes it inherits from box are a good example of this.

How to create Firefox extensions - a good tutorial looking into XPI model, all on one page.

Firefox toolbar tutorial - This tutorial explains how to create a toolbar extension for the Firefox web browser (specifically for version 1.5 and later). It provides an overview of how extensions are developed, the tools required to create an extension, and details on how toolbars are created. Please note that this tutorial is lengthy; I recommend spending time with it over the course of a few days (it makes for a good weekend read).

Connecting XUL applications to PHP - This article is introduces some of the technical aspects of getting XUL clients hooked up with PHP, based on the authors practical experience of building XUL user interfaces. There's also an article on rendering XUL GUI with PHP.

XUL projects

XUL App Launcher - check out different apps that were built with XUL.

XUL app for Amazon Web services - an example of a XUL application, which runs atop Amazon Web Services.

XUL periodic table - an application (written in XUL, naturally) that displays various components available in XUL.

Google in XUL - from Google.

EclipseXUL - XUL support for Eclipse.

Comments

Popular posts from this blog

Asynchronous Vs. Synchronous Communications

Synchronous (One thread):   1 thread -> |<---A---->||<----B---------->||<------C----->| Synchronous (multi-threaded):   thread A -> |<---A---->| \ thread B ------------> ->|<----B---------->| \ thread C ----------------------------------> ->|<------C----->|

WebSphere MQ Interview Questions

What is MQ and what does it do? Ans. MQ stands for MESSAGE QUEUEING. WebSphere MQ allows application programs to use message queuing to participate in message-driven processing. Application programs can communicate across different platforms by using the appropriate message queuing software products. What is Message driven process? Ans . When messages arrive on a queue, they can automatically start an application using triggering. If necessary, the applications can be stopped when the message (or messages) have been processed. What are advantages of the MQ? Ans. 1. Integration. 2. Asynchrony 3. Assured Delivery 4. Scalability. How does it support the Integration? Ans. Because the MQ is independent of the Operating System you use i.e. it may be Windows, Solaris,AIX.It is independent of the protocol (i.e. TCP/IP, LU6.2, SNA, NetBIOS, UDP).It is not required that both the sender and receiver should be running on the same platform What is Asynchrony? Ans. With messag...

Advantages & Disadvantages of Synchronous / Asynchronous Communications?

  Asynchronous Communication Advantages: Requests need not be targeted to specific server. Service need not be available when request is made. No blocking, so resources could be freed.  Could use connectionless protocol Disadvantages: Response times are unpredictable. Error handling usually more complex.  Usually requires connection-oriented protocol.  Harder to design apps Synchronous Communication Advantages: Easy to program Outcome is known immediately  Error recovery easier (usually)  Better real-time response (usually) Disadvantages: Service must be up and ready. Requestor blocks, held resources are “tied up”.  Usually requires connection-oriented protocol