とりあえずHello worldまで
あえてVisualWorks版で茨の道を歩んでみる
インストール関係
必要だったパッケージ
CntrbSeaside.tar.gz
Opentalk.tar.gz
Store.tar.gz
WebServices.tar.gz
初期URL
http://localhost/seaside/go/browse
ログイン名を忘れた場合
(Seaside.WADispatcher default entryPoints at: 'config') preferenceAt: #login
パスワードを忘れた場合
(Seaside.WADispatcher default entryPoints at: 'config') preferenceAt: #password
Hello world作成
WAComponentのサブクラスを作る
Smalltalk defineClass: #HelloComponent superclass: #{Seaside.WAComponent} indexedType: #none private: false instanceVariableNames: '' classInstanceVariableNames: '' imports: '' category: 'Seaside-Test'
renderContentOn:メソッドを作る
カテゴリ名はrenderingにしてみた。
renderContentOn: html html text: 'こんにちは、世界'
作ったクラスをアプリケーション登録する
HelloComponent registerAsApplication: 'helloweb'
登録されたアプリケーションの一覧
http://localhost/seaside/go/config
出来たアプリケーション本体
http://localhost/seaside/go/helloweb