[squeak-dev] [ANN] Phobos for Squeak
Bob Arning
arning315 at comcast.net
Mon Oct 15 16:56:32 UTC 2012
Pavel,
Looks interesting, but lacking enough unix geekdom, I'm a bit stymied by
run XULRunner with -jsconsole argument. It shows the JavaScript console
I tried stuff like this:
robert-arnings-computer:PhobosDemo.app bob$
Contents/Frameworks/XUL.framework/Versions/16.0/xulrunner --app
/Contents/Resources/application.ini
Error: couldn't parse application.ini.
and can't seem to find the winning combination. Can you help?
Thanks,
Bob
On 10/13/12 4:29 PM, Pavel Krivanek 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20121015/4178cb0b/attachment.htm
More information about the Squeak-dev
mailing list
|