Vincent demay a écrit :
Ok I understand that and I don't what to say that wicket dojo implementation is bad because it's very cool ;)
I would like to say ajax implementation and not dojo implementation
Indeed using a framework as is could be difficult but using it to develop required functionnalities could avoid to rewriting all from scratch.

Igor Vaynberg a écrit :
On 11/10/06, Vincent demay <[EMAIL PROTECTED]> wrote:

Hi,

I ask myself a question. Why wicket needs to rewrite js libraries for
ajax or other client-side scripts or to include external scripts (date
picker for exemple).


we are rewriting the datepicker because our old one was not compatible with
ASL license - and using a huge thing like dojo is silly just for a
datepicker.

There are a lot of frameworks which work fine and
do everything needed in wicket such as Dojo, script.aculo.us, etc...Why
doesn't Wicket use one of them.


because they dont do everything that wicket does :) our ajax impl is much
more advanced then what dojo, scriptaculous and friends provides.


a) the js lib needs to be ASL compatible since it would be packaged in our
distro
I take dojo for example (because I know it more than the others)
I think dojo is compatible with ASL because it's used by Cocoon

b) we have ajax channels - requests from different channels can be processed
in parallel, while requests within the same channel block.

c) we have partial page updates of multiple components in a single request - do any of those frameworks have it? i briefly looked at ricko which had a
similar ajax-envelope response that can encapsulate markup for multiple
parts of the page that need to be updated a while back - but it was still
very immature.
I wrote something like that in Wicket Dojo Contrib (DojoUpdateHandler)

d) and the biggie - header contributions. we went through a lot of pain to ensure that if you have a <script> or a <link> to js markup in the _ajax_
response - it will be properly executed by the browser. this is key for
component oriented frameworks. afaik neither dojo, nor scriptaculous, nor
ricko, nor anyone else out there provide this functionality.
I understand that but a framework like dojo does not need a such functionality because every script could be called by dojo.require() function

if i missed something you guys feel free to pipe in.

hope this explains it

-igor




--
Vincent Demay
Systèmes d'Information
ANYWARE TECHNOLOGIES
Tel : +33 (0)561 000 649
Fax : +33 (0)561 005 146
http://www.anyware-tech.com/



PS : sorry to send previous mail twice (but sent it with a bad email adresse. Sorry)


Reply via email to