[Dev] gui instance host question
Henrik Frisk
mail at henrikfrisk.com
Thu Jul 10 11:09:51 BST 2008
Jamie Bullock <jb at integralive.org> wrote:
> On Wed, 2008-07-09 at 18:33 -0400, Stephen Sinclair wrote:
[snip]
> ... seriously though, the Wiki is intended to be a workspace for
> exploring current and future ideas. There is probably some stuff on
> there that is either out-of-date, or will never happen. (maybe I should
> make that clear on the Wiki front page?)
>
That is probably a good idea...
[snip]
> > So, since it's *optional* to use OSC for communicating with
> > libIntegra, do you think at this moment it is more worthwhile to use
> > it as is, or to work on the C API? I have successfully been writing a
> > bridge (integra_xpcom_bridge) for a XULrunner-based application.
>
> Wow, cool, someone's actually going to *use* libIntgera. Not only that,
> they're actually writing a new bridge. This is really exciting stuff for
> us!
>
Yes, this is really great! Furthermore, only between the three of us,
disregarding the GUI for a moment, there seems to be a lot of
interesting projects coming out of Integra.
[snip]
>
> > I am thinking now that if I just implement a JavaScript API to
> > libIntegra, which uses either XPCOM or OSC for transport, the rest of
> > the XUL application can ignore how it actually works.
>
> Would that be *instead* of using the C API?
>
I would think a wrapper to the C API? At any rate, I'd be *very*
interested in working with this as well. I already have a functional
parser of integra XML (written in Java, tranformed to javascript using
GWT). Needless to say, if we could be using the functionality of the
library instead, we'd be much better off
> > We could then
> > also later implement an XMLHttpRequest-based back-end for the exact
> > same JavaScript API and end up with a web-style application that runs
> > the same locally or through the browser.
>
> This is very much along the lines we have been thinking. In particular
> Henrik is working on offline web app for working with Integra Bundles.
>
And this is one of the reasons we may want to have the possibility for a
(plugable) XML-RPC server in the library that can serve apps on
localhost or on a local network. Fact is, this would be one way to deal
with the on/offline issue: The library acts as an 'offline' server when
db.integralive is not reachable, and as a proxy otherwise.
[snip]
More information about the Dev
mailing list