[REBOL] Browser plug-in (was Independent /encap)
From: SunandaDH::aol::com at: 15-Aug-2003 14:59
Maxim:
> IMHO, REBOL as a web browser plugin is the MOST NEEDED evangelisation tool
> right now.. would flash have taken off as it has if it weren't
encapsulated
> as a web-plugin, I'm not sure...
>
> If we could just share our code and run it on a web browser, imagine how
> easy it is to brag, show and tell. just tell you friend to go to such and
> such web page (the installation is web based, just for the browser), and
poof,
> the ui opens.
RT did have an experimental plug in for an earlier version of Internet
Explorer, but it didn't get released for version 6.0.
Here's an easy way to produce a working demo of REBOL in a browser (I'm using
easy
in one of its less obvious senses).
-- write a tiny bit of Java (or Flash) to talk between the browser and REBOL
-- rewrite View's engine to produce SVG. Pass that back to the Java/Flash and
have the browser display it. It'll need to handle the appropriate callbacks
for VID objects.
Easy!!
Of course, SVG isn't that widely supported yet -- though most browsers can
handle it with the appropriate plug-in, so it'll take some time for SVG to be
widely accepted. That's just the time needed, probably, to write the View to SVG
conversion.
An easier, warm-up exercise, would be to write a View to XHTML conversion for
some of the more static features in View. relatively simple applications
could then be dual-platfomed: on the desktop or in the browser.
I've got no intentions of doing this myself, so feel free to pick up the idea
and run with it.
Sunanda.