Quote from: Chuck at Feb 01, 2008, 09:09 AM
I’ve bounce from overlib, to prototype now to mootools partly due to my lack of javascript knowledge and partly to stay in sync with the MODx dev team.
Your desire to stay in sync with the dev team is simply a result of leftover dependencies on a specific library in the manager interface being used by add-ons meant to run on the site front-end, then further clouded by those add-ons being included in the sample site. These dependencies were incidental and not a best practice by any means, but simply part of the early growth of the community. And though I can’t say the choices the core team has made on which javascript library to employ for the "default" manager interface moving forward do not affect choice made when designing and deploying a MODx site, they should in no way limit the potential of the site to use whatever library is needed for a particular feature, possibly only on a single page.
Quote from: Chuck at Feb 01, 2008, 09:09 AM
I recently needed an interactive calendar on a customer’s site. I’m still early in my javascript learning curve so I searched through the existing MODx resources and found a few candidates including CALx which did exactly what I needed. As I check it out I find it uses overlib.js, not mootools, so off I go to recreate what has already been created because my pages already use mootools in the header and footer. I’ve seen the conflict on my own sites when I try to mix javscript libraries on the same page. Javascript functions become unpredictable. In my mind there are a whole series of MODx resources that I can’t use because of the potential javascript conflict.
But part of your selection of add-ons should be based on the requirements you have for javascript library interaction. Just because the only currently available add-ons contributed to the repository depend on specific libraries that conflict with other choices you’ve made in your site development, and you are left with the problem of having to develop a solution that does meet your requirements due to those conflicts, does not mean that MODx is not doing it’s job as a framework. Remember, this is first and foremost a CMS and PHP application framework, not a CMS and javascript application framework. And though we are certainly willing to explore ways to better take advantage of any standards that are established in the AJAX/PHP world, those will have to exist before we can.
I envision at some point, if we continue to attract users that contribute code back to the project, there will be sets of components that use specific AJAX libraries and cover a wide-variety of features. I simply do not see a way that these issues can be resolved at this time without forcing all MODx developers into using a single AJAX solution, which, as Ryan said in not so many words, we will not do.