by

Arijit

23 Dec 2015, 08:14 am

about the author

An ardent soccer-lover, he also loves to pen down on different social and current events. His flair for creative writing opens him to various kinds of subjects. One of his favorite leisure activities is listening to music from all genres.

About Arijit

Amusing jQuery Facts You Never Knew!

Amusing jQuery Facts

John Resig did quite an impressive job when he launched JQuery into the virtual world on the 26th of August, 2006. Little did he know that nine years down the line, JQuery would become the most popular and used JavaScript library. Being free and open source further helps, as it shows with installations in over 65% of the top ten million most visited sites. And, here we are today discussing all that you did not know about jQuery – few amusing jQuery facts!

 

JQuery, basically a cross platform library of the powerful JavaScript, has simplified HTML’s client side scripting. With the ever rising use of JQuery to develop and enhance client side scripts, with all its known benefits, and with all its popularity and fame, it still boasts of some facts that are not known to the common man. Here are some of the amusing jQuery facts:

Also Read: Beautiful jQuery Websites That You Can’t Take Your Eyes Off

Originally named jSelect

jQuery was originally named as jSelect. It was named so as the initials JS would match with JavaScript, and it would also enhance readability since jSelect would basically deal with selecting elements in a web page. So, all said and done, the time had come to make jSelect active through the domain jSelect.com. Unfortunately, the domain wasn’t available, and jSelect became JQuery.

And one of most amusing jQuery facts is that after naming it as jQuery, John Resig was blamed by Java Library project owners for copying its name from a Java SQL library! Resig apologised, and jQuery stands as it was.

Creative Commons License

Though the Creative Commons license enables the free sharing of copyrighted resources, it mainly aims at works of creativity such as stock photos and UI kits. Open source coding doesn’t sit well with a CC license, and though John Resig had a variety of licenses like MIT and GPL to choose from, he still went for the Creative Commons license. jQuery soon shifted to the MIT license, shaking off the CC license, with John Resig dismissing it as a choice not well made. This was surely one of most amusing jQuery facts you would feel!

Inspired by other projects

Yet another of amusing jQuery facts is that, according to Resig, it was designed keeping in view the models of various other open source projects, such as Prototype JavaScript Framework, X-Path, Behaviour.js and moo.fx. The only active one among them at present is the Prototype framework, while the others are not developed any more. Though inspired by these models, jQuery didn’t meet their fate, as it stands tall while they are nowhere in the scene.

jQuery debuted in New York City

Top Amusing jQuery Facts

jQuery made its public debut on the 14th of January, 2006 at the BarCamp technology conference in New York City. BarCamp generally addresses Web technologies as well as open source technologies.

jQuery without VCS

An open source application today would always need a Version Control System, such as GIT. Still, John Resig didn’t use one while he developed the first source code of jQuery. A Version Control System can be viewed as a sink of files with monitored access to it. The use of VCSs wasn’t prevalent at that time, and John decided to go with the flow. At present, jQuery uses SVN as its Version Control System.

On the designing front, there are still some amusing jQuery facts that might not be well known to the users. To create an element, one had to write the traditional DOM “createElement”. This has been made easier in jQuery, by the use of the $(“<li/>”); tag, thus enhancing its usage simplicity.

Also, jQuery enhances insertion techniques through Document Fragment. A Document Fragment can be considered to be a container holding some of the DOM nodes. Nodes represent single items on a tree – it may be an Attribute or an Entity. JQuery simplifies and enhances the performance of insertion by storing the nodes for processing, and thus enabling the insertion of content at the end of each node, by just specifying the parameters. One of the amusing jQuery facts that the coders would surely love to know!

jQuery also allows its users to give namespaces to data, scoping it to a plug-in or any other name which may matter. This important property of jQuery enables the users to avoid clashes with other code pieces having the same data name, and also helps them in using their get/set values.

jQuery also natively supports jSONP, which means jSON with padding. This enables its users to create and send cross-domain Ajax requests, though this requires the domain requested to have a jSONP API so as to wrap the JSON with a call-back function.

jQuery, being the most used JavaScript library, has stood up to its motto of writing less and doing more. JQuery enhances event handling and enables rapid web development. This simple, open source and light weight library is sure to scale new heights in the near future.

by

Arijit

23 Dec 2015, 08:14 am

about the author

An ardent soccer-lover, he also loves to pen down on different social and current events. His flair for creative writing opens him to various kinds of subjects. One of his favorite leisure activities is listening to music from all genres.

About Arijit
Comment with Facebook

trending

Featured Posts

Editors Choice

Reviews