r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[Plugin-2] Browser Plugins

JoshM
4-May-2006
[388]
Further, let's say he decides to clean out his computer. If he removes 
REBOL 1.3.2, seeing that it is an "old" version, he will inveitably 
break the web sites that rely on 1.3.2.
Anton
4-May-2006
[389x2]
Yes, but he must take responsibility for his own actions there.
How can you take responsibility for an automatic updater's actions 
?
JoshM
4-May-2006
[391]
Sure, I understand that makes sense for developers, but I can see 
real confusion. Since when does a web site tell you that it requires 
Flash version 3.0? All Flash scripts run in the latest version of 
Flash, so if you have Flash 8, you're all set on any Flash web site 
(I think...someone correct me if I'm wrong).
BrianH
4-May-2006
[392]
The plugin should look at parameters to see which version is needed 
(or the Needs header) and load the latest in the applicable line. 
If it is not installed, it should offer to install it.
JoshM
4-May-2006
[393]
Remember, we have to think about Grandma Sally who just figured out 
how to use Internet Explorer. If she gets frustrated with this thing 
called "REBOL", we're outta market share. It's got to be easy for 
even her.
Anton
4-May-2006
[394]
Rebol 3 is not going to run Rebol 2 stuff, so we're not like Flash 
straight away.
BrianH
4-May-2006
[395]
Since REBOL is so small, parallel installs make more sense than compatibility 
modes. This isn't Perl or Java you know.
Anton
4-May-2006
[396]
My plan above is easy to implement for now. It's good for us developers 
in the near term.  Later we can add a complex auto-update scheme 
which can be manually switched on by a right-click menu.
JoshM
4-May-2006
[397x4]
Hmm. Interesting. I need to think about that one.
Right now, the plugin is linked to its version of viewdll. It can't 
really "choose" which viewdll to load.
Especially since, with a new release,  we may need new features in 
the plugin *itself*, and not just in viewdll.
That's a complicated issue.
BrianH
4-May-2006
[401]
I like the API being able to wrap a one dll from each generation, 
and then update that dll for security fixes.
JoshM
4-May-2006
[402]
Anton, your side-by-side idea is a good one. The problem is that 
I'm not sure it's automatic enough the average user.
BrianH
4-May-2006
[403]
The plugin itself can handle the automatic updates, or call an updater 
that can handle plugin updates too.
JoshM
4-May-2006
[404]
Our original thinking with the plugin was as follows: Web site is 
responsible for everything. If web site requires new version of plugin, 
it specifies a new CLSID and forces the user to download it. The 
problem is, then you have 5 "REBOL/Plugin" objects in Downloaded 
Program FIles. Thoughts on that approach?
Anton
4-May-2006
[405]
It's a simple "proto-form", good for development while we think and 
argue about a good update mechanism.
JoshM
4-May-2006
[406]
Hmm OK interesting. I like the argument though. Good exercise for 
the brain. :)
BrianH
4-May-2006
[407]
Java has something like the Needs header in specified in applet params. 
REBOL has the Needs header.
Anton
4-May-2006
[408x2]
Website out on the web should have *no* control over decision making 
- only suggestions.  Website on a corporate trusted LAN should have 
heaps of control.
What are we developing for first ? I think it is the "wild web" first, 
isn't it ?
JoshM
4-May-2006
[410]
Interesting. OK, so we're leaning towards parallel side-by-side  
installs with automatic overwrite updates for security fixes?
Anton
4-May-2006
[411]
(We should clarify this.)
BrianH
4-May-2006
[412]
Sounds good to me.
JoshM
4-May-2006
[413x2]
Yes, we're developing for the wild wild web.
:)
Anton
4-May-2006
[415x2]
I'll compromise if you guys are set on this (slightly comlex) scheme.
(slightly complex)
Graham
4-May-2006
[417x2]
I'd prefer ease of use over anything else.
I dislike being asked by my kids to install stuff for them all the 
time ...
Anton
4-May-2006
[419]
(I just know the version checking is going to cause subtle problems. 
There's nothing simpler than a old-version < new-version test)
BrianH
4-May-2006
[420]
I also like being able to specify the REBOL generation in the Needs 
header of the script. It is more reliable than requiring it in applet 
params, and more compatible with View. Still, aplet params may be 
prefered if you don't want the launcher to have to read REBOL headers.
Anton
4-May-2006
[421]
Understood Graham, but we're not there yet.
Graham
4-May-2006
[422]
And my kids are more savvy than Grandpa Sally
JoshM
4-May-2006
[423]
I want to sleep on this. Good ideas. We still need to think of a 
good UI....I originally thought a popup "An update is available for 
REBOL/Plugin for Internet Explorer.  Would you like to update now"?
Anton
4-May-2006
[424]
They should be able to figure out a right-click menu.
JoshM
4-May-2006
[425]
I think right-click is too hidden. Plus, applications need right-click 
support anyway right?
BrianH
4-May-2006
[426]
I kinda like allowing apps to have their own right-click menus.
Anton
4-May-2006
[427]
Popups suck. Could put it in the plugin space.
Graham
4-May-2006
[428]
avoid double/right clicks
BrianH
4-May-2006
[429]
Ouch.
Anton
4-May-2006
[430]
Right about right-click....  Just thought of it thinking of Flash 
plugin.
JoshM
4-May-2006
[431x2]
What about a little bubble down by the clock? Of course that would 
only work on Windows, maybe 2000 or later.
And we have to be cross-platform back to 98
Anton
4-May-2006
[433]
no, must be in browser.
BrianH
4-May-2006
[434]
I think a prompt is better, particulary for security updates.
JoshM
4-May-2006
[435]
Flash uses right-click?
BrianH
4-May-2006
[436]
Does Flash use right-click on Mac?
JoshM
4-May-2006
[437]
Maybe status bar in browser? too hidden probable.