Dhruba Bandopadhyay wrote:
> PS: I have looked and read over the XPCOM & XUL documentations. It is not 
> clear whether one needs to install a SDK or something and whether the pages 
> will work in IE. 

No, the page doesn't work with IE. No, you don't have to install anything, but
the Mozilla/Firefox browser.

Before developing an application in XUL you need to answer 2 questions:

1. Does your application have to run as a remote application? It means that the
user can load the application as a normal web page without installing anything.

2. Does your application need to access local file system?

If your answer is 1 you can't use XPCOM, you need only XUL for design the UI and
you will use Javascript, CSS, DOM for anything else.

If your answer is 2 you must use XPCOM, and you can follow 3 ways:

a) Install your app as a firefox extension
b) Run your app as a standalone application using XulRunner
c) Sign your javascript, so the user doesn’t have to install anything, but the
browser asks for more privilege.

If you follow this route, in theory, exactly the same app can run in all 3
environments (browser like web page, Firefox Ext, Standalone).

If you are looking for remote xul check out these demos:
http://filemanager.mozdev.org
http://faser.net/mab
http://www.georgenava.com/applauncher.php
http://demo.webdevelopers.cz/










_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom
  • XPCOM vs XUL Dhruba Bandopadhyay
    • Re: XPCOM vs XUL Fabio Serra

Reply via email to