FYI 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?
-Manu ---------- Forwarded message ---------- From: Luke Closs <[EMAIL PROTECTED]> Date: Mon, Mar 24, 2008 at 12:37 AM Subject: Re: JS-Python Communication using PyXPCom To: Tomeu Vizoso <[EMAIL PROTECTED]> Cc: Manusheel Gupta <[EMAIL PROTECTED]>, devel@lists.laptop.org, Dan Bricklin <[EMAIL PROTECTED]> On 23-Mar-08, at 11:37 AM, Tomeu Vizoso wrote: > On Sun, Mar 23, 2008 at 7:06 PM, Luke Closs > <[EMAIL PROTECTED]> wrote: >> On 23-Mar-08, at 3:03 AM, Tomeu Vizoso wrote: >>> thought I already had suggested this a long time ago, but anyway: >>> >>> - Create a XPCOM service in JS that exposes the spreadsheet >>> functionality implemented in JS. >>> >>> - Create another XPCOM service in python that exposes the needed >>> Sugar >>> functionality. >>> >>> Shouldn't this allow you to integrate SocialCalc in any way you >>> wish? >>> Creating these two components shouldn't be too hard. Please feel >>> free >>> to ask in this mailing list any doubts you have. >>> >>> Example of JS service: >>> http://dev.laptop.org/git?p=sugar;a=tree;f=browser/components/sessionstore;h=8f894b116ad745b0f7bc7c89e4787c89e60a9eb2;hb=309ddec8b769af42f577229bc5e3278c0328f1c4 >> >> Thank you very much for this link, it's exactly the kind of example I >> was looking for. I may have a followup question or two. > > Forgot to mention that perhaps we'll need to add to hulahop a function > for setting the dir from which the components need to be loaded > (probably a subdirectory inside the activity bundle). Should be quite > easy. Ahh, this was one of the missing pieces I was going to ask about. So just to clarify, this Hulahop/XPCom approach is not the same as using XULRunner, correct? I'm going to try to create a hello world type application to try creating the XPCom service in Javascript. Luke
_______________________________________________ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel