Blogging has been a part of the Web's landscape for more than ten years even though it reached its momentum a few years later. JavaScript first appeared fifteen years ago and just like blogging, it reached its momentum a few years later and actually around the same time as blogging did.
JavaScript is either on-page or referred to in an external file that may or may not be located on the same server as the Web page. The nature of JavaScript makes frameworks and libraries a necessity for bloggers that are not into programming. They build a bridge between a powerful and sometimes difficult programming language and Html markup. Using the frameworks and libraries it is easy to insert elegant page effects or content created on the fly with minimal knowledge of Java Script as a programming language.
Is blogging and JavaScript, and its libraries and frameworks, a perfect match? Are blogs setting the trend in Java Script or are they plain old Html pages generated on the fly by blog publishing systems?
The data table below shows the usage of script elements and selected Java Script libraries and frameworks on two samples of business blogs and one sample of general Web sites.
| JavaScript Libraries: Percentage Found | |||
|---|---|---|---|
| Observed Element | Business Blogs | Business Blogs SE | General |
| jQuery References | 34.7% | 38.9% | 15.3% |
| Prototype References | 4.5% | 5.7% | 9.2% |
| Ext JS References | 3.4% | 4.0% | 2.6% |
| Mootools References | 1.1% | 2.9% | 2.3% |
| Dojo References | 0.0% | 1.1% | 0.5% |
| Rico References | 14.2% | 11.4% | 4.8% |
| YUI Library References | 9.7% | 7.4% | 2.4% |

It looks like the awesome JavaScript library jQuery is a lot more popular with business blogs than on Web sites in general. Whether business blogs are setting the trend in JavaScript is up for debate, but they surely use JavaScript frameworks and libaries a lot.