. .

smalltalkDaily

Smalltalk Daily 09/02/10: Loading Network Client Support

September 2, 2010 9:40:55.314

Today's Smalltalk Daily looks at loading the network clients support (http, ftp, etc) into Cincom Smalltalk - VW 7.7.1 and OS 8.2.1. If you can't see the embedded video directly, you can go directly to YouTube for it. To watch now, click on the viewer below:

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

smalltalkDaily

Smalltalk Daily 09/01/10: WebVelocity 1.1 Debugging

September 1, 2010 8:18:30.441

Today's Smalltalk Daily looks at how debugging works in WebVelocity 1.1 It's a bit different than it was in WebVelocity 1.0. If you can't see the embedded video directly, you can go directly to YouTube for it. To watch now, click on the viewer below:

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

smalltalkDaily

Smalltalk Daily 08/31/10: Using File Libraries in WebVelocity 1.1

August 31, 2010 7:51:14.895

Today's Smalltalk Daily looks at using File Libraries in WebVelocity 1.1. To jump straight to the video, click here. If you can't see the embedded video directly, you can go directly to YouTube for it. To jump straight to the video, click here.

NoteListUI class


renderPageHeaderOn: html
	" Render page header on html. Subclasses may override to render nothing. "
	self renderPageImageOn: html.
	html space.
	self renderPageTitleOn: html

renderPageImageOn: html
	html image url: NotesFileLibrary / #notesPng

renderPageTitleOn: html
	html heading
		level: 3;
		with: self title

To watch now, click on the viewer below:

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

smalltalkDaily

Smalltalk Daily 08/30/10: Adding Cookies in WebVelocity 1.1

August 30, 2010 7:55:30.756

Today's Smalltalk Daily looks at how to add cookies to a WebVelocity 1.1 web component. Since WebVelocity 1.1 is built on Seaside 3.0, this is a whole lot easier than it used to be. If you're using WebVelocity 1.0 (or Seaside 2.8 outside of WebVelocity), then have a look at this screencast in order to see how it used to work. You can go directly to YouTube if you can't see the embedded video below. The code to add a cookie is really simple - here's the trivial example from the screencast:


renderContentOn: html
	| response cookie |
	response := self requestContext response.
	cookie := self requestContext newCookie.
	cookie key: 'helloCookie'.
	cookie value: '2'.
	cookie comment: 'Example Only'.
	response addCookie: cookie.
	html text: 'Hello There'.

To watch now, click on the viewer below:

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

smalltalkDaily

Smalltalk Daily 08/20/10: Customizing with WebVelocity Scaffolding

August 20, 2010 10:42:23.438

Today's Smalltalk Daily looks some of the simple scaffolding customizations you can make in WebVelocity 1.1 - and shows you how to find out more. To jump straight to the video, click here. If you can't see the embedded video directly, you can go directly to YouTube for it.

Note class


	variableNames
		^#('title' 'created' 'description')

NoteListUI


shouldRenderDescription
	^false

renderObjectCreated: anObject on: html
	html text: anObject asDate printString

To watch now, click on the viewer below:

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

smalltalkDaily

Smalltalk Daily 08/19/10: Customizing a WebVelocity Query

August 19, 2010 9:43:36.633

Today's Smalltalk Daily looks at how you can customize a query for one of the standard scaffolding UIs in WebVelocity. The code added is all in class NoteListUI. To jump to the video, Click here If you can't see the embedded video directly, you can go directly to YouTube for it.

First, add a variable, searchText


renderActionsOn: html
	super renderActionsOn: html.
	html text: 'Search'.
	html space.
	html textInput on: #searchText of: self.
	html button
		callback: [self applySearch];
		value: 'Search'.
	html button
		callback: [self returnToAll];
		value: 'All'

applySearch
	"do the search"
	
	| query newSearchText |
	query := Glorp.ActiveRecords.Query read: Note.
	newSearchText := '%', self searchText asLowercase, '%'.
	query where: [:each | each title asLowercase like: newSearchText].
	paginator query: query.

returnToAll
	| query |
	query := Glorp.ActiveRecords.Query read: Note.
	paginator query: query.

Click on the viewer below to watch it now:

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

smalltalkDaily

Smalltalk Daily 08/18/10: Creating Tables in WebVelocity 1.1

August 18, 2010 10:00:11.063

Today's Smalltalk Daily creates a new WebVelocity application, and has that application generate the database tables it needs. If you can't see the embedded video directly, you can go directly to YouTube for it. Click on the viewer below to watch it now:

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

smalltalkDaily

Smalltalk Daily 08/17/10: A Blog Server in WebVelocity

August 17, 2010 11:14:49.532

Today's Smalltalk Daily builds a simple Blog Server in WebVelocity 1.1 - 3 methods and 5 minutes. To jump to the video now, click here. Or, if you want to view the video on YouTube, go here.

The code I added is:

PostViewUI


renderActionsOn: html

	super renderActionsOn: html.
	html button
		class: #comment;
		callback: [self addComment];
		with: 'Comment'.

addComment
	| comment |
	comment := Comment new.
	(self call: (CommentEditUI on: comment)) ifTrue:
		[comment bePersistent.
		object comments add: comment.
		object commitUnitOfWork]

PostListUI


renderDetailsOn: html

	| sorted |
	sorted := SortedCollection sortBlock: [:a :b | a created >= b created].
	sorted addAll: self objects.
	sorted do: [:each |
		html anchor 
			callback: [self call: (PostViewUI on: each)]; 
			with: each title. 
		html text: ' -- ', each created printString.
		html paragraph: [html text: each content].
		html horizontalRule]

Click on the viewer below to watch it now:

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

smalltalkDaily

Smalltalk Daily 08/16/10: A One Table WebVelocity Example

August 16, 2010 10:46:41.004

Today's Smalltalk Daily looks at a simple one table application in WebVelocity 1.1. If you can't see the embedded video directly, you can go directly to YouTube for it. Click on the viewer below to watch it now:

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

smalltalkDaily

Smalltalk Daily 08/13/10: Saving Your Work in WebVelocity 1.1

August 13, 2010 11:22:51.544

Today's Smalltalk Daily looks at how you save code to a source code repository in WebVelocity 1.1. If you can't see the embedded video directly, you can go directly to YouTube for it. Click on the viewer below to watch it now:

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

Previous Next (88 total)