About the Seaside Tutorial (Style Guide)
Last updated at 7:13 pm UTC on 30 June 2007
Note: This page is about the technical style of the tutorial, and perhaps to set the tone for the examples. This would include formatting and other non-technical stuff which is irrelevant at this early stage in the tutorial's existence.
Although the code snippets and screenshots will be from Squeak, all ideas and code snippets (except for class definitions) will work on any Smalltalk supported by Seaside, unless otherwise noted.
Class Definitions
Class definitions are an exception to this rule; since the message for defining a class is different on every Smalltalk, we will use the Squeak message in all examples:
Squeak Class Definition
ABaseClass subclass: #ASubclass
instanceVariableNames: 'instVar1 instVar2'
classVariableNames: 'classVar1 classVar2'
poolDictionaries: ''
category: 'Category-SubCategory'
You should adapt this to the format appropriate to your Smalltalk:
Please add examples for various Smalltalks: