Archive
Monthly
Go
|
|
DNN Blog
Oct
2
Posted by:
Joe Brinkman
10/2/2008 2:49 PM
For the last 4 years DotNetNuke has been adding more and more client-side functionality using JavaScript. First we started with the ClientAPI which has added some great features to the platform. When Microsoft created ASP.Net AJAX, we were quick to implement that as well since it solved several problems and didn’t require us to re-invent the wheel. One of the key features in DotNetNuke 5.0 is the new Widget framework which simplifies the creation and distribution of JavaScript widgets. In looking at an upcoming refresh of our admin UI, we were looking around at our various options. We really need a richer user experience that will continue to have cross-browser support and that can easily be extended and used by the developer community when creating their own modules.
With the announcement by Scott Guthrie that Microsoft will be distributing jQuery with the next version of Visual Studio, this made our decision very easy. Starting in DotNetNuke 5.0, we will fully support jQuery in the base DotNetNuke platform. Over the next several releases, we will begin migrating our existing libraries to delegate as much work as possible to jQuery. There are still many areas where the ClientAPI and Widget framework provide needed functionality that is not available in jQuery or ASP.Net AJAX, but there is a lot of code which can now be greatly simplified.
When you login as Host in DNN 5, you will have access to jQuery settings on the Host Settings screen. Using these settings allows you to configure the jQuery library which will be used in the framework. By default, DNN 5 will use the minified version of jQuery that is served from the DotNetNuke resources directory. This configuration provides good performance while also minimizing external dependencies. For those looking to maximize their performance, we have included support for using a hosted version of jQuery. The default hosted jQuery version will be the minified version hosted on Google. By using a hosted version of the library, you increase the likelihood that the user will already have a cached version of the library. This also allows hosts to specify which version of the jQuery library they wish to use. This allows hosts to have greater control over their environment. Just remember that the core and some third party modules may have version dependencies so you should be careful about pointing to older versions of the scripts.

In the short term, DNN 5 will be using jQuery to implement a few features like Pane Previews. This feature is immediately available in DotNetNuke 5.0 RC1 which will be available this week. Our next RC will extend jQuery usage to fix a few other bugs and to simplify the Widget framework.
We are very excited about this new capability and will certainly be posting more detailed information about how module developers can take advantage of this exciting new feature in DNN 5.
15 comment(s) so far...
Re: DotNetNuke 5.0: Now with jQuery
Holy crap this is good news!!!
Way to jump on it guys.
I see a lot of goodness in the next months.
By pspeth on
10/2/2008 4:37 PM
|
Re: DotNetNuke 5.0: Now with jQuery
I was hoping to hear this but I didn't expect to hear it so soon. Great news!
By BrandonHaynes on
10/2/2008 4:38 PM
|
Re: DotNetNuke 5.0: Now with jQuery
hm, sounds cool
By bbhermann on
10/2/2008 4:38 PM
|
Re: DotNetNuke 5.0: Now with jQuery
Great news Joe, about both JQuery and 5.0RC1 release date.
By t-dog on
10/2/2008 5:29 PM
|
Re: DotNetNuke 5.0: Now with jQuery
Currently I am using JQuery on my modules on DNN4, I am wondering how it is going to affect when I migrate all my modules to DNN5..
By peternum@hotmail.com on
10/3/2008 6:16 AM
|
Re: DotNetNuke 5.0: Now with jQuery
i was just expecting to hear a support announcement. i wasn't expecting to hear about a widget framework and a refactoring using jQuery.
holy crap is right!
By afromobile on
10/3/2008 6:16 AM
|
Re: DotNetNuke 5.0: Now with jQuery
You guys are always ahead of the game and that's what I love about dnn. I as just trying to figure out to get this working on DNN4 adn I broke down and rebuilt the site to register the script. I much prefer it be developed, tested and managed like all other industry tools.
THANK YOU VERY MUCH..
By kingcomtech on
10/3/2008 6:17 AM
|
Re: DotNetNuke 5.0: Now with jQuery
Very good news. Compliments for the speed of adaptation.
By ept on
10/3/2008 6:17 AM
|
Re: DotNetNuke 5.0: Now with jQuery
Well that just perked my Friday up. :) Good news on both the jquery and the RC1. I have a feeling next week will be very unproductive as I will be too busy playing with all the new toys. :) Lets see we have silverlight desktop, jquery, DNN 5 RC1, native support for silverlight, Linq, a refined DNN core that is more compliance friendly, and well heck the list is just way to long to even continue. I mean you guys have been cranking out support for things faster then Microsoft is writing them. Good Job.
By keeperofstars on
10/3/2008 9:11 AM
|
Re: DotNetNuke 5.0: Now with jQuery
fantastic news!!
By Caroig on
10/3/2008 9:11 AM
|
Re: DotNetNuke 5.0: Now with jQuery
One thing that would very much speed adoption is if there was a DNN 4 update that would allow the JQuery Hosted reference to work within DNN 4.
Ideally this would even be done with a module loaded on the site that worked on multiple DNN versions.
With this in place, Developers could write for both platform levels - DNN 4 and 5.
By pspeth on
10/3/2008 3:42 PM
|
Re: DotNetNuke 5.0: Now with jQuery
@pspeth - DNN 5.0 includes a new framework class that allows you to determine whether jQuery is installed and that makes it simple for developers to register that they require jQuery to be inserted into the page. Because this is included in the core, adding support for this in 4.x would require a module to be linked to a separate assembly since this class does not exist in the DNN 4.9 dotnetnuke.dll.
By jbrinkman on
10/3/2008 3:48 PM
|
Re: DotNetNuke 5.0: Now with jQuery
Great news. Can you fix the link for pane previews? http://www.dotnetnuke.com/post/2008/10/02/DotNetNuke-50-Pane-Previews.aspx
By bgscms on
10/5/2008 6:43 AM
|
Re: DotNetNuke 5.0: Now with jQuery
@bgscms - The link is now fixed. I forget that my main blog makes links relatives so that when I duplicate blogs on DNN.com they end up with bad links.
By jbrinkman on
10/5/2008 6:46 AM
|
Re: DotNetNuke 5.0: Now with jQuery
Pane Previews link is wrong, an "e" is missing ! This is right link: http://blog.theaccidentalgeek.com/post/2008/10/02/dotnetnuke-50-pane-previews.aspx
By blondie63 on
10/7/2008 11:24 AM
|
|