Hi Alexandre, there are some bundles based on Pharo 2.0 on the CI: https://ci.inria.fr/pharo-contribution/view/Phobos/. They work slightly differently because Pharo server is started by the JavaScript client internally. It's not so easy then to modify Smalltalk sources mainly on Mac. I'm not sure that it makes sense to waste space on our servers to provide almost the same thing when people can play with it using few more clicks. However maybe I will add them.
Cheers, -- Pavel 2014-02-26 2:26 GMT+01:00 Alexandre Bergel <[email protected]>: > I do not have much time to play with this, but can you give a one-click > ready-to-use example? > > Alexandre > > > On Feb 25, 2014, at 8:07 PM, Pavel Krivanek <[email protected]> > wrote: > > > If you want do develop applications in Pharo with native user interface, > you can use Phobos framework based on Mozilla XULRunner client. However to > start with it required to download a bundle for your platform and make some > modifications in configuration files. > > > > To make the entry point easier I created a configuration of Phobos that > you can download directly in the Configuration Browser in Pharo 3.0. During > the download it will ask you whether you want to run PhobosDemo > application. Answer yes and it will download required files for you > including XULRunner for your platform into the working directory (on Linux > it expects xulrunner is already preinstalled). Mainly on Windows make sure > that Pharo is enabled on your firewall because it needs to start a server > (default port is 46528). Then it should show a window with rich demo of > Phobos capabilities. You can play with sources of the PhobosDemo package. > > > > To start to write your own application firstly stop the demo: > > > > PhobosDemo allInstancesDo: #stop. > > > > Then make own subclass of PhobosApplication, create own subclass of > PhobosComponent and specify it in your application class as mainClass. Star > the server. > > > > app := MyPhobosApp new. > > app start. > > > > ..and restart the client. It is useful to run the client with the > argument -jsconsole to show errors on the JavaScript side. On MacOS you > need to modify the file PhobosDemo.app/Contents/MacOS/start.sh > > > > Please let me know if something will went wrong. > > > > Cheers, > > -- Pavel > > -- > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: > Alexandre Bergel http://www.bergel.eu > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > > > > >
