views:

91

answers:

3

It's pretty common knowledge that JQuery is in both the Microsoft and Google CDN, but there are more and more I'm hearing about such as Yahoo YAPI and others.

I'm a new web developer and am interested in hearing about what libraries are widely used, located on a CDN, and worth learning about. What libraries would you recommend?

+7  A: 

Google hosts a few more than jQuery, so it's a pretty good CDN resource:

Another benefit of Google's that's not as publicized as it should be is it hosts most previous versions and lets your access it in a number of ways, for example:

And another not-so-publicized feature is they host jQuery UI and the CSS/images for all the base themes, there's a question on it here, just change the version numbers in the URL to match the library version you're using.

Nick Craver
I think you need to make more mention of jQuery
michael
Thanks for the note about the jquery ui css/images. Good to know.
ScottE
@michael - jQuery UI is the only visual library on there that's hosted in this way AFAIK...as for the version numbers, it applies to **all libraries** jQuery was just an example since I know the versions off the top of my head.
Nick Craver
@Nick - oh, I was trying to be funny. but failing. badly.
michael
+2  A: 

Library is up to you. jQuery has a lot of momentum and Microsoft have adopted it, so I'd say it is a good contender.

Google hosts quite a few libraries.

The Microsoft CDN is not as good, as it doesn't use its own domain, so you may end up with cookie data from the Microsoft site being passed around.

alex
+2  A: 

You can read more about CDNs in this post.

floatless