. .

smalltalkDaily

Smalltalk Daily 08/06/10: WebVelocity 1.1 TimeTracker

August 6, 2010 11:08:49.275

Today's Smalltalk Daily walks through a simple TimeTracker application in WebVelocity 1.1. There are three methods I needed to create to get the basic behavior I wanted; Click here to jump to the video:

ProjectViewUI


renderActionsOn: html
	| record |
	super renderActionsOn: html.
	html button
		class: #record;
		callback: (record := Record new.
				(self call: (RecordEditUI on: record))
					ifTrue: [record bePersistent.
						object records add: record.
						object commitUnitOfWork]);
		with: 'Add Record'

Project


printOn: stream
	stream nextPutAll: self name

Record
printOn: stream stream nextPutAll: self activity

Click on the viewer below to watch it now, or go directly to the YouTube page:

You can follow the Smalltalk channel on YouTube for all the "Smalltalk Daily" videos. You can also check out the videos on Vimeo, where the quality is higher, or over on Facebook, if you are a member.

You can download the video directly here. If you need the video in a Windows Media format, then download that here. If you like this kind of video, why not subscribe to "Smalltalk Daily"?

Technorati Tags: , ,

posted by James Robertson

 Share Tweet This