The project that I came to is already using Prototype and Scriptaculous in many pages.
I want to introduce Dojo to this project. I am worried if I may introduce hard to track bugs by having both framework. Will there be namespace collision, event overriding or javascript problems ?
Are there any document that provides guidance or problems that we need to be aware of ?
Thanks
Prototype Dojo compatibility
Submitted by pugals on Wed, 04/02/2008 - 19:57.
- Login or register to post comments
- Unsubscribe post

Dojo is careful
Dojo is very careful about not polluting the global namespaces or overriding built-ins. You shouldn't have any problems mixing libraries but sometimes the initial loading order is important.
- Rob :)
Prototype DOES conflict with Dojo
We just recently encountered this problem and confirmed the conflict between Prototype and Dojo.
If you include Prototype in the same page as image.Gallery - it fails badly. The problem seems to be related to Prototype's extending base classes. Somehow Dojo A11y logic malfunctions on page load - causing a cascade of javascript errors.
Has anyone else encountered this? Any workarounds?
Tom Agnew
Which version of Prototype?
n/t