Pyjamas is interesting, but it is not integrated with web2py.  It can
talk to web2py nicely, the difference is that you really have to work
with two applications talking in a client server model through
jsonrpc.
One needs to write a web2py application + a pyjamas application.

What can be done is allowing the developer write a single application,
where most, if not all, of the burden of javascript and ajax is
managed by web2py, without having the user to deal with "ajax()" and
companions.

While pyjamas is great IMHO it would be complex to integrate it
smoothly in the template system of web2py. Pyjamas does too much
compared to what is needed here.

Luban is also interesting, it handles events server side with its own
server, but still gives a toolkit that has no (html) templates, IMHO
html is a very powerful way to design an application UI.  See:

http://lubanui.org/current/index.html


mic

Il 31 marzo 2012 21:05, Stefaan Himpe <stefaan.hi...@gmail.com> ha scritto:
>
>> So a button would be:
>>
>> class BUTTONW(WIDGET):
>> .
>> .
>> .
>>   def onclick(self, target):
>>     .
>>     .<do stuff>
>>     .
>>      target.update()
>
>
>
> Isn't that exactly what pyjamas ( http://pyjs.org ) offers ?
> Should we really reinvent the wheel here?
>

Reply via email to