about semantic web, software architecture and life in general

This is an archived version of my blog.
See also my homepage.

Post details: XUL - Mozilla Application Framework

2007-02-27

Permalink 03:32:04, Categories: Semantic Web, Software Development, Presentations   English (EU)

XUL - Mozilla Application Framework

This is a presentation about XUL and Mozilla Application Framework.

Presented it at DERI Reading group some time ago. Now putting some slides online and this is the first of them.

[ XUL + RDF + JavaScript + CSS ] forms a framework used to build all Mozilla applications and Firefox, SeaMonkey, Thunderbird, ... extensions. There is also XBL and XPCOM for more demanding applications. It is interesting that this framework is one of first widespread uses of RDF (even though you might not be aware that it has RDF under the hood).

[More:]

"Harnessing the Mozilla Platform" - a presentation by Brian King - contains a more detailed description of the Mozilla Application Framework, including this architecture diagram:

An interesting and promising development is PyXPCOM which lets you access XPCOM objects from Python, to create your own XPCOM components and to embed Gecko engine in Python application.

It allows to write Mozilla applications in Python, which I would prefer over JavaScript.

Question: according to the Mozilla architecture figure above the script layer can be JavaScript or Python. Does this mean that Firefox extensions can be written in Python now?

Answer: No, you should not write Firefox extensions in Python. Firefox does not come with PyXPCOM built-in and you would have to build it yourself in order for such extensions to run. See more details in comments. Thanks, Brendan!

Technorati Tags: | | | |

Comments, Pingbacks:

Comment from: Brendan Eich [Visitor] · http://weblogs.mozillazine.org/roadmap
Does this mean that Firefox extensions can be written in Python now?

No, not unless you also ensure that C-Python is equipped (the right version, and for the user's OS -- harder on Windows, obviously), and you ship the necessary Python XPCOM DLL. We don't ship these things with Firefox, as they are large and would bloat the download for millions of users who don't need them.

/be
PermalinkPermalink 2007-02-28 @ 02:50
Comment from: Bowtrol [Visitor] · http://colon-cleanse-advice.com
Thank you very much for this presentation and I think that you have done a detailed explanation. Thanks for the new possibilities.
PermalinkPermalink 2008-10-28 @ 20:35
Comment from: Reuben - Belly Button Rings [Visitor] · http://piercing.optdvd.com
ohh!
;)may be i'm not so good in reading but... there are some signs i can't read can someone help me? but the rest is nice thanx!
PermalinkPermalink 2008-11-06 @ 14:52

Page served in 0.323 seconds

Valid XHTML 1.0! Valid CSS! Valid RSS! Valid Atom!