I agree with scriptolicious being a big library for the roundcube project. There would be so many redundant functionality in the library that we just dont need. I would suggest looking at either of
for a small, documented and cross browser solutions to use. Both compress down to under 20k and looking at RC's javascript this is posible to get down to this size or under with the existing JS.
They both use a javascript compression http://www.phpclasses.org/browse/package/3158.html system developed by Andrea Giammarchi. Which i think sould maybe be considered as an addition to the core of Roundcube. When a plugin is newly activated in the roundcube enviroment the compressor is called to create one compress Js file.
Other advantages of useing these libraries are an already strong team of developers working toward a clean javascript library and documented functions.
Shane
On Thu, 18 Jan 2007 10:12:20 +0100, Mathieu Lecarme mathieu@garambrogne.net wrote:
May we should start a list of event handlers/wrappers. Obviously there will be a lot of them, but maybe try and get the basics down. Then we can try to get them interacting together safely.
Have a look of dotclear website, the plugin architecture is small and nice. You have to manage event, but also preference panel, persistance, and little thing like i18n, icon, and templating (with widgets).
I haven't used JSON before, only AJAX requests, so I'll be off to learn how it all works. Don't worry about the stylesheet, as long as it is functional that is all we need for the moment.
JSON is just a serialization, with a javascript syntax. From javascript you use it like ajax, with a callback, but without XML parsing.
M.
Variety is the spice of life .. except in Thailand where the spice makes your life slip out your arsehole.