Wanted -- A Seaside Tutorial
Last updated at 1:15 pm UTC on 6 September 2017
- Installing Squeak and Damien Cassou's squeak-web image
- Creating the top-level component and giving it a URL
2007 Tutorial Pages
image setup
- create subclass of WAComponent called WTComponent
- class side method #canBeRoot
- add a first rendering method #renderContentOn: html
- wire the Component up to a Seaside URL: http://localhost:8080/seaside/config
Create a model class WantedItem with three attributes
- a title
- notes about the item
- the date the item was entered
The 'WantedItems' are stored in a WantedDatabase class which holds the collection.
Access to the itemss is through a class method #wantedItems.
Preliminary main page that lists the WantedItems stored in the WantedDatabase.
- Refactor the WantedItem Class
- Create HTML table
- Refactor the WantedItem Class
- Create the WantedEditor Class
- Call WantedEditor to Add WantedItems
Some follow up tutorials