I’ve written a quite extensive MooTools library for an existing application that I’m working on. I recently started using Yii and am rewriting the back-end using the framework. I know Yii utilizes a lot of JQuery for the various widgets and so forth.
I’ve searched the forum quite a bit and seem a bit lost on how Yii dynamically pulls in the JQuery assets. Is there a way to tell which widgets require JQuery? I’d like to use some of the available widgets (CActiveForm for instance) but don’t want to rewrite all the MooTools code so it supports JQuery.
I’d prefer to disable JQuery all together.
Any help would be appreciated. On day 2 of Yii and so far I’m very happy.
Most if not all of yii widgets use jquery. You can avoid using jquery if you do not use the yii widgets and work your own widgets. The jquery code is injected only when you use a widget that uses jquery or register jquery with the client script component