Saturday 30 May, 2009

Ajax with JQuery - An Introduction with jQuery

Ajax with JQuery - An Introduction with jQuery

jQuery is a well-known and famous lightweight, fast and concise JavaScript Library. jQuery simplifies various task for us like HTML document traversing, event handling, animating, and Ajax interactions for rapid web development. jQuery is great library to reduce our JavaScript coding so they quote "jQuery: The Write Less, Do More".

jQuery was released on January 2006 at BarCamp NYC by John Resig under the MIT License and the GNU General Public License, jQuery is free and open source software. jQuery is very versatile and easy to use, provides great flexibility in designing and development. Considering such great features of jQuery both Microsoft (jQuery will be distributed with Visual Studio) and Nokia (jQuery to develop applications for their WebKit-based Web Run-Time) are taking the major step of adopting jQuery as part of their official application development platform.

You can download the lattest version from jQuery's official homepagehttp://jquery.com/ . There are two version of jQuery available for download freely. For the Production point of view minified version which is in compressed form and Development point of view Uncompressed Code form.

Is jQuery faster than JavaScript?

jQuery is framework and JavaScript is a client side scripting language. jQuery is written in JavaScript and therefore cannot be "faster" than JavaScript. However, jQuery certainly makes your code much more elegant and sophisticated. jQuery provides functionality to deal pretty with CSS, DOM to select a set of desired elements and apply any functionality to it. If you are curious about how jQuery does this and eager to learn it, we are going to see the working of jQuery in future articles.

jQuery or JavaScript?

jQuery is compact and light weight. It also helps to reduce length of your code. We are able to add lots of effect like transition, animation and Simplify common JavaScript tasks, Modify the appearance of a page with Galleries, slideshows, News rotator, sliders and many more. So I like to suggest using jQuery will be better as compare to JavaScript. As jQuery is framework written in JavaScript means in other word you are going to use JavaScript but in the form of jQuery.

Which Framework should I Use?

You are free to use any framework you like. There is a debate in the Web Developer communities; Which framework is better, and to choose for your own projects

Can I use jQuery with other library?

The jQuery library, and virtually all of its plugins are constrained within the jQuery namespace. jQuery uses "$" as a shortcut for "jQuery". Using "$" can override and may cause issues but you can solve it by calling jQuery.noConflict(), so you shouldn't get a clash between jQuery and any other library like Prototype, MooTools, or YUI.


No comments:

Post a Comment