[Newbies] Why do Seaside's table tags e.g. td etc., live 'outside' of table?

Andy Burnett andy.burnett at knowinnovation.com
Tue Aug 12 17:04:13 UTC 2008


I was looking at some Seaside code today and noticed that it said

html tableCaption: 'blah'.

Rather than

html table tableCaption: 'blah'

In other words, as far as Seaside was concerned the tableCaption tag was
nothing to do with the table tag.  This struck me as slightly odd. Somehow I
would have expected the 'child' tags of table to be created through messages
to the parent table.  However, that clearly isn't the case, and now that I
have looked more closely at the Seaside tag structure, that seems to be the
case for most of the tags.

I am keen to understand what makes good Smalltalk design, so could someone
explain why making the tags independent is a better way of doing it?

Thanks
Andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20080812/5659acdb/attachment.htm


More information about the Beginners mailing list