Here is a step by step doc using Shavers nsISimple.

http://www.mozdev.org/no_wrap/notes/hello_world_js_component.html

O'Reilly is working on some mozilla books to be released when 1.0 is.

Hope it helps.

--pete


Mszlazak wrote:
> I found this on OReilly Publishing site and it looks like something I need but
> can't get a copy of it or contact author. Anyone know of place to get same or
> similar?
> 
> **************************************************************************
> ************
> Using JavaScript with XPCOM: Components the Easy Way
> Michael Ang, Linuxcare
> 
> The Cross-Platform Component Object Model (XPCOM) is a framework used in
> Mozilla that lets you write software components and access them in any
> XPCOM-compatible programming language (e.g. C++, JavaScript, Python).
> Components are typically written and used in C++, but the mechanics of doing so
> can be onerous. JavaScript provides an easier way of using XPCOM that is
> appropriate in many circumstances. 
> 
> This talk will cover the basics of XPCOM and show how to use it from
> JavaScript. We'll look at how to access existing components and the
> step-by-step process of writing a new component and making it available to
> XPCOM clients. 
> 
> By the end of this talk you should have enough information to write a new
> JavaScript XPCOM component that can be used by any XPCOM client. Specific
> knowledge of JavaScript programming and XPCOM is not required. 
> 
> This talk should appeal to anyone who is interested in extending the Mozilla
> browser or has an interest in XPCOM or other component object models (e.g. COM,
> CORBA, Bonobo). 
> 
> 



Reply via email to