it

Usage of .NET by Microsoft

March 16, 2006 16:59:38.497

Smalltalk

Script for loading Store parcel and a Bundle in database

March 9, 2006 16:46:11.874

 
Parcel loadParcelByName: 'StoreForOracle'. 
 
(#{Store.Policies} value perform: #prerequisitePolicy) perform: #versionSelection: withArguments: #(#latest). 
 
connection := #{Store.ConnectionProfile} value new
 	name: '<Name of connection in VisualWorks>';
 	driverClassName: #OracleConnection;
 	environment: '<your database>';
 	userName: '<your user name>';
 	password: '<your password>';
 	tableOwner: '<your store db schema>';
 	yourself. 
#{Store.DbRegistry} value connectTo:  connection.
 
  (#{Store.Bundle} value
    perform: #mostRecentVersionOfPundleWithName:
    withArguments: #('<the name of the bundle you want to load>')) loadSrc. 
 
  

Above is a script for loading a Bundle in a VisualWorks Store database, using a base image. I think it is a good idea to be able to load you whole project from a base image.

The script uses binding references to avoid getting “undeclared” errors when starting the script. After all, some of the classes used in the script are not yet loaded when you execute it.

The script has been tested on VisualWorks 7.4.

it

Office 2007 User Interface

March 9, 2006 16:18:05.144

I like the new ideas for GUI design in Office 2007. Especially “the Ribbon” seems like a good idea, even if not all seem to agree, I think the Ribbon corrects some of the problems with current toolbars. Having said that, it is hard to make a final conclusion until one has actually tried using the product.

The idea behind the “Ribbon” is to get away with the large number of toolbars some application have, display additional information for icons (labels), and drop using menus. Web apps have already shown that both pull down menus and popup menus are not something absolutely required in a GUI.

Something I wondered about when first reading about the Ribbon, was how do you show actions for selected objects, like for example a table? This posting explains how Contextual Tabs work.