[Seaside] idea: allow canvas tag attributes to be specified beforetag

Boris Popov boris at deepcovelabs.com
Thu Jun 15 18:36:18 UTC 2006

I'm not convinced sacrificing readability in favor of saving a handful of
characters from being typed pushed the cause any further. As far as my
thinking model is concerned is certainly easier to comprehend a sequence of
events where something gets created and then configured as opposed to
configuration of a non-existing component-from-the-future.

That, plus the brushes would no longer define the 'available' attributes in
the first place, so you could easily end up with semantically incorrect HTML

 url: 'http://www.yahoo.ca';
 div: [html text: 'Hello']

whereas trying to do the same in the current system will properly notify you
(DNU) about the issue,

html div
 url: 'http://www.yahoo.ca';
 with: [html text: 'Hello']

Just my $0.10 for the 5 characters that we saved ;)



DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5

boris at deepcovelabs.com


This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any

Thank you.

-----Original Message-----
From: seaside-bounces at lists.squeakfoundation.org
[mailto:seaside-bounces at lists.squeakfoundation.org] On Behalf Of Keith
Sent: Thursday, June 15, 2006 7:40 AM
To: The Squeak Enterprise Aubergines Server - general discussion.
Subject: [Seaside] idea: allow canvas tag attributes to be specified

Thinking out loud:

starting with
the nice a concise form
html div: [  html with: 'hello world' ]

if I want to add a class or id this becomes

html div class: 'label'; with: [  html with: 'hello world' ]

I know it is only one less with, but might it be useful to allow some 
attributes to be set in anticipation of using a tag.

html class: 'label'; div: [ html with: 'hello world' ].



All new Yahoo! Mail "The new Interface is stunning in its simplicity and
ease of use." - PC Magazine 
Seaside mailing list
Seaside at lists.squeakfoundation.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3370 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/seaside/attachments/20060615/5208145c/smime-0001.bin

More information about the Seaside mailing list