. .

st4u

ST 4U 58: BOSS Versioning in VW

March 11, 2011 11:45:38.588

Today's Smalltalk 4 You looks at versioning objects when you use BOSS in VisualWorks. If you have trouble viewing it here in the browser, you can also navigate directly to YouTube.

The code used in the screencast for BOSS is below:


person := Person new.
person first: 'James'.
person last: 'Robertson'.
bos := BinaryObjectStorage onNew: 'people.bos' asFilename writeStream.
bos nextPut: person.
bos close.

bos := BinaryObjectStorage onOld: 'people.bos' asFilename readStream.
person2 := bos next.
bos close.
^person2.

To watch now, click on the image below:

Loading into VA

If you have trouble viewing that directly, you can click here to download the video directly. If you need the video in a Windows Media format, then download that here.

You can also watch it on YouTube:

Technorati Tags: , , ,

Enclosures:
[st4u58-iPhone.m4v ( Size: 8014247 )]

posted by James Robertson

 Share Tweet This