smalltalk
August 16, 2011 18:33:19.093
posted by James Robertson
smalltalk
August 15, 2011 15:58:35.148
I started a serious look at upgrading our codebase from VW 7.6 to VW 7.8 today (at least, until the next crisis appears on the horizon). The first thing I did was locate this workspace script I created late last year:
"report to a file"
file := 'mesOverrideReport.txt' asFilename writeStream.
file nextPutAll: 'For VW 7.6 with MES Loaded'; cr; cr.
"find all the overridden classes"
overriddenClasses := SmalltalkWorkbench sortedClasses select: [:each | Override isOverriddenClassOrNameSpace: each].
overriddenClasses do: [:each |
file nextPutAll: each fullName asString.
file cr; tab.
file nextPutAll: each instVarNames printString.
file tab.
file nextPutAll: each instVarNames size printString.
file cr; cr].
file close.
Once I had that, I created a little class that imported that data, massaged it a bit, and then grabbed the equivalent data for the 7.8 classes (I had to load a few packages to get all of that to happen. The crux of my check was to ask the objects I created this question - if the 7.6 class had more instance variables, but they otherwise matched (or vice versa for the 7.8 class), then loading the class definitions (remember, these are overrides of class definitions) would be smooth. Doing that reduced my problem space from 29 classes down to 7, and a quick manual check of those reduced it to 2. One of those was obsoleted in 7.8 (per the release notes), so I can either change the code, or just load in our (now obsolete) override.
That left me with one class where the shape had changed in a reall incompatible way, and that will entail going back to 7.6 and changing the class definition. I'll then push that into my local repository (I created a SQLLite Store to manage the tons of useless intermediate versions I'll create). That should let me at least load the code into 7.8. Lots of things will be broken, of course - there are all the method overrides to deal with. Half the battle is getting the code to load though, and I'm most of the way there now.
Technorati Tags:
upgrade, visualworks
posted by James Robertson
smalltalk
August 14, 2011 18:56:32.123
I saw this on the ESUG mailing list:
We are pleased to announce the first version of SmallHarbour.
SmallHarbour is a public fork of SeasideHosting, running on top of Pharo, Seaside and Cog - driven by Romain Verduci and Laurent Laffont for ESUG SummerTalk 2011.
The main goals are:
- people should be able to (easily) setup their own web application deployment platform
- provide a public service for hosting web applications.
- be able to setup a web application without Smalltalk knowledge in one click.
Actually SmallHarbour support Pharo and Seaside, but we expect to support Iliad and AidaWeb framework soon.
Technorati Tags:
seaside
posted by James Robertson
smalltalk
August 14, 2011 11:33:54.487
Stephanne Ducasse will be giving a free "Intro to Smalltalk" lecture before ESUG 2011 opens at the site Saturday, August 20:
Discovering Smalltalk Smalltalk is a pure and elegant object language. This lectures will cover the fundamental aspects of Smalltalk: syntax, semantics, and key aspects of the system. Doing so we will also revise the real semantics of self/super. We will show the power of polymorphism in action by simply learning from the system. Finally we will go into more design aspect again based on the systems. As a bonus we will start the lecture with a 15 min presentation of Seaside a powerful web framework for dynamic web application.
This lecture may be followed by a lecture on more advanced object-oriented design: law of demeter, encapsulation, multiple interface of classes, composition vs. inheritance
Starting time: 9h30 Closing: 16h00
Location: http://www.esug.org/wiki/pier/Conferences/2011/The-Venue-in-Edinburgh
Technorati Tags:
esug11
posted by James Robertson
smalltalk
August 13, 2011 10:58:15.694
Dale Henreichs announced tODE - it sounds a lot like what Cincom was trying to do with WebVelocity, but it's open source and runs on Pharo:
tODE runs as a javascript client in the web-browser and leverages the hypertext model to provide a natural and powerful tool for manipulating and exploring objects in the Smalltalk image. tODE has mappings for all of the traditional Smalltalk tools (inspectors, browsers, debuggers) and some unique tools in support of multi-platform development. tODE is currently in a pre-alpha development state and version 0.1 is in a near constant state of flux. If you want to take tODE for a spin, download the One-Click image.
There are instructions on the Google code site for loading it from scratch, and a "getting started" video. Sounds pretty cool; I'll have to check it out.
Technorati Tags:
seaside, pharo
posted by James Robertson
smalltalk
August 11, 2011 13:31:48.000
Bob Nemec shares some code (Smalltalk and Javascript) that makes a web app behave naturally on an IOS device (like an iPad or iPhone). It's pretty cool stuff, and shows you that web apps are becoming pretty adaptable - and that Seaside is keeping up with that trend.
Technorati Tags:
seaside, ios, javascript
posted by James Robertson
smalltalk
August 11, 2011 8:31:18.000
Dave Buck will be teaching a webcast Smalltalk course later this month:
Simberon will be delivering the course "A Quick Look at Smalltalk" on September 26th and 27th, 2011. This course teaches the basics of the Smalltalk language, libraries and environments without getting into version control or user interface development.
This will be a WebCast course so you can attend the course from anywhere you have an Internet connection. For details and to register, visit http://simberon.com/quickstwc.htm.
Technorati Tags:
training, simberon
posted by James Robertson
smalltalk
August 10, 2011 19:14:48.916
Smalltalkers in South America now have an easier way to get at Squeak projects:
I'm happy to announce that we have a public, read-only Squeaksource mirror up and running at the Universidad de Chile. The URL is: http://www.dsal.cl/squeaksource/ TECHNICAL DETAILS BELOW. Feel free to broadcast this announcement!
Technorati Tags:
squeak, pharo
posted by James Robertson
smalltalk
August 10, 2011 14:29:52.000
posted by James Robertson
smalltalk
August 10, 2011 0:08:54.121
posted by James Robertson