SeasideXUL demo

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

SeasideXUL demo

Pavel Krivanek-2
Hi,

I created a short demonstration video with SeasideXUL

http://www.youtube.com/watch?v=pkfSh4pAbdM

Cheers,
-- Pavel
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: SeasideXUL demo

Julian Fitzell-2
Hey, cool stuff. You're generating XUL instead of HTML, I guess...
does it use callbacks?

Julian

On Tue, Dec 22, 2009 at 3:22 PM, Pavel Krivanek
<[hidden email]> wrote:

> Hi,
>
> I created a short demonstration video with SeasideXUL
>
> http://www.youtube.com/watch?v=pkfSh4pAbdM
>
> Cheers,
> -- Pavel
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: SeasideXUL demo

Pavel Krivanek-2
Yes, it uses ajax callbacks including call/answer processing with
continuations. For example

   xul button
        label: 'login';
        onCommand: (xul ajax callback: [
            |  user |
            user := self call: LoginComponent new.
            self call: (UserInfoComponent new user: user) ]).

There's a little difference in callbacks processing because ajax
requests return a set of operations that should be done (refresh a
given component, replace it, evaluate JavaScript...). A component is
delimitated using two hidden descriptions in the XUL code.

Cheers,
-- Pavel


On Wed, Dec 23, 2009 at 4:46 AM, Julian Fitzell <[hidden email]> wrote:

> Hey, cool stuff. You're generating XUL instead of HTML, I guess...
> does it use callbacks?
>
> Julian
>
> On Tue, Dec 22, 2009 at 3:22 PM, Pavel Krivanek
> <[hidden email]> wrote:
>> Hi,
>>
>> I created a short demonstration video with SeasideXUL
>>
>> http://www.youtube.com/watch?v=pkfSh4pAbdM
>>
>> Cheers,
>> -- Pavel
>> _______________________________________________
>> seaside mailing list
>> [hidden email]
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside