[Seaside] weblocks?
Philippe Marschall
philippe.marschall at gmail.com
Tue Nov 27 17:51:27 UTC 2007
2007/11/27, itsme213 <itsme213 at hotmail.com>:
> I was just browing the lisp/weblocks framework
> http://www.defmacro.org/ramblings/continuations-web.html and wondered if
> someone more knowledgeable about (either) seaside or weblocks might comment
> on whether it is essentially a seaside clone, or offers something more. Some
> of the constructs offered in it seem awfully convenient!
The offered constructs seem awfully familiar. The AJAX integration
seems tighter though.
This is who I would do it in Seaside:
Handling User Actions
renderLinkOn: html
html anchor
callback: [ self doSomething ];
with: 'Some Link'
User Actions And Continuations
renderLinkOn: html
html anchor
callback: [
(self call: MyLoginComponent new)
ifTrue: [ self showProtectedContent ]
ifFalse: [ self showError ] ];
with: 'Some Link'
#chooseFrom:, #confirm:, #inform: for do-choice, do-confirmation and
do-information
UI State Management And Widgets
Magritte
Sequential Control Flow
go
(self agreement1
and: [ self agreement2 ]
and: [ self agreement3 ])
ifTrue: [ self showProtectedContent ]
ifFalse: [ self showError ]
Cheers
Philippe
More information about the seaside
mailing list