JQuery adopted by Microsoft for VS 08
-Monday, September 29, 2008 By: Jon Kinney
Javascript libraries like prototype, it's friend scriptaculous, and the newcomer jQuery have been making web developer's lives easier for a few years now. With a javascript library you can turn a verbose DOM selection like:
1 document.getElementById('products')
into something a little shorter and sweeter:
1 $('products')
They allow for so much more including animations, but that is the subject of another blog post entirely.
Prototype and scriptaculous are bundled with the Rails framework, and if you're not on rails or prefer jQuery, it along with the aforementioned can be easily included by linking to a copy of the code from google. See the google code page for more details.
One of the advantages of linking to the google code version of a javascript framework is that as more developers choose to do so it's likely that the client will have the code cached, thus allowing for the faster loading of your site's content as the JS library will be skipped from being downloaded again.
The latest development in JS library news is that Microsoft is jumping on board. Typically when Microsoft goes about implementing new functionality to it's existing tool set they build their own implementation or change an existing library before allowing it to exist in their development tools. This time though, they took a different approach. As can be seen on Scott Guthrie's blog...
"Providing the ability to perform selection and animation operations is something that a lot of developers have asked us to add to ASP.NET AJAX. As the team started to investigate building it, though, they quickly realized that the jQuery support for these scenarios is already excellent, and that there is a huge ecosystem and community built up around it already. Rather than duplicate functionality, we thought, wouldn't it be great to just use jQuery as-is, and add it as a standard, supported, library in VS/ASP.NET, and then focus our energy building new features that took advantage of it?"
This is truly great news and is one of the first open source projects that Microsoft has taken and implemented as-is into their tool set. I'm looking forward to being able to use the same rich animations and easy DOM selections that I've been able to use in rails for the last few years. The kicker... they're also providing intellisense!
The jQuery intellisense annotation support will be available as a free web-download in a few weeks, we'll keep you posted, but in the mean time as Scott Gu noted: "you might want to check out John Resig's post on the jQuery team blog. Scott Hanselman is also about to post a nice tutorial that shows off integrating jQuery with ASP.NET AJAX."
News & Events
Tech Review: Web Design For Developers - June 2009
A friend of mine in the web development community is releasing a book called "Web Design for Developers: A Programmer's Guide to Design Tools and Techniques". I was asked to do a tech review of the book and will be sharing my thoughts as well as some cool info presented in the book in a short series of upcoming blog posts. If you want to grab a beta copy of the book head over to my favorite publisher The Pragmatic Programmers.
First Class Audio Production - March 1st 2009
My most recent studio project was mixing and producing the latest a cappella album to come out of Eau Claire, WI. Until Proven Guilty is the Innocent Men's 4th studio album and marks a huge leap forward in recording and production quality for the group. Check back for demos of the mastered songs very soon! http://theinnocentmen.com.
Rate This Post: 0.0 (average)


