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

World: r3wp

[Plugin-2] Browser Plugins

Anton
6-May-2006
[531x2]
Josh, to be precise, that's:  "I prefer: ask before (download + install), 
notify afterwards..."  - where "download + install" is one operation 
from the user's point of view.
So can we store a flag somewhere in the system? 
	automatic-security-updates = true / false;
[unknown: 9]
6-May-2006
[533]
I agree with Maxim as well, there needs to be UI somewhere to stop 
automatic downloads.


With that said, is it possible to clean this whole thing up and reduce 
it to one place where you either have what you need or you don't.


Using Adobe Acrobat as an example, they have one plug-in interface.

When you download stuff, it asks you if you want any of the other 
modules Adobe has for you.  In fact a close friend of mine created 
one of those modules (Atmosphere), which is funny that Adobe's interface 
even asks if you want this, since almost no one know what Atmosphere 
is.


So a single consistent dialogue should pop up with something like 
this:

You have:

Rebol command 1.3 for OSX
Rebol view 3.0 for OSX

New modules that are available:    

[_] Rebol view 3.0 for OSX
[_] VID2 interface Alpha for OSX


[X] Always ask before downloading

[Skip] [Download all now]
Pekr
7-May-2006
[534x11]
Hi, I am back after one week trip to Germany, so kind of difficult 
to catch-up with all that discussions and possible aproaches ....
But I will try to express my opinion here for those various topics:
Anton - no need to run separate RAMBO imo. Just add another product 
category - browser-plugin .... should be enough to be able to filter 
out plug-in related topics .... I like RAMBO - simple and not bloated 
....
As Graham or someone else suggested - let's sort out few issues first 
- UI, installation, integration ....
1) UI - we are not Flash player, we will likely produce real-life 
apps. So - do we give up right mouse click for configuration options? 
What if you will have your own one in your app? OTOH imo there NEEDS 
to be some UI for setting some parameters! Not everything which comes 
to my mind can be hidden from user. The ones which come to my mind 
- do you want to check for updates? Once a month, week, daily, Automatic 
downloade newer version? Ask, download. Use newest version if app 
does not specify its requirement? (maybe not needed, just an example 
of what could be configurable). Proxy settings .... List available 
version, provide uninstall button, etc.
to add to UI topic - should we add default border to the area plug-in 
is supposed to be? Should we add kind of app-bar, where configuration 
could be accessed? (could cause problems with app-area calculation). 
Or maybe to make it sliding, e.g. when you stay for more than few 
secs with a mouse over the top 5% of the plug-in app area? (could 
become annoying) - just throwing ideas around ...
2) Installation - I like several versions installation - IIRC even 
Java can coexist? I use it with mozilla - I run Mozilla suite or 
Seamonkey, various versions from various locations - they do share 
profile - settings, sandbox .... 'Needs field could work for us too. 
If the app specifies it, try to locate particular version. If such 
version is not available, display dialog, where you preselect latest 
version and provide with list-box, with ability to manually choose 
from available versions ... and "run" button ....
3) Integration - the toughest part - first - old plug-in way of integration 
was not optimal. REBOL's code  of 'get-net-info is outdated and broken. 
First thing is to get proxy info automatically, if possible, but 
still allow it to be settable. Most corporate users do use proxy, 
without it, plug-in in non-existant product for corporate environment 
imo. Why to allow manual settings? Well, dunno how many companies 
do use it, but our company does :-( ..... "use script for proxy configuration" 
- and the script is JS code, which browser can interpret, but not 
rebol itself, so we need ability to set it manually


... or - second point and probably the main point from the architecture 
pov - do we allow what rebol allows? Do we allow our own networking, 
or will we allow only to tunnel via browser? One one hand, we would 
get https, on the other hand, if we limit it, we are not talking 
about rebol anymore, but sligthly different rebol based product. 
As for me, I am not able to see all the security related concerns, 
so I let it to others here ...
As for simplicity, I do agree it all has to be as much automatic 
as possible. In IE is is better than in older Mozillas - you just 
click the plug-in area and it gets downloaded and started with the 
page refresh, not even browser restart is required IIRC ...
.... on more point to UI - I really don't know, what to do with pop-ups. 
I suggest, for REBOL 3.0 View, to have rebol based windowing system, 
not to use separate native OS dialogs, or we are doomed here. Each 
view/new means new window, and ppl who are used to add-block will 
feel uncomfortable imo ....
Did anybody try Cyphre's http://www.rebol.net/plugin/moz-1/cyphre-demo.html
in Mozilla? In Seamonkey I get sligtly different results than when 
it is being run in View directly ... e.g no sound, the wheels (second 
sequence) are blinking strangerly, there some some white-page breaks 
with nothing displayed, whereas in View there is some text ... (IIRC 
e.g. Sea Dream in the beginning is missing in browser)
[unknown: 9]
7-May-2006
[545]
Pekr - "1) UI - we are not Flash player, we will likely produce real-life 
apps. So - do we give up right mouse click for configuration options?"


I have no idea what you just said here.  Flash is used to make billions 
of dollars worth of complete stand alone product, as well as complete 
websites and small stand alone application that are delivered over 
the web.  


And they can completely control the right mouse button's access to 
a menu.


So, actually, we are JUST like a flash player.  In fact "flash player" 
is a misnomer, since it moved way past "playing" and into complete 
UI years ago.  Rebol and Flash really could not be any more similar.
Pekr
7-May-2006
[546x4]
Reichart - it is really strange you really can't understand, what 
I am talking about ;-)
go, find whatever website flash plug-in part of website, press right 
mouse - you will see menu for controlling flash script itself ... 
that is what I am talking about - you will find flash player related 
menu, not app related menu. And IF context menu is supposed to be 
under MY control, I can't guarantee you, that there will be SINGLE 
item left to configure rebol plug-in itself .... so, for me, Flash 
context menu is nearly nonexistant = used for Flash player itself, 
not for the app ...
... and if I understood it well, we are looking for unified way of 
how to access rebol plug-in configuration .... so my concern was, 
that if someone suggested right-mouse-click here, it could not be 
regarded being safe, because app developer can request such functionality 
for app itself, and in such case, there will be no way of how to 
access it ...
Reichart - and you imo overestimate Flash's importance - they can 
be milti-whatever company, yet I would have to see some noticed real-life 
app someone uses in corporate sphere :-)
Henrik
7-May-2006
[550x3]
pekr, I sort of agree with you, but it's impossible to ignore how 
widespread flash is, not for apps, but for animations, stylish pages 
and now video with youtube and video.google.com. I actually think 
the easiest way to watch video is through flash.


The point is though not really what flash does, it's how it gets 
spread. I think REBOL/Plugin should emulate that behavior as close 
as humanly possible. people who have installed flash, would know 
how to install REBOL/plugin (visit a specific site, wait for download, 
click 1-2 buttons, done). That initial "installation experience" 
is incredibly important for the widespread use of REBOL/plugin. If 
people can't use it within the first 1-2 minutes, they'll forget 
about it and move on.
The problem that REBOL/plugin needs to solve is that which current 
Java applications are only moderately successfully solving. They 
are slow, Java doesn't always install that easy and the level of 
interactivity offered by Java doesn't seem to make developers use 
it for other than specialized applications.
a problem I've noticed about flash is that performance is very uneven 
under different OS'es. Macromedia...oops Adobe :-) might not prioritize 
the OSX version as highly as the Windows version. Flash for OSX is 
absurdly slow compared to other graphics engines for OSX. It alienates 
the OSX users because of those issues. REBOL/plugin may not necessarily 
suffer such crossplatform issues.
Pekr
7-May-2006
[553]
Henrik, Reichart - there is no need to reply to flash being widespread 
or not, that all is misunderstanding. I did not start talks about 
multi-billion kind of stuff ;-) My only care and point was - how, 
UI wise, do we allow to invoke rebol/plugin configuration, so let's 
please stick to it :-)
Henrik
7-May-2006
[554]
would we allow to invoke any configuration at all? what's to configure? 
SMTP settings? Possibly sound. this makes me think of another thing: 
would we want to be able to send mail through the plugin? it would 
be very easy to create a spam bot this way.
BrianH
7-May-2006
[555]
Henrik, with my suggested default network restrictions, that kind 
of security problem just won't happen without bringing up a security 
requestor that the user must agree to first.
Pekr
7-May-2006
[556]
what is there to configure? lot's of things, just read my posts ....
Henrik
7-May-2006
[557]
sorry, I missed that. How does java do it? does it use the browser 
to tunnel data?
Pekr
7-May-2006
[558x2]
I am not sure .... my thoughts for config were more towards if/how 
often should it check for updates, manual proxy settings, sound, 
whatever else makes sense.....
but I would too not like to complicate things, if not necessary ....
[unknown: 9]
7-May-2006
[560x2]
Q: go, find whatever website flash plug-in part of website, press 
right mouse - you will see menu for controlling flash script itself 
... that is what I am talking about -

A: That is a choice of the developers.  The fact that people leave 
it as "default"


Q: Reichart - and you imo overestimate Flash's importance - they 
can be milti-whatever company, yet I would have to see some noticed 
real-life app someone uses in corporate sphere :-)


A: "I" over estimate Flash?  Uh, er….you mean like how Yahoo over 
estimated Flickr (front end is Flash), and bought them?  


Or, while you might not like it, if you are looking at an animated 
ad on the web, there is a good chance it is Flash.  That would be 
a 500 billion dollar industry that is using Flash as their delivery 
mechanism.  That is the app, animated content with games and click 
through.


And if you use T-Mobile, then you are using Flash.  Yup, it "is" 
the interface for their cellphone content provider.



Pekr, I'm not a fan of Flash, or Macromedia…I'm simply stating that 
Rebol should consider Flash's model as a pathway to a clean install 
and plug-in interface.
A smart plan is simply take the plug-in that is the most pervasive 
(I'm voting Flash for this) and copy their interface.  That simple.
Henrik
7-May-2006
[562x2]
reichart, it's possible that pekr means that you overestimate flash 
for use in applications, but I agree, we should definitely look at 
what Flash did and copy that where applicable.
I have only seen very few actual applications written in flash myself, 
but it's used everywhere for animated graphics.
Allen
7-May-2006
[564]
And flash works in Apple widgets.
[unknown: 9]
7-May-2006
[565x2]
I have seen a dozen applications used by companies.  The Neilsen 
Media company (famous for their Neilson Report of TV) uses Flash 
for all their applications.  


They could have used Rebol, but Flash is actually better for what 
they are doing.  If Rebol had more front end, or could play back 
SWF files thorugh AGG, then we might have something.


Rebol on the other hand is better for the heavy lifting, parsing 
websites, etc.
So, let's write up an overview of what is needed "exactly" to have 
a clean interface for a plug-in.  this needs to be done for 4 browsers 
(IMO): IE, FF, Safari, Opera (in that order).

See…this is where we need a wiki…like a Qwiki.
BrianH
7-May-2006
[567]
With Java, the applet is only allowed to communicate with the server 
that served up the applet. We could make that same restriction by 
default in the REBOL plugin with SECURE, and then relax the restrictions 
at runtime with SECURE again. Of course, that will cause the security 
requester to pop up and the user would then know what they should 
know and agree to anyways before such behavior is allowed at all.
ScottT
7-May-2006
[568]
how about a simple flag, like a checkforupdates="true" attribute 
or something.  Every other operation, including the sort of actions 
that are necessary to install update is handled through normal security 
requestors.  ... yeah, like Brian said :)
BrianH
7-May-2006
[569]
At least that is the case with anonymous applets. Signed applets 
may be able to do more, as signed REBOL scripts should be able to 
do as well.
Pekr
7-May-2006
[570x5]
Reichart - it is exactly as Henrik said - I just meant "real life 
apps", while you mentioned mostly media stuff, which is imo not Rebol's 
target and imo never will be, unless we would get some rebol authoring 
IDE, which I don't see coming in a year or two ahead ....
so all the point was that Flash does not necessarily mean Rebol is 
in the same league. But it was my non-knowledge - I did not know 
they can change menu, thanks for enlightenment, I thought the menu 
is the same because it (the plug-in)  is only a player .... I would 
vote for context menu, but in rebol, what is menu, right? We don't 
use native OS widgets, so just how to do it ....
I am not sure I am for requestor, because if more than one setting 
is needed, then you end up with more than one, popping-up when you 
don't need-it .... such automatism should be configurable ...
there is other possible way - Java adds icon to control panel .... 
that could be good option, not to limit UI of plug-in itself. So 
then, from such icon, we could have dialog with tabs, with various 
settings, could be reblet too .... IIRC Java even installs to Start/Apps 
....
as for browser preference, for me it is IE, FF, Opera, other ...., 
I can see Opera dominating embedded space (PDAs, cell-phones), but 
maybe it is because penetration of OS-X here is nearly non-existant 
... but as someone pointed out - whole world except MS uses Netscape 
API plug-in and even for IE, you can develop ActiveX, which wraps 
the same plug-in, so maybe RT would not have to develop separate 
versions .... otoh we are talking wrappers only anyway, the main 
part is View in .dll form ...
[unknown: 9]
8-May-2006
[575]
At Etech, the leding conference on new technology, about half of 
the attendees were on Mac....
PeterWood
8-May-2006
[576x2]
Whilst Mac is gaining in popularity with developers and may be re-gaining 
ground in the consumer market, it is still nowhere in the corporate 
world where it's still wall-to-wall windows.
..and "locked down" windows at that .... no user installs ... they'd 
 even disable browser plugins if they could
[unknown: 9]
8-May-2006
[578x2]
Yes, wall to wall windows, but Mac represents x2 to x4 in sales at 
thier %.
In other words, while they are about 2.5% world wide (4-7% in US), 
of personal system choice, they represent between 7% and 15% of individual 
software sales.

Wow!

I would not want to turn that market down. 

And……………my friends…………….the web is the great equalizer…
Ingo
8-May-2006
[580]
hmm, firefox extensions can get an entry in the options dialog, or 
they can be configured from the list of extensions ... haven't found 
anything like it for plugins, though.