What is jQuery & its significance? Why it is so popular JQuerry?


jQuery is lightweight, client side script JavaScript library file that supports all browsers.Query is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development. jQuery makes it easy to play with the DOM, add effects, and execute Ajax requests.
This helps developer to reduce lines of code while he program. For example huge code written in Java Script, can be done easily with JQuery in one or two lines as it uses pre compiled JavaScript library internally. For example To find a Div that have class xxx we can do this using custom JavaScript by looping through all DOM elements, Find Div element write if statement checking the class then write the code to manipulate cross browser.  But this can be achieved using jQuery with 2 lines of code. jQuery is a fun library to use and play.
It is so popular due to the below 10 reasons.
Cross Browser Compatibility.
Fast but micro Famework.The jQuery core library minified is only about 24KB in size, so it is very easily to include in any application and it is pretty fast as well.
Easy to learn and flexible.
It is well documented.
Reuse of plug-ins across projects .These plug ins are extendable.
Latest CSS Complaint.
Microsoft, which now includes jQuery with its MVC framework and integrated to VS2010 with intellisense support .
IBM, Netflix use jQuery. Nokia have adopted it. Google uses and hosts the jQuery library.
Easy to find support since there is a large development community and variety of plug-ins.
DOM manipulation with querying and chaining is Wonderful & Robust. It is simple, concise and clear enough.
Hence jQuery is definitely faster, easier and more productive than previous traditional JavaScript that we use, hence its so popular.
Now the Client side development is fun using jQuery Agree or not ??
Continue to Explain how jQuery works?

0 comments:

Post a Comment