Personal tools
You are here: Home Software Center do2gether Documentation Architecture Draft Reference Architecture AJAX Frameworks (by Lupi)
Document Actions

5. AJAX Frameworks (by Lupi)

Up one level
Discussion over a preferred Ajax framework for the platform.
AJAX frameworks: KSS and Dojo, Yahoo UI Library
I evaluated KSS in details, I think it’s quite an interesting piece of software but it’s not mature enough yet. The cornerstone feature is that it turns Javascript coding (hard) into CSS-style coding (easy) in the areas covered by KSS, mostly AJAX interactions. It’s going to be integrated in Plone 3, so it will most probably be readily available in the software platform for -at least- Do2Gether. On the other hand, I find the documentation a bit lacking and KSS at the moment is too limited to cover all your needs. I expect that KSS will improve sharply this spring, boosted from the PloneSprint in March and the soon to be released Plone 3.
Dojo on the other hand is much more feature rich and complete. It’s mature and has very broad industry support, the Dojo foundation has impressive sponsors. I think that it is the best choice for what you need in both Do2gether and Draft2gether, except for the text editor in the latter one.
In addition, I suggest a look at the Yahoo UI Library (http://developer.yahoo.com/yui/). It’s not a monolithic piece of software, in fact it’s very modular and you can get just pieces from it. There is a single piece that you should consider using, no matter what AJAX framework you choose, that piece is their portable, liquid layout CSS stylesheets. Another interesting piece is the Container framework, which can be used to develop the kind of dialog-style UI that you want for the settings/preferences window in D2G.
I suggest that you choose Dojo as your reference AJAX framework, complementing it with YahooUI CSS stylesheets and, perhaps, Containers. Your existing code that use Mochikit will be most probably replaced during the development, so its existance is a non-issue.

Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: