I have a little experience with coding using the YUI3 library using the dynamic loading capability and the terse declarative syntax, but no experience of using YUI2 and OpenACS Ajaxhelper.
I am trying to understand the xowiki carousel includelet so that I can modify it to work with the new YUI3 carousel.
From what I can see, AjaxHelper takes care of adding script tags to the page header for any Javascript modules that the page requires, and also provides a convenient way to add javascript library functions to dynamically generated pages.
YUI3 provides it own dynamic loader which loads only those modules that are required. I am not clear whether this means that YUI3 components need not be involved with Ajaxhelper, or whether I should start by adding YUI3 support to Ajaxhelper?
I can see that when adding YUI3 functions to an xowiki page I need only source the YUI3 dynamic loader and activate those modules used in the page, however when writing an includelet I guess the YUI3 dynamic loader should itself be loaded through Ajaxhelper as with YUI2.
Hopefully this will become clearer to me with time but for now I am finding the code quite confusing.
I would appreciate some guidance on this.
Regards
Richard