about semantic web, software architecture and life in general

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

This post has 10 feedbacks awaiting moderation...

Leave a comment:

Your email address will not be displayed on this site.
Your URL will be displayed.

Allowed XHTML tags: <p, a, ul, ol, li, dl, dt, dd, address, blockquote, ins, del, span, bdo, br, em, strong, dfn, code, samp, kdb, var, cite, abbr, acronym, q, sub, sup, tt, i, b, big, small>
(Line breaks become <br />)
(Set cookies for name, email and url)
(Allow users to contact you through a message form (your email will NOT be displayed.))

You can just use your OpenID to provide your name, e-mail and url.

captsolo weblog

See also:

September 2008
Mon Tue Wed Thu Fri Sat Sun
 << <   > >>
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30          

Search

Gallery

www.flickr.com
captsolo's photos More of captsolo's photos

Categories


Misc

Syndicate this blog XML

powered by
b2evolution
Page served in 0.466 seconds

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