[squeak-dev] How do you start squeak so that the web plugin can be used view the screen?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

[squeak-dev] How do you start squeak so that the web plugin can be used view the screen?

Frank Church-3
How do you start squeak so that the web plugin can be used view the screen?

Does it allow user to interface it as normal, like the regular graphic
browser, or is mainly for browsing objects?

Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] How do you start squeak so that the web plugin can be used view the screen?

Bert Freudenberg
On 22.03.2009, at 16:15, Frank Church wrote:

> How do you start squeak so that the web plugin can be used view the  
> screen?

Not sure what you mean. The web server serves a page with html code to  
embed an object with the application/x-squeak-source MIME type, and  
some parameters. The user's browser embeds the plugin, which in turn  
starts Squeak, which loads the image and runs it. In the case of  
Etoys, the image uses the passed arguments to download another file  
(the Etoys project) and shows that.

> Does it allow user to interface it as normal, like the regular graphic
> browser, or is mainly for browsing objects?

That depends on the image that is installed. In the Etoys image we  
hide the tools by default but you can still access them using Alt-
Shift-W.

Go to squeakland.org and download Etoys to try.

- Bert -



Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] How do you start squeak so that the web plugin can be used view the screen?

Frank Church-3
2009/3/22 Bert Freudenberg <[hidden email]>:

> On 22.03.2009, at 16:15, Frank Church wrote:
>
>> How do you start squeak so that the web plugin can be used view the
>> screen?
>
> Not sure what you mean. The web server serves a page with html code to embed
> an object with the application/x-squeak-source MIME type, and some
> parameters. The user's browser embeds the plugin, which in turn starts
> Squeak, which loads the image and runs it. In the case of Etoys, the image
> uses the passed arguments to download another file (the Etoys project) and
> shows that.
>
>> Does it allow user to interface it as normal, like the regular graphic
>> browser, or is mainly for browsing objects?
>
> That depends on the image that is installed. In the Etoys image we hide the
> tools by default but you can still access them using Alt-Shift-W.
>
> Go to squeakland.org and download Etoys to try.
>
> - Bert -
>
>

>From what you are saying it sounds like the plug in runs the VM in the
users browser and the image is also downloaded from the server to run
in the browser.

I thought it was more like the image running on the server and
displaying the output in the browser, ie with the browser running as a
remote display. Is it more of the former?

I downloaded what I presume to be the plugin from Etoys, but it is a
standalone program.

Did I miss the plugin itself, the plugin link takes me to back to the
downloads page. Is that download meant to be installed in the browser
some how?

Reply | Threaded
Open this post in threaded view
|

Re[2]: [squeak-dev] How do you start squeak so that the web plugin can be used view the screen?

Herbert König
Hello Frank,

FC> Did I miss the plugin itself, the plugin link takes me to back to the
FC> downloads page. Is that download meant to be installed in the browser
FC> some how?

it seems you downloaded but didn't _run_ the installer. You can check
this by going to the Squeakland.org Website, Select "Tutorials", then
"Interactive Demos" and then one of the demos.

This should start the plugin which then loads and starts a project
from the net.

The installer should install a version on your disk which can also run
standalone. So you have both.

I don't know the technical details but this is how it should work.

Cheers,

Herbert                            mailto:[hidden email]


Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] How do you start squeak so that the web plugin can be used view the screen?

Bert Freudenberg
In reply to this post by Frank Church-3

On 23.03.2009, at 00:03, Frank Church wrote:

> 2009/3/22 Bert Freudenberg <[hidden email]>:
>> On 22.03.2009, at 16:15, Frank Church wrote:
>>
>>> How do you start squeak so that the web plugin can be used view the
>>> screen?
>>
>> Not sure what you mean. The web server serves a page with html code  
>> to embed
>> an object with the application/x-squeak-source MIME type, and some
>> parameters. The user's browser embeds the plugin, which in turn  
>> starts
>> Squeak, which loads the image and runs it. In the case of Etoys,  
>> the image
>> uses the passed arguments to download another file (the Etoys  
>> project) and
>> shows that.
>>
>>> Does it allow user to interface it as normal, like the regular  
>>> graphic
>>> browser, or is mainly for browsing objects?
>>
>> That depends on the image that is installed. In the Etoys image we  
>> hide the
>> tools by default but you can still access them using Alt-Shift-W.
>>
>> Go to squeakland.org and download Etoys to try.
>>
>> - Bert -
>>
>>
>
>> From what you are saying it sounds like the plug in runs the VM in  
>> the
> users browser and the image is also downloaded from the server to run
> in the browser.

Squeak runs in the user's machine, yes, and the image is already  
installed.

> I thought it was more like the image running on the server and
> displaying the output in the browser, ie with the browser running as a
> remote display. Is it more of the former?

Of course you can run a Squeak web server, but that has nothing to do  
with the Squeak browser plugin. You do not need a plugin to see web  
pages generated by a Squeak web server.

> I downloaded what I presume to be the plugin from Etoys, but it is a
> standalone program.

The Squeakland installer installs both, a stand-alone version and the  
browser plugin.

> Did I miss the plugin itself, the plugin link takes me to back to the
> downloads page. Is that download meant to be installed in the browser
> some how?


Yes, it should have been installed. You need to quit the browser  
completely for the new plugin to get picked up.

If that does not work you have discovered a bug. What platform are you  
on?

- Bert -



Reply | Threaded
Open this post in threaded view
|

Re: Re[2]: [squeak-dev] How do you start squeak so that the web plugin can be used view the screen?

Frank Church-3
In reply to this post by Herbert König
On 23/03/2009, Herbert König <[hidden email]> wrote:

> Hello Frank,
>
>  FC> Did I miss the plugin itself, the plugin link takes me to back to the
>  FC> downloads page. Is that download meant to be installed in the browser
>  FC> some how?
>
>  it seems you downloaded but didn't _run_ the installer. You can check
>  this by going to the Squeakland.org Website, Select "Tutorials", then
>  "Interactive Demos" and then one of the demos.
>
>  This should start the plugin which then loads and starts a project
>  from the net.
>
>  The installer should install a version on your disk which can also run
>  standalone. So you have both.
>
>  I don't know the technical details but this is how it should work.
>
>  Cheers,
>
>  Herbert                            mailto:[hidden email]
>
>
>

The download link leads to the EtoysInstaller.exe which I have
installed and I can download the .pr files and run them, but there is
no plugin for the browser.

When I switched to Internet Explorer the plugin downloaded, so I guess
it is not available for Netscape/Mozilla. I will see if it works after
I restart Firefox

Reply | Threaded
Open this post in threaded view
|

Re[4]: [squeak-dev] How do you start squeak so that the web plugin can be used view the screen?

Herbert König
Hello Frank,


FC> When I switched to Internet Explorer the plugin downloaded, so I guess
FC> it is not available for Netscape/Mozilla. I will see if it works after
FC> I restart Firefox

i use Firefox, latest but it works like you describe for IE since I
use it and over several Etoys versions.

I talk about windows XP here.

Don't remember if its necessary to restart Firefox.


Cheers,

Herbert                            mailto:[hidden email]


Reply | Threaded
Open this post in threaded view
|

Re: Re[4]: [squeak-dev] How do you start squeak so that the web plugin can be used view the screen?

Frank Church-3
On 24/03/2009, Herbert König <[hidden email]> wrote:

> Hello Frank,
>
>
>  FC> When I switched to Internet Explorer the plugin downloaded, so I guess
>  FC> it is not available for Netscape/Mozilla. I will see if it works after
>  FC> I restart Firefox
>
>  i use Firefox, latest but it works like you describe for IE since I
>  use it and over several Etoys versions.
>
>  I talk about windows XP here.
>
>  Don't remember if its necessary to restart Firefox.
>
>
>
>  Cheers,
>
>  Herbert                            mailto:[hidden email]
>
>
>

It works with Firefox after I restarted, I was expecting a standard
plugin which works like the .xpi files.

Reply | Threaded
Open this post in threaded view
|

Re: Re[4]: [squeak-dev] How do you start squeak so that the web plugin can be used view the screen?

Bert Freudenberg

On 25.03.2009, at 13:12, Frank Church wrote:

> On 24/03/2009, Herbert König <[hidden email]> wrote:
>> Hello Frank,
>>
>>
>> FC> When I switched to Internet Explorer the plugin downloaded, so  
>> I guess
>> FC> it is not available for Netscape/Mozilla. I will see if it  
>> works after
>> FC> I restart Firefox
>>
>> i use Firefox, latest but it works like you describe for IE since I
>> use it and over several Etoys versions.
>>
>> I talk about windows XP here.
>>
>> Don't remember if its necessary to restart Firefox.
>>
>>
>>
>> Cheers,
>>
>> Herbert                            mailto:[hidden email]
>>
>>
>>
>
> It works with Firefox after I restarted, I was expecting a standard
> plugin which works like the .xpi files.


.xpi files are a packaging format for browser extensions. They only  
work on Firefox/Mozilla, whereas many more browsers (e.g. Opera)  
understand the plugin format itself (which is just a .dll on Windows).

So a .xsi would contain the plugin, but I'm not sure if it could  
contain the whole Etoys installation. If that was possible then yes,  
it would be valuable if someone made a .xsi installer. Contributions  
welcome :)

- Bert -