jQuery is lightweight, client side script JavaScript library file that supports all browsers. it is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development, also 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 reasons.
- Cross Browser Compatibility.
- Fast but micro Framework.The jQuery core library minified is only about 24KB in size, so it is very easy to include in any application and 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.
No comments:
Post a Comment