[squeak-dev] Re: [ANN] Phobos for Squeak
Pavel Krivanek
squeak1 at continentalbrno.cz
Sat Oct 13 20:51:40 UTC 2012
Notice that (unfinished) OmniBrowser binding works on Squeak too.
To load it you need this code:
(Installer repository: 'http://www.squeaksource.com/MetacelloRepository')
addPackage: 'ConfigurationOfOmniBrowser';
install.
(ConfigurationOfOmniBrowser
project version: #stable) load: #( 'Dev' 'Dev Tests').
(Installer repository: 'http://smalltalkhub.com/mc/PavelKrivanek/Phobos/main')
addPackage: 'Phobos-OmniBrowser';
install.
This is the startup code:
| app |
OBPlatform current: OBPhobosPlatform new.
app := PhobosLauncher new.
app startOnWebClient.
Cheers,
-- Pavel
On Sat, Oct 13, 2012 at 10:29 PM, Pavel Krivanek
<squeak1 at continentalbrno.cz> wrote:
> Hi,
>
> I created a port of Phobos (framework for creation of native user
> interface using XULRunner) to Squeak too.
>
> http://code.google.com/p/phobos-framework/
>
> It uses WebClient instead of Zinc. To load Phobos evaluate:
>
> (Installer repository: 'http://www.squeaksource.com/WebClient')
> addPackage: 'WebClient-Core';
> install.
>
> (Installer repository: 'http://www.squeaksource.com/Seaside30')
> addPackage: 'Grease-Core';
> addPackage: 'Grease-Pharo-Core';
> addPackage: 'Seaside-Pharo-Continuation';
> install.
>
> (Installer repository: 'http://www.squeaksource.com/SCouchDB')
> addPackage: 'JSON';
> install.
>
> (Installer repository: 'http://smalltalkhub.com/mc/PavelKrivanek/Phobos/main')
> addPackage: 'Phobos-Core';
> addPackage: 'Phobos-XUL';
> addPackage: 'Phobos-HTML';
> addPackage: 'Phobos-Demo';
> addPackage: 'Phobos-WebClient';
> install.
>
> To start the server evaluate:
>
> app := PhobosDemo new.
> app startOnWebClient.
>
> ATTENTION: You will need to modify start.st script in the bundle.
>
> There is one main ugly difference from Pharo, If an error on Smalltalk
> side is raised, no debugger is opened. You will get the information
> about an error only on the JavaScript side in JSConsole:
>
> "
> Error: The connection to ws://localhost:46528/newSession has
> terminated unexpectedly. Some data may have been transferred.
> Source File: chrome://myapp/content/main.js
> Line: 132
> "
>
> Cheers,
> -- Pavel
More information about the Squeak-dev
mailing list
|