A common problem developing for the web is working with CSS (Cascading Style Sheets) and jQuery.  They both go hand in hand.  In order to be productive with jQuery you need to be good with CSS.  It can get very tricky!
I just stumbled across a site in Australia. (My daughter's favorite spot.) They have an awesome site about CSS.  It's well organized and broken down into simple terms.  I'm impressed.  See for yourself at: CSS at  http://css.maxdesign.com.au/ and their main site is at http://www.maxdesign.com.au/.  It's a great reference for those using jQuery, CSS or both.
Saturday, November 13, 2010
Friday, November 12, 2010
Why use Content Delivery Networks (CDN) like jQuery, YUI & Microsoft?
Wow, it's been awhile since I blogged!  I've been attending a lot of events and learning as much as I can. Like Windows Azure, jQuery, MVC and more.  As far as JavaScript script files, I followed what Douglas Crockford (Yahoo) suggested and minimized my JavaScript script files and served them from my server.  That included libraries like jQuery and YUI.  Well, that's a bad idea.
Becasuse of caching, both on the server and in the browser, there's a faster way. Common Javascript script files such as the libraries for jQuery, YUI and Microsoft's AJAX provide better end performance when the source URL is used. URLs like "http://ajax.microsoft.com/ajax/jQuery/jquery-1.4.2.js" are cached by both the server and the browser. Now, If I followed my old way, my files probably would not benefit from the caching, so my pages would load much slower. That makes sense, right?
Becasuse of caching, both on the server and in the browser, there's a faster way. Common Javascript script files such as the libraries for jQuery, YUI and Microsoft's AJAX provide better end performance when the source URL is used. URLs like "http://ajax.microsoft.com/ajax/jQuery/jquery-1.4.2.js" are cached by both the server and the browser. Now, If I followed my old way, my files probably would not benefit from the caching, so my pages would load much slower. That makes sense, right?
Subscribe to:
Comments (Atom)
