I'm not sure if will make all, but at least will try with the Smalltalk’s that run on Linux. Not sure with the others, because I don’t like to work on Windows.
To start I selected VisualWorks, because I give it a try on the past, version 5 if not bad remember, and willing to try it again, being that is from Aida/Web comes.
2. The startup script, named VisualNC need to be bash, not csh, then I replaced the first sentence (#!/bin/csh) with this one: #!/bin/bash.
And VWNC started smoothly.
First thing I noticed was the fonts a bit smaller to my current resolution, then I switched to the biggest (from Settings VW itself). And also I set the look and feel to Mac (Is the only way of have one of these here!).
After starting VWNC by first time I saved my own image to not broke the original, and then installed the parcel of Aida/Web. Also I searched something to have the code colored and found RBCodeHighlighting on Environment Enhancements category of Parcel Manager.
Having now a comfortable environment to work in, I started the port. As is a tiny app, on the Squeak version I did the UI on the same main class, with Morphic. Then the challenge here is learn a bit about the UI Painter (When I first tried VW, some years ago, I completed the Walk Through, and now I plan to base the work reading again this doc).
Porting some methods, an important thing I noticed, being that I comes from Squeak with no namespaces in mind, is the need of put the namespace name before the class name, as in the attached image: Swazoo.SwazooServer singleton sites (Thanks Janko by point it).
Well, is time to go back to real work, and wait having a bit of free time to continue playing with VW and the console port!
2 comentarios:
You might also look here:
http://www.cincomsmalltalk.com/userblogs/cincom/blogView?content=smalltalk_daily_vw_ui
and also here:
http://www.cincomsmalltalk.com/userblogs/cincom/blogView?content=smalltalk_daily_vw_widgets
for more info on using the VW UI Tools
Thanks by the links James, be sure I will look.
I was also searching an archive of the VWNC mailing list but not found it, may be?
Thanks by the help!
Publicar un comentario