reefedjib at gmail.com
Sat Oct 9 21:49:55 UTC 2010
I am generally adverse to commenting my code. This framework you have built
is certainly enhanced by it. Thank you for the help, Lukas. I really liked
From: "Lukas Renggli" <renggli at gmail.com>
Sent: Saturday, October 09, 2010 4:49 PM
To: "Seaside - general discussion" <seaside at lists.squeakfoundation.org>
>> So, what is (script jQuery: #messages) doing?
> This is the same as
> script jQuery: '#messages'
> a query on the DOM element with the ID messages.
>> What type of object is the
> On the Smalltalk side an instance of JQueryInstance.
>> Is the server getting the list of messages from the client?
> No, #append: just appends a new item to the list. The list of messages
> is not stored on the server.
>> Or is
>> aBlock (a String) and aString being sent to the client and this script is
>> running on the client?
> The block is a Seaside render block. It happens on the server, the
> resulting HTML string is sent to the client.
>> I am not clear on the sequence of cascaded messages
>> sent: (#children; #sliceFrom:to:, #remove, #end, #append:, #end,
> #jQuery: defines the query. #children, #sliceFrom:to: refines the
> query. #remove performs the action on the resulting DOM elements. #end
> resets to the original query. Each single method has a detailed method
> comment, look at the implementor (or display it with eCompletion).
> tutorials listed here: <http://docs.jquery.com/Tutorials>.
> You might also be interested in my jQuery tutorial of ESUG last year
> in Brest. The slides and the video are linked here
> Lukas Renggli
> seaside mailing list
> seaside at lists.squeakfoundation.org
More information about the seaside