<div>FYI</div>
<div> </div>
<div>Luke has been unable to post in the devel lists. The message that he posts in this mailing list bounces back. Is there a solution to this problem, or should I ask him to join the devel lists again?</div>
<div> </div>
<div> </div>
<div>-Manu</div>
<div><br><br> </div>
<div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Luke Closs</b> <<a href="mailto:luke.closs@socialtext.com">luke.closs@socialtext.com</a>><br>Date: Mon, Mar 24, 2008 at 12:37 AM<br>
Subject: Re: JS-Python Communication using PyXPCom<br>To: Tomeu Vizoso <<a href="mailto:tomeu@tomeuvizoso.net">tomeu@tomeuvizoso.net</a>><br>Cc: Manusheel Gupta <<a href="mailto:manu@laptop.org">manu@laptop.org</a>>, <a href="mailto:devel@lists.laptop.org">devel@lists.laptop.org</a>, Dan Bricklin <<a href="mailto:danb@bricklin.com">danb@bricklin.com</a>><br>
<br><br>
<div>
<div></div>
<div class="Wj3C7c"><br>On 23-Mar-08, at 11:37 AM, Tomeu Vizoso wrote:<br>> On Sun, Mar 23, 2008 at 7:06 PM, Luke Closs<br>> <<a href="mailto:luke.closs@socialtext.com">luke.closs@socialtext.com</a>> wrote:<br>
>> On 23-Mar-08, at 3:03 AM, Tomeu Vizoso wrote:<br>>>> thought I already had suggested this a long time ago, but anyway:<br>>>><br>>>> - Create a XPCOM service in JS that exposes the spreadsheet<br>
>>> functionality implemented in JS.<br>>>><br>>>> - Create another XPCOM service in python that exposes the needed<br>>>> Sugar<br>>>> functionality.<br>>>><br>>>> Shouldn't this allow you to integrate SocialCalc in any way you<br>
>>> wish?<br>>>> Creating these two components shouldn't be too hard. Please feel<br>>>> free<br>>>> to ask in this mailing list any doubts you have.<br>>>><br>>>> Example of JS service:<br>
>>> <a href="http://dev.laptop.org/git?p=sugar;a=tree;f=browser/components/sessionstore;h=8f894b116ad745b0f7bc7c89e4787c89e60a9eb2;hb=309ddec8b769af42f577229bc5e3278c0328f1c4" target="_blank">http://dev.laptop.org/git?p=sugar;a=tree;f=browser/components/sessionstore;h=8f894b116ad745b0f7bc7c89e4787c89e60a9eb2;hb=309ddec8b769af42f577229bc5e3278c0328f1c4</a><br>
>><br>>> Thank you very much for this link, it's exactly the kind of example I<br>>> was looking for.  I may have a followup question or two.<br>><br>> Forgot to mention that perhaps we'll need to add to hulahop a function<br>
> for setting the dir from which the components need to be loaded<br>> (probably a subdirectory inside the activity bundle). Should be quite<br>> easy.<br><br></div></div>Ahh, this was one of the missing pieces I was going to ask about.<br>
<br>So just to clarify, this Hulahop/XPCom approach is not the same as<br>using XULRunner, correct?<br><br>I'm going to try to create a hello world type application to try<br>creating the XPCom service in Javascript.<br>
<font color="#888888"><br>Luke<br></font></div><br>