Re: DevMo Beta

Axel Hecht <[email protected]>
Newsgroups gmane.comp.mozilla.documentation
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
Christian Biesinger wrote:
> fantasai wrote:
> 
>> It's not very pretty, but it's open to contributions and criticism.
>> No, the front page is not final. Yes, patches are welcome.
>>
>>   http://developer-test.mozilla.org/
> 
> 
> During random browsing, I stumbled over 
> http://developer-test.mozilla.org/xpcom/api/nsDirectoryService
> 
> I noticed that only a C++ sample was provided; but just yesterday 
> someone was asking for how to get the temp dir. from javascript (exactly 
> what the C++ sample there does).
> 
> So... Maybe all examples should be listed in C++ and JavaScript 
> variants? (if scriptable)

The idea is to start with one language binding (and some idl) and in a 
later step to try to automate some of the example code so that you could 
generate the different code segments automagically from one source (at 
least that's what I understand to be the idea).

I'd think that C++ is the way to start this off, as that can use 
anything, so you don't have to switch the language once you end up on a 
not-scriptable method. Though it's not perfect this way either.

Axel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.